]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Cache the host port like we cache the task port
[thirdparty/glibc.git] / ChangeLog
1 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
2
3 Cache the host port like we cache the task port. This way we do not
4 need to call the kernel just to get the port. Furthermore, we no
5 longer increase the reference count on every invocation of
6 `mach_host_self'.
7
8 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9 Protect declarations against the macro expansion.
10 * mach/mach_init.c (__mach_host_self_): New variable.
11 (mach_init): Initialize `__mach_host_self_'.
12 * mach/mach_init.h (__mach_host_self_): New declaration.
13 (__mach_host_self, mach_host_self): New macros.
14 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15 Release reference.
16
17 2015-09-16 Joseph Myers <joseph@codesourcery.com>
18
19 [BZ #4404]
20 * po/de.po: Update from Translation Project.
21
22 [BZ #16415]
23 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24 (__expm1l): Remove code to handle positive infinity and overflow.
25 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
26 variable.
27 (__expm1l): Remove code to handle positive infinity and overflow.
28
29 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
30 Paul Pluzhnikov <ppluzhnikov@google.com>
31
32 [BZ #18872]
33 * stdio-common/Makefile (tst-printf-bz18872): New test.
34 (tst-printf-bz18872-mem.out): Likewise.
35 * stdio-common/tst-printf-bz18872.sh: Generate new test.
36 * stdio-common/vfprintf.c: Fix memory leaks.
37
38 2015-09-16 Andreas Schwab <schwab@suse.de>
39
40 [BZ #17244]
41 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
42 Remove extra va_start/va_end calls.
43
44 [BZ #17243]
45 * posix/execl.c (execl): Add missing va_end.
46 * posix/execle.c (execle): Likewise.
47 * posix/execlp.c (execlp): Likewise.
48
49 2015-09-15 Roland McGrath <roland@hack.frob.com>
50
51 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
52 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
53
54 2015-09-15 Joseph Myers <joseph@codesourcery.com>
55
56 [BZ #18967]
57 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
58 undefine around includes of <bits/mathcalls.h>.
59 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
60 not declare function.
61 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
62 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
63 (scalb): Likewise.
64 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
65 not define macro.
66 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
67 variable.
68 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
69 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
70 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
71
72 [BZ #18857]
73 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
74 return non-finite argument without doing ordered comparisons on
75 it.
76
77 [BZ #16296]
78 * math/fenv.h (fegetround): Use __attribute_pure__.
79 * include/fenv.h (__fegetround): Likewise.
80
81 [BZ #18595]
82 * math/s_ctan.c (__ctan): Force underflow exception for results
83 whose real or imaginary part has small absolute value.
84 * math/s_ctanf.c (__ctanf): Likewise.
85 * math/s_ctanh.c (__ctanh): Likewise.
86 * math/s_ctanhf.c (__ctanhf): Likewise.
87 * math/s_ctanhl.c (__ctanhl): Likewise.
88 * math/s_ctanl.c (__ctanl): Likewise.
89 * math/auto-libm-test-in: Do not allow missing underflow for ctan
90 and ctanh. Add more tests of ctan and ctanh.
91
92 [BZ #15918]
93 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
94 handling of cases where one argument is an infinity.
95
96 [BZ #18875]
97 [BZ #18966]
98 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
99 (MO): New macro.
100 (__ieee754_exp10): For small results, force underflow exception
101 and remove excess range and precision from return value.
102 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
103 (MO): New macro.
104 (__ieee754_exp10f): For small results, force underflow exception
105 and remove excess range and precision from return value.
106 * math/auto-libm-test-in: Add more tests of exp10.
107 * math/auto-libm-test-out: Regenerated.
108
109 2015-09-14 Joseph Myers <joseph@codesourcery.com>
110
111 [BZ #18875]
112 [BZ #18961]
113 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
114 (MO): New macro.
115 (__ieee754_exp): For small results, force underflow exception and
116 remove excess range and precision from return value.
117 (__exp_finite): Likewise.
118 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
119 (MO): New macro.
120 (__ieee754_expf): For small results, force underflow exception and
121 remove excess range and precision from return value.
122 (__expf_finite): Likewise.
123 * math/auto-libm-test-in: Add more tests of exp.
124 * math/auto-libm-test-out: Regenerated.
125
126 [BZ #16521]
127 [BZ #18875]
128 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
129 small results.
130 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
131 (MO): New macro.
132 (__ieee754_exp2): For small results, force underflow exception and
133 remove excess range and precision from return value.
134 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
135 (MO): New macro.
136 (__ieee754_exp2f): For small results, force underflow exception
137 and remove excess range and precision from return value.
138 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
139 (MO): New macro.
140 (__ieee754_exp2l): Force underflow exception for small results.
141 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
142 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
143 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
144 (MO): New macro.
145 (__ieee754_exp2l): Force underflow exception for small results.
146 * math/auto-libm-test-in: Add more tests or exp2.
147 * math/auto-libm-test-out: Regenerated.
148
149 2015-09-14 Carlos O'Donell <carlos@redhat.com>
150
151 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
152
153 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
154 /dev/null.
155
156 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
157
158 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
159 io fs process)): Drop spurious backslash.
160
161 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
162
163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
164 Use sysinfo system call instead of parsing /proc/meminfo.
165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
166 Likewise.
167
168 2015-09-11 Mike Frysinger <vapier@gentoo.org>
169
170 [BZ #16985]
171 * programs/localedef.c (main): Display argv[remaining] when
172 output_path is NULL.
173
174 2015-09-11 Joseph Myers <joseph@codesourcery.com>
175
176 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
177 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
178 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
179 tanh.
180 * math/auto-libm-test-out: Regenerated.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
183 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185
186 2015-09-11 Roland McGrath <roland@hack.frob.com>
187
188 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
189 Use 'override' keyword to freeze the value here, preventing
190 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
191
192 2015-09-11 Joseph Myers <joseph@codesourcery.com>
193
194 [BZ #14912]
195 * sysdeps/aarch64/bits/atomic.h: Move to ...
196 * sysdeps/aarch64/atomic-machine.h: ...here.
197 (_AARCH64_BITS_ATOMIC_H): Rename macro to
198 _AARCH64_ATOMIC_MACHINE_H.
199 * sysdeps/alpha/bits/atomic.h: Move to ...
200 * sysdeps/alpha/atomic-machine.h: ...here.
201 * sysdeps/arm/bits/atomic.h: Move to ...
202 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
203 * bits/atomic.h: Move to ...
204 * sysdeps/generic/atomic-machine.h: ...here.
205 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
206 * sysdeps/i386/bits/atomic.h: Move to ...
207 * sysdeps/i386/atomic-machine.h: ...here.
208 * sysdeps/ia64/bits/atomic.h: Move to ...
209 * sysdeps/ia64/atomic-machine.h: ...here.
210 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
211 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
212 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
213 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
214 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
215 * sysdeps/microblaze/bits/atomic.h: Move to ...
216 * sysdeps/microblaze/atomic-machine.h: ...here.
217 * sysdeps/mips/bits/atomic.h: Move to ...
218 * sysdeps/mips/atomic-machine.h: ...here.
219 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
220 * sysdeps/powerpc/bits/atomic.h: Move to ...
221 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
222 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
223 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
224 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
225 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
226 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
227 <atomic-machine.h> instead of <bits/atomic.h>.
228 * sysdeps/s390/bits/atomic.h: Move to ...
229 * sysdeps/s390/atomic-machine.h: ...here.
230 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
231 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
232 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
233 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
234 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
235 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
236 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
237 * sysdeps/tile/bits/atomic.h: Move to ...
238 * sysdeps/tile/atomic-machine.h: ...here.
239 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
240 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
241 <sysdeps/tile/atomic-machine.h> instead of
242 <sysdeps/tile/bits/atomic.h>.
243 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
244 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
245 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
246 <sysdeps/tile/atomic-machine.h> instead of
247 <sysdeps/tile/bits/atomic.h>.
248 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
249 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
250 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
251 <sysdeps/arm/atomic-machine.h> instead of
252 <sysdeps/arm/bits/atomic.h>.
253 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
254 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
255 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
256 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
257 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
258 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
259 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
260 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
261 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
262 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
263 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
264 * sysdeps/x86_64/bits/atomic.h: Move to ...
265 * sysdeps/x86_64/atomic-machine.h: ...here.
266 * include/atomic.h: Include <atomic-machine.h> instead of
267 <bits/atomic.h>.
268
269 * sysdeps/mips/mips32/libm-test-ulps: Update.
270 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
271
272 [BZ #18952]
273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
274 not convert non-integer negative arguments to int to determine the
275 value of signgam.
276 * math/auto-libm-test-in: Add more tests of lgamma.
277 * math/auto-libm-test-out: Regenerated.
278
279 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
280 cosh, csqrt, erfc, expm1 and lgamma.
281 * math/auto-libm-test-out: Regenerated.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284
285 2015-09-10 Joseph Myers <joseph@codesourcery.com>
286
287 [BZ #2542]
288 [BZ #2543]
289 [BZ #2558]
290 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
291 __lgamma_neg for arguments from -28.0 to -2.0.
292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
293 __lgamma_negf for arguments from -15.0 to -2.0.
294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
295 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
297 Call __lgamma_negl for arguments from -33.0 to -2.0.
298 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
299 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
300 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
301 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
302 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
303 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
305 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
306 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
309 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
310 (__lgamma_neg): Likewise.
311 (__lgamma_negl): Likewise.
312 (__lgamma_product): Likewise.
313 (__lgamma_productl): Likewise.
314 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
315 * math/auto-libm-test-in: Add more tests of lgamma.
316 * math/auto-libm-test-out: Regenerated.
317 * sysdeps/i386/fpu/libm-test-ulps: Update.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319
320 2015-09-09 Justin Maggard <jmaggard@netgear.com>
321
322 [BZ #18675]
323 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
324
325 2015-09-08 Joseph Myers <joseph@codesourcery.com>
326
327 [BZ #14912]
328 * bits/libc-lock.h: Move to ...
329 * sysdeps/generic/libc-lock.h: ...here.
330 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
331 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
332 * sysdeps/mach/hurd/libc-lock.h: ...here.
333 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
334 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
335 * sysdeps/mach/bits/libc-lock.h: Move to ...
336 * sysdeps/mach/libc-lock.h: ...here.
337 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
338 * sysdeps/nptl/bits/libc-lock.h: Move to ...
339 * sysdeps/nptl/libc-lock.h: ...here.
340 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
341 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
342 * sysdeps/nptl/libc-lockP.h: ...here.
343 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
344 * crypt/crypt_util.c: Include <libc-lock.h> instead of
345 <bits/libc-lock.h>.
346 * dirent/scandir-tail.c: Likewise.
347 * dlfcn/dlerror.c: Likewise.
348 * elf/dl-close.c: Likewise.
349 * elf/dl-iteratephdr.c: Likewise.
350 * elf/dl-lookup.c: Likewise.
351 * elf/dl-open.c: Likewise.
352 * elf/dl-support.c: Likewise.
353 * elf/dl-writev.h: Likewise.
354 * elf/rtld.c: Likewise.
355 * grp/fgetgrent.c: Likewise.
356 * gshadow/fgetsgent.c: Likewise.
357 * gshadow/sgetsgent.c: Likewise.
358 * iconv/gconv_conf.c: Likewise.
359 * iconv/gconv_db.c: Likewise.
360 * iconv/gconv_dl.c: Likewise.
361 * iconv/gconv_int.h: Likewise.
362 * iconv/gconv_trans.c: Likewise.
363 * include/link.h: Likewise.
364 * inet/getnameinfo.c: Likewise.
365 * inet/getnetgrent.c: Likewise.
366 * inet/getnetgrent_r.c: Likewise.
367 * intl/bindtextdom.c: Likewise.
368 * intl/dcigettext.c: Likewise.
369 * intl/finddomain.c: Likewise.
370 * intl/gettextP.h: Likewise.
371 * intl/loadmsgcat.c: Likewise.
372 * intl/localealias.c: Likewise.
373 * intl/textdomain.c: Likewise.
374 * libidn/idn-stub.c: Likewise.
375 * libio/libioP.h: Likewise.
376 * locale/duplocale.c: Likewise.
377 * locale/freelocale.c: Likewise.
378 * locale/newlocale.c: Likewise.
379 * locale/setlocale.c: Likewise.
380 * login/getutent_r.c: Likewise.
381 * login/getutid_r.c: Likewise.
382 * login/getutline_r.c: Likewise.
383 * login/utmp-private.h: Likewise.
384 * login/utmpname.c: Likewise.
385 * malloc/mtrace.c: Likewise.
386 * misc/efgcvt.c: Likewise.
387 * misc/error.c: Likewise.
388 * misc/fstab.c: Likewise.
389 * misc/getpass.c: Likewise.
390 * misc/mntent.c: Likewise.
391 * misc/syslog.c: Likewise.
392 * nis/nis_call.c: Likewise.
393 * nis/nis_callback.c: Likewise.
394 * nis/nss-default.c: Likewise.
395 * nis/nss_compat/compat-grp.c: Likewise.
396 * nis/nss_compat/compat-initgroups.c: Likewise.
397 * nis/nss_compat/compat-pwd.c: Likewise.
398 * nis/nss_compat/compat-spwd.c: Likewise.
399 * nis/nss_nis/nis-alias.c: Likewise.
400 * nis/nss_nis/nis-ethers.c: Likewise.
401 * nis/nss_nis/nis-grp.c: Likewise.
402 * nis/nss_nis/nis-hosts.c: Likewise.
403 * nis/nss_nis/nis-network.c: Likewise.
404 * nis/nss_nis/nis-proto.c: Likewise.
405 * nis/nss_nis/nis-pwd.c: Likewise.
406 * nis/nss_nis/nis-rpc.c: Likewise.
407 * nis/nss_nis/nis-service.c: Likewise.
408 * nis/nss_nis/nis-spwd.c: Likewise.
409 * nis/nss_nisplus/nisplus-alias.c: Likewise.
410 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
411 * nis/nss_nisplus/nisplus-grp.c: Likewise.
412 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
413 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
414 * nis/nss_nisplus/nisplus-network.c: Likewise.
415 * nis/nss_nisplus/nisplus-proto.c: Likewise.
416 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
417 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
418 * nis/nss_nisplus/nisplus-service.c: Likewise.
419 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
420 * nis/ypclnt.c: Likewise.
421 * nptl/libc_pthread_init.c: Likewise.
422 * nss/getXXbyYY.c: Likewise.
423 * nss/getXXent.c: Likewise.
424 * nss/getXXent_r.c: Likewise.
425 * nss/nss_db/db-XXX.c: Likewise.
426 * nss/nss_db/db-netgrp.c: Likewise.
427 * nss/nss_db/nss_db.h: Likewise.
428 * nss/nss_files/files-XXX.c: Likewise.
429 * nss/nss_files/files-alias.c: Likewise.
430 * nss/nsswitch.c: Likewise.
431 * posix/regex_internal.h: Likewise.
432 * posix/wordexp.c: Likewise.
433 * pwd/fgetpwent.c: Likewise.
434 * resolv/res_hconf.c: Likewise.
435 * resolv/res_libc.c: Likewise.
436 * shadow/fgetspent.c: Likewise.
437 * shadow/lckpwdf.c: Likewise.
438 * shadow/sgetspent.c: Likewise.
439 * socket/opensock.c: Likewise.
440 * stdio-common/reg-modifier.c: Likewise.
441 * stdio-common/reg-printf.c: Likewise.
442 * stdio-common/reg-type.c: Likewise.
443 * stdio-common/vfprintf.c: Likewise.
444 * stdio-common/vfscanf.c: Likewise.
445 * stdlib/abort.c: Likewise.
446 * stdlib/cxa_atexit.c: Likewise.
447 * stdlib/fmtmsg.c: Likewise.
448 * stdlib/random.c: Likewise.
449 * stdlib/setenv.c: Likewise.
450 * string/strsignal.c: Likewise.
451 * sunrpc/auth_none.c: Likewise.
452 * sunrpc/bindrsvprt.c: Likewise.
453 * sunrpc/create_xid.c: Likewise.
454 * sunrpc/key_call.c: Likewise.
455 * sunrpc/rpc_thread.c: Likewise.
456 * sysdeps/arm/backtrace.c: Likewise.
457 * sysdeps/generic/ldsodefs.h: Likewise.
458 * sysdeps/generic/stdio-lock.h: Likewise.
459 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
460 * sysdeps/i386/backtrace.c: Likewise.
461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
462 * sysdeps/m68k/backtrace.c: Likewise.
463 * sysdeps/mach/hurd/cthreads.c: Likewise.
464 * sysdeps/mach/hurd/dirstream.h: Likewise.
465 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
466 * sysdeps/nptl/malloc-machine.h: Likewise.
467 * sysdeps/nptl/stdio-lock.h: Likewise.
468 * sysdeps/posix/dirstream.h: Likewise.
469 * sysdeps/posix/getaddrinfo.c: Likewise.
470 * sysdeps/posix/system.c: Likewise.
471 * sysdeps/pthread/aio_suspend.c: Likewise.
472 * sysdeps/s390/s390-32/backtrace.c: Likewise.
473 * sysdeps/s390/s390-64/backtrace.c: Likewise.
474 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
475 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
476 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
478 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
479 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
480 * sysdeps/unix/sysv/linux/system.c: Likewise.
481 * sysdeps/x86_64/backtrace.c: Likewise.
482 * time/alt_digit.c: Likewise.
483 * time/era.c: Likewise.
484 * time/tzset.c: Likewise.
485 * wcsmbs/wcsmbsload.c: Likewise.
486 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
487 instead of <bits/libc-lock.h> in comment.
488
489 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
490
491 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
492 Only use .set mips2 if the current ISA is below mips2.
493 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
494 Likewise.
495 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
496 mips32r2 if the current ISA is below mips32r2.
497 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
498 (TLS_IE): Updated to use the TLD_RDHWR macro.
499 (TLS_LE): Likewise.
500 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
501 __ASSEMBLER__ condition.
502
503 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
504
505 Fix parallel build of before-compile targets.
506
507 * sysdeps/mach/Makefile ($(patsubst
508 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
509 mach-before-compile target.
510 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
511 io fs process)): Move rule to dedicated hurd-before-compile target.
512
513 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
514
515 Fix rules generating headers in hurd/ and mach/ when initial make call
516 has subdir= explicitly set.
517
518 * sysdeps/mach/Makefile ($(patsubst
519 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
520 calling $(MAKE).
521 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
522 io fs process)): Force subdir to hurd when calling $(MAKE).
523 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
524 subdir to mach when calling $(MAKE).
525
526 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
527
528 Check sysheaders when looking for Mach and Hurd headers
529
530 * sysdeps/mach/configure.ac: Add sysheaders check.
531 * sysdeps/mach/configure: Regenerate.
532 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
533 * sysdeps/mach/hurd/configure: Regenerate.
534
535 2015-09-04 Roland McGrath <roland@hack.frob.com>
536
537 [BZ #18921]
538 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
539 Fix inverted sense of test of 'o_directory_works' value.
540 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
541 Bernhard Voelker <mail@bernhard-voelker.de>.
542
543 2015-09-04 Joseph Myers <joseph@codesourcery.com>
544
545 [BZ #14912]
546 * bits/linkmap.h: Move to ...
547 * sysdeps/generic/linkmap.h: ...here.
548 * sysdeps/aarch64/bits/linkmap.h: Move to ...
549 * sysdeps/aarch64/linkmap.h: ...here.
550 * sysdeps/arm/bits/linkmap.h: Move to ...
551 * sysdeps/arm/linkmap.h: ...here.
552 * sysdeps/hppa/bits/linkmap.h: Move to ...
553 * sysdeps/hppa/linkmap.h: ...here.
554 * sysdeps/ia64/bits/linkmap.h: Move to ...
555 * sysdeps/ia64/linkmap.h: ...here.
556 * sysdeps/mips/bits/linkmap.h: Move to ...
557 * sysdeps/mips/linkmap.h: ...here.
558 * sysdeps/s390/bits/linkmap.h: Move to ...
559 * sysdeps/s390/linkmap.h: ...here.
560 * sysdeps/sh/bits/linkmap.h: Move to ...
561 * sysdeps/sh/linkmap.h: ...here.
562 * sysdeps/x86/bits/linkmap.h: Move to ...
563 * sysdeps/x86/linkmap.h: ...here.
564 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
565
566 2015-09-04 Andreas Schwab <schwab@suse.de>
567
568 [BZ #18635]
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
570 (__makecontext): Terminate FDE before return label.
571 (__novec_makecontext): Likewise.
572
573 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
574
575 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
576 first member of struct sv in syscall macro.
577
578 2015-09-04 Joseph Myers <joseph@codesourcery.com>
579
580 [BZ #14912]
581 * bits/stdio-lock.h: Move to ...
582 * sysdeps/generic/stdio-lock.h: ...here.
583 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
584 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
585 * sysdeps/nptl/stdio-lock.h: ...here.
586 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
587 * include/libio.h: Include <stdio-lock.h> instead of
588 <bits/stdio-lock.h>.
589 * sysdeps/nptl/fork.c: Likewise.
590 * sysdeps/pthread/flockfile.c: Likewise.
591 * sysdeps/pthread/ftrylockfile.c: Likewise.
592 * sysdeps/pthread/funlockfile.c: Likewise.
593
594 [BZ #14912]
595 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
596 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
597 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
598 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
599 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
600 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
601 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
602
603 2015-09-03 Roland McGrath <roland@hack.frob.com>
604
605 * elf/Makefile (test-xfail-tst-protected1a): New variable.
606 (test-xfail-tst-protected1b): New variable.
607
608 2015-09-03 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #14912]
611 * bits/libc-tsd.h: Move to ...
612 * sysdeps/generic/libc-tsd.h: ...here.
613 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
614 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
615 * sysdeps/mach/hurd/libc-tsd.h: ...here.
616 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
617 * include/ctype.h: Include <libc-tsd.h> instead of
618 <bits/libc-tsd.h>.
619 * include/rpc/rpc.h: Likewise.
620 * locale/localeinfo.h: Likewise.
621 * sunrpc/rpc_thread.c: Likewise.
622 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
623 * sysdeps/nptl/malloc-machine.h: Likewise.
624
625 * Makefile (headers): Remove bits/libc-lock.h.
626 * libio/Makefile (headers): Remove bits/stdio-lock.h.
627
628 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
629 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
630 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
631 <bits/stdio-lock.h>.
632 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
633 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
634
635 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
636
637 [BZ #18757]
638 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
639 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
640 BZ #18757.
641
642 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
643
644 * malloc/mtrace.pl: Filter out NULL entries.
645
646 2015-09-01 Joseph Myers <joseph@codesourcery.com>
647
648 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
649 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
650 macro.
651
652 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
653 (TCP_CC_INFO): Likewise.
654 (TCP_SAVE_SYN): Likewise.
655 (TCP_SAVED_SYN): Likewise.
656
657 2015-08-31 Brett Neumeier <brett@neumeier.us>
658
659 [BZ #18870]
660 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
661
662 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
663
664 [BZ #18873]
665 Fix broken overflow check in posix_fallocate
666 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
667 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
668 Fix parenthesization typo.
669
670 2015-08-28 Mike Frysinger <vapier@gentoo.org>
671
672 [BZ #18887]
673 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
674 tst-mntent-blank-passno.
675 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
676 * misc/tst-mntent-blank-corrupt.c: New test.
677 * misc/tst-mntent-blank-passno.c: New test ripped from ...
678 * misc/tst-mntent.c (do_test): ... here.
679
680 2015-08-29 Mike Frysinger <vapier@gentoo.org>
681
682 [BZ #4404]
683 * po/de.po: Fix SIGALRM typo.
684
685 2015-08-28 James Perkins <james@loowit.net>
686
687 * time/tst-strptime2.c (tests): Replace short list of test
688 strings for strptime %z specifier with code which exhaustively
689 tests every combination of sign and 0 to 5 digits. Tests for
690 rejection of invalid strings.
691
692 2015-08-28 James Perkins <james@loowit.net>
693
694 [BZ #16141]
695 * time/strptime_l.c (__strptime_internal): Fix %z minutes
696 calculation, removing incorrect decimal time rounding, so that
697 all minute values result in a valid seconds value.
698 * time/strptime_l.c (__strptime_internal): Extend %z time zone
699 offset range limits to UTC-99:59 through UTC+99:59 to parse
700 current and historical use cases.
701 * time/tst-strptime2.c (tests): Modify and add tests for the
702 strptime %z input field descriptor, specifically conversion of
703 minutes to seconds and validating an offset range of -9959 to
704 +9959.
705
706 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
707 Dmitry V. Levin <ldv@altlinux.org>
708
709 [BZ #18877]
710 * posix/Makefile (tests): Add tst-mmap-offset.
711 * posix/tst-mmap.c: New file.
712 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
713 offset calculation for negative values.
714
715 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
716
717 * sysdeps/i386/init-arch.h: New file.
718 * sysdeps/i386/i586/init-arch.h: Likewise.
719 * sysdeps/i386/i686/init-arch.h: Likewise.
720 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
721 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
722 * sysdeps/x86/cpu-features.h (bit_I586): New.
723 (bit_I686): Likewise.
724 (bit_CX8): Likewise.
725 (bit_CMOV): Likewise.
726 (index_CX8): Likewise.
727 (index_CMOV): Likewise.
728 (index_I586): Likewise.
729 (index_I686): Likewise.
730 (reg_CX8): Likewise.
731 (reg_CMOV): Likewise.
732 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
733 available at compile-time.
734 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
735 available at compile-time.
736 * sysdeps/x86/init-arch.h (USE_I586): New macro.
737 (USE_I686): Likewise.
738
739 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
740
741 * sysdeps/i386/bcopy.S: New file.
742 * sysdeps/i386/bzero.S: Likewise.
743 * sysdeps/i386/memcpy.S: Likewise.
744 * sysdeps/i386/memmove.S: Likewise.
745 * sysdeps/i386/mempcpy.S: Likewise.
746 * sysdeps/i386/memset.S: Likewise.
747 * sysdeps/i386/bzero.c: Removed.
748 * sysdeps/i386/memset.c: Likewise.
749 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
750 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
751 * sysdeps/i386/i586/memset_chk.S: Likewise.
752 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
753 * sysdeps/i386/memcpy_chk.S: Here.
754 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
755 * sysdeps/i386/memmove_chk.S: Here.
756 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
757 * sysdeps/i386/mempcpy_chk.S: Likewise.
758 * sysdeps/i386/i686/memset_chk.S: Moved to ...
759 * sysdeps/i386/memset_chk.S: Likewise.
760
761 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
762
763 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
764 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
765 file, move DIAG_POP_NEEDS_COMMENT to end of file.
766 * soft-fp/fmadf4.c: Ditto.
767 * soft-fp/fmatf4.c: Ditto.
768
769 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
770
771 * sysdeps/i386/i586/Implies: Removed.
772 * sysdeps/i386/i686/Implies: Likewise.
773
774 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
775
776 * sysdeps/i386/i486/strlen.S: Moved to ...
777 * sysdeps/i386/strlen.S: Here.
778
779 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
780
781 * sysdeps/i386/i486/strcat.S: Moved to ...
782 * sysdeps/i386/strcat.S: Here.
783
784 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
785
786 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
787 * sysdeps/i386/pthread_spin_trylock.S: Here.
788 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
789 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
790
791 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
792
793 * sysdeps/i386/i486/string-inlines.c: Moved to ...
794 * sysdeps/i386/string-inlines.c: Here.
795
796 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/i386/i486/htonl.S: Moved ...
799 * sysdeps/i386/htonl.S: here.
800
801 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
802
803 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
804 * sysdeps/i386/bits/atomic.h: Here.
805
806 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
807
808 * sysdeps/i386/i486/Versions: Removed.
809
810 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
811
812 [BZ #2898]
813 * misc/mktemp.c: Add mkdtemp to the link_warning message.
814 Based on patch by Aurelien Jarno.
815
816 2015-08-26 Stan Shebs <stanshebs@google.com>
817
818 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
819 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
820
821 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
822
823 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
824 * sysdeps/powerpc/dl-procinfo.c:
825 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
826 feature so it shows when LD_SHOW_AUXV=1.
827
828 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
829
830 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
831 (__arch_compare_and_exchange_val_32_acq): Remove and use common
832 definition. ISA 2.07B no longer requires full sync.
833
834 2015-08-26 Mike Frysinger <vapier@gentoo.org>
835
836 [BZ #18863]
837 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
838 (si_call_addr): Define.
839 (si_syscall): Define.
840 (si_arch): Define.
841
842 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
843
844 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
845 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
846 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
847 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
848 (__memset_zero_constant_len_parameter): New.
849 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
850 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
851 (__memset_zero_constant_len_parameter): Don't define if
852 __memset_chk or USE_AS_BZERO are defined.
853
854 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
855 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
856 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
857
858 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
859 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
860 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
861 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
862 comments.
863 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
864 -mno-mmx for $(all-rtld-routines).
865 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
866 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
867 i386.
868
869 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
870
871 * sysdeps/generic/unwind.h
872 (_Unwind_Word): Use __mode__(__unwind_word__)
873 instead of __mode__(__word__).
874 (_Unwind_Sword): Likewise.
875
876 * sysdeps/s390/s390-64/utf8-utf16-z9.c
877 (MAX_NEEDED_INPUT): New define.
878 (MAX_NEEDED_OUTPUT): New define.
879
880 * NEWS: New item for IBM z13 string optimizations.
881
882 * sysdeps/s390/multiarch/memrchr-c.c: New File.
883 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
884 * sysdeps/s390/multiarch/memrchr.c: Likewise.
885 * sysdeps/s390/multiarch/Makefile
886 (sysdep_routines): Add memrchr functions.
887 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
888 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
889
890 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
891 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
892 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
893 * sysdeps/s390/multiarch/Makefile
894 (sysdep_routines): Add wmemcmp functions.
895 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
896 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
897 * benchtests/bench-wmemcmp.c: New File.
898 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
899
900 * sysdeps/s390/multiarch/wmemset-c.c: New File.
901 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
902 * sysdeps/s390/multiarch/wmemset.c: Likewise.
903 * sysdeps/s390/multiarch/Makefile
904 (sysdep_routines): Add wmemset functions.
905 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
906 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
907 * wcsmbs/wmemset.c: Use WMEMSET if defined.
908 * string/test-memset.c: Add wmemset support.
909 * wcsmbs/test-wmemset.c: New File.
910 * wcsmbs/Makefile (strop-tests): Add wmemset.
911 * benchtests/bench-memset.c: Add wmemset support.
912 * benchtests/bench-wmemset.c: New File.
913 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
914
915 * sysdeps/s390/multiarch/memccpy-c.c: New File.
916 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
917 * sysdeps/s390/multiarch/memccpy.c: Likewise.
918 * sysdeps/s390/multiarch/Makefile
919 (sysdep_routines): Add memccpy functions.
920 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
921 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
922 * string/memccpy.c: Use MEMCCPY if defined.
923
924 * sysdeps/s390/multiarch/memchr-vx.S: New File.
925 * sysdeps/s390/multiarch/memchr.c: Likewise.
926 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
927 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
928 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
929 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
930 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
931 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
932 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
933 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
934 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
935 and rawmemchr functions.
936 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
937 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
938 and wmemchr.
939 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
940 * string/test-memchr.c: Add wmemchr support.
941 * wcsmbs/test-wmemchr.c: New File.
942 * wcsmbs/Makefile (strop-tests): Add wmemchr.
943 * benchtests/bench-memchr.c: Add wmemchr support.
944 * benchtests/bench-wmemchr.c: New File.
945 * benchtests/Makefile (wcsmbs-bench): wmemchr.
946
947 * sysdeps/s390/multiarch/strcspn-c.c: New File.
948 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
949 * sysdeps/s390/multiarch/strcspn.c: Likewise.
950 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
951 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
952 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
953 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
954 wcscspn functions.
955 * sysdeps/s390/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
957 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
958 * string/test-strcspn.c: Add wcscspn support.
959 * wcsmbs/test-wcscspn.c: New File.
960 * wcsmbs/Makefile (strop-tests): Add wcscspn.
961 * benchtests/bench-strcspn.c: Add wcscspn support.
962 * benchtests/bench-wcscspn.c: New File.
963 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
964
965 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
966 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
967 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
968 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
969 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
970 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
971 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
972 wcspbrk functions.
973 * sysdeps/s390/multiarch/ifunc-impl-list.c
974 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
975 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
976 * string/test-strpbrk.c: Add wcspbrk support.
977 * wcsmbs/test-wcspbrk.c: New File.
978 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
979 * benchtests/bench-strpbrk.c: Add wcspbrk support.
980 * benchtests/bench-wcspbrk.c: New File.
981 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
982
983 * sysdeps/s390/multiarch/strspn-c.c: New File.
984 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
985 * sysdeps/s390/multiarch/strspn.c: Likewise.
986 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
987 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
988 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
989 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
990 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
991 wcsspn functions.
992 * sysdeps/s390/multiarch/ifunc-impl-list.c
993 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
994 * string/test-strspn.c: Add wcsspn support.
995 * wcsmbs/test-wcsspn.c: New File.
996 * wcsmbs/Makefile (strop-tests): Add wcsspn.
997 * benchtests/bench-strspn.c: Add wcsspn support.
998 * benchtests/bench-wcsspn.c: New File.
999 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1000
1001 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1002 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1003 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1004 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1005 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1006 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1007 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1008 wcsrchr functions.
1009 * sysdeps/s390/multiarch/ifunc-impl-list.c
1010 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1011 * benchtests/bench-wcsrchr.c: New File.
1012 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1013
1014 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1015 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1016 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1017 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1018 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1019 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1020 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1021 wcschrnul functions.
1022 * sysdeps/s390/multiarch/ifunc-impl-list.c
1023 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1024 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1025 * string/test-strchr.c: Add wcschrnul support.
1026 * wcsmbs/test-wcschrnul.c: New File.
1027 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1028 * benchtests/bench-strchr.c: Add wcschrnul support.
1029 * benchtests/bench-wcschrnul.c: New File.
1030 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1031
1032 * sysdeps/s390/multiarch/strchr-c.c: New File.
1033 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1034 * sysdeps/s390/multiarch/strchr.c: Likewise.
1035 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1036 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1037 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1038 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1039 wcschr functions.
1040 * sysdeps/s390/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1042 * string/strchr.c (STRCHR): Define and use macro.
1043 * benchtests/bench-wcschr.c: New File.
1044 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1045
1046 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1047 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1048 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1049 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1050 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1051 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1052 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1053 wcsncmp functions.
1054 * sysdeps/s390/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1056 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1057 * benchtests/bench-strncmp.c: Add wcsncmp support.
1058 * benchtests/bench-wcsncmp.c: New File.
1059 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1060
1061 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1062 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1063 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1064 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1065 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1066 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1067 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1068 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1069 wcscmp functions.
1070 * sysdeps/s390/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1072 * string/strcmp.c (STRCMP): Define and use macro.
1073 * benchtests/bench-wcscmp.c: New File.
1074 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1075 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1076 instead of _HAVE_STRING_ARCH_memchr.
1077
1078 * sysdeps/s390/multiarch/strncat-c.c: New File.
1079 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1080 * sysdeps/s390/multiarch/strncat.c: Likewise.
1081 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1082 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1083 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1084 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1085 wcsncat functions.
1086 * sysdeps/s390/multiarch/ifunc-impl-list.c
1087 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1088 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1089 * string/test-strncat.c: Add wcsncat support.
1090 * wcsmbs/test-wcsncat.c: New File.
1091 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1092 * benchtests/bench-strncat.c: Add wcsncat support.
1093 * benchtests/bench-wcsncat.c: New File.
1094 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1095
1096 * sysdeps/s390/multiarch/strcat-c.c: New File.
1097 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1098 * sysdeps/s390/multiarch/strcat.c: Likewise.
1099 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1100 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1101 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1102 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1103 wcscat functions.
1104 * sysdeps/s390/multiarch/ifunc-impl-list.c
1105 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1106 * string/strcat.c (STRCAT): Define and use macro.
1107 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1108 * string/test-strcat.c: Add wcscat support.
1109 * wcsmbs/test-wcscat.c: New File.
1110 * wcsmbs/Makefile (strop-tests): Add wcscat.
1111 * benchtests/bench-strcat.c: Add wcscat support.
1112 * benchtests/bench-wcscat.c: New File.
1113 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1114
1115 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1116 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1117 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1118 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1119 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1120 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1121 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1122 wcpncpy functions.
1123 * sysdeps/s390/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1125 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1126 * string/test-stpncpy.c: Add wcpncpy support.
1127 * wcsmbs/test-wcpncpy.c: New File.
1128 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1129 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1130 * benchtests/bench-wcpncpy.c: New File.
1131 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1132
1133 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1134 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1135 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1136 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1137 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1138 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1139 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1140 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1141 wcsncpy functions.
1142 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1143 * sysdeps/s390/multiarch/ifunc-impl-list.c
1144 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1145 * string/test-strncpy.c: Add wcsncpy support.
1146 * wcsmbs/test-wcsncpy.c: New File.
1147 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1148 * benchtests/bench-strncpy.c: Add wcsncpy support.
1149 * benchtests/bench-wcsncpy.c: New File.
1150 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1151
1152 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1153 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1154 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1155 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1156 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1157 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1158 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1159 wcpcpy functions.
1160 * string/stpcpy.c: Use STPCPY if defined.
1161 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1162 * sysdeps/s390/multiarch/ifunc-impl-list.c
1163 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1164 * string/test-stpcpy.c: Add wcpcpy support.
1165 * wcsmbs/test-wcpcpy.c: New File.
1166 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1167 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1168 * benchtests/bench-wcpcpy.c: New File.
1169 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1170
1171 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1172 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1173 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1174 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1175 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1176 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1177 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1178 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1179 wcscpy functions.
1180 * sysdeps/s390/multiarch/ifunc-impl-list.c
1181 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1182 * benchtests/bench-wcscpy.c: New File.
1183 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1184
1185 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1186 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1187 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1188 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1189 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1190 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1191 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1192 wcsnlen functions.
1193 * sysdeps/s390/multiarch/ifunc-impl-list.c
1194 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1195 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1196 * string/test-strnlen.c: Add wcsnlen support.
1197 * wcsmbs/test-wcsnlen.c: New File.
1198 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1199 * benchtests/bench-strnlen.c: Add wcsnlen support.
1200 * benchtests/bench-wcsnlen.c: New File.
1201 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1202
1203 * sysdeps/s390/multiarch/Makefile: New File.
1204 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1205 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1206 * sysdeps/s390/multiarch/strlen.c: Likewise.
1207 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1208 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1209 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1210 * string/strlen.c (STRLEN): Define and use macro.
1211 * sysdeps/s390/multiarch/ifunc-impl-list.c
1212 (IFUNC_VX_IMPL): New macro function.
1213 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1214 * benchtests/Makefile (wcsmbs-bench): New variable.
1215 (string-bench-all): Added wcsmbs-bench.
1216 * benchtests/bench-wcslen.c: New File.
1217
1218 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1219 s390_vx_libc_ifunc2): New macro function.
1220
1221 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1222 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1223 assembler support.
1224 * sysdeps/s390/configure: Regenerated.
1225
1226 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1227 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1228
1229 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1230 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1231 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1232
1233 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1234 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1235 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1236 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1237 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1238 (memcmp, bcmp): Use __memcmp_default as alias source.
1239 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1240 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1241 Rename to __memcmp_default.
1242 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1243 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1244 (memcpy): Use __memcpy_default as alias source.
1245 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1246 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1247 Rename to __memcpy_default.
1248 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1249 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1250 (memset): Use __memset_default as alias source.
1251 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1252 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1253 Rename to __memset_default.
1254 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1255 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1256 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1257 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1258 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1259 (memcmp, bcmp): Use __memcmp_default as alias source.
1260 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1261 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1262 Rename to __memcmp_default.
1263 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1264 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1265 (memcpy): Use __memcpy_default as alias source.
1266 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1267 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1268 Rename to __memcpy_default.
1269 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1270 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1271 (memset): Use __memset_default as alias source.
1272 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1273 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1274 Rename to __memset_default.
1275 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1276 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1277
1278 [BZ #18610]
1279 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1280 __ieee_instruction_pointer to __unused.
1281 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1282 __ieee_instruction_pointer.
1283 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1284 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1285 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1286 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1287 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1288 Mark dxc-field as reserved.
1289
1290 2015-08-25 Roland McGrath <roland@hack.frob.com>
1291
1292 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1293 if the weak reference is not null.
1294
1295 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1298
1299 [BZ #11214]
1300 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1301
1302 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1303
1304 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1305 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1306 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1307 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1308 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1309 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1310 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1311 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1312 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1313 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1314 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1315 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1316 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1317 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1318 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1319 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1320 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1321 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1322
1323 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1324
1325 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1326 register other than r0 for tabort, it has special meaning.
1327 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1328 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1329 transaction before starting syscall.
1330
1331 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1332
1333 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1334
1335 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1338
1339 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1340 * sysdeps/x86_64/rtld-memset.S: Likewise.
1341 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1342 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1343 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1344 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1345
1346 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1347
1348 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1349
1350 * debug/strcpy_chk.c: Improve performance.
1351 * debug/stpcpy_chk.c: Likewise.
1352 * sysdeps/x86_64/strcpy_chk.S: Remove.
1353 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1354
1355 [BZ #18240]
1356 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1357
1358 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 [BZ #15128]
1361 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1362 ifuncmain8.
1363 (modules-names): Add ifuncmod8.
1364 ($(objpfx)ifuncmain8): New rule.
1365 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1366 <cpuid.h>.
1367 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1368 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1369 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1370 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1371 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1372 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1373 * sysdeps/x86_64/ifuncmain8.c: New file.
1374 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1375 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1376 Removed.
1377 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1378 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1379 Change rtld_savespace_sse to __glibc_unused2.
1380 (RTLD_CHECK_FOREIGN_CALL): Removed.
1381 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1382 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1383 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1384
1385 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1386
1387 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1388
1389 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1390
1391 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1392 Unconditionally set __fpcr to avoid uninialized warning.
1393 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1394
1395 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1396
1397 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1398 is corrupt.
1399
1400 * malloc/arena.c (arena_get2): Drop unused argument.
1401 (arena_lock): Adjust.
1402 (arena_get_retry): Likewise.
1403
1404 2015-08-24 Andreas Schwab <schwab@suse.de>
1405
1406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1407 Don't define.
1408 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1409 (__ASSUME_IPC64): Don't undef.
1410 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1411 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1412 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1413 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1414 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1415 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1416 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1417 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1418 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1422 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1423 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1424 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1426 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1428 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1429 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1431
1432 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1433
1434 * manual/Makefile (install): Only build manual when perl is available.
1435
1436 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1439 '#undef memcpy' by '#undef memchr'.
1440
1441 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1442
1443 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1444 memchr not point to the internal __GI_memchr implementation.
1445
1446 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1447
1448 * timezone/Makefile (CFLAGS-zdump.c): Remove
1449 -Wno-strict-prototypes.
1450 (CFLAGS-zic.c): Likewise.
1451 (CFLAGS-ialloc.c): Likewise.
1452 (CFLAGS-scheck.c): Likewise.
1453
1454 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1455 -Wno-error=undef.
1456
1457 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 * i386/i686/multiarch/strcasestr-c.c: Removed.
1460 * x86_64/multiarch/strcasestr.c: Likewise.
1461 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1462 Remove strcasestr.
1463
1464 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1465
1466 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1467
1468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1469 variables for high and low parts before possibly modifying them.
1470
1471 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1474 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1475 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1476 of "multiarch/init-arch.h".
1477 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1478 * sysdeps/x86/init-arch.h: This.
1479
1480 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1483 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1484
1485 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1486
1487 [BZ #17787]
1488 * manual/macros.texi: Add twoexp macro.
1489 * manual/filesys.texi: Fix exponents.
1490 * manual/llio.texi: Likewise.
1491 * manual/stdio.texi: Likewise.
1492
1493 2015-08-20 Florian Weimer <fweimer@redhat.com>
1494
1495 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1496 incorrect use.
1497
1498 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #18370]
1501 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1502 whose real or imaginary part has small absolute value.
1503 * math/s_csqrtf.c (__csqrtf): Likewise.
1504 * math/s_csqrtl.c (__csqrtl): Likewise.
1505 * math/auto-libm-test-in: Add more tests of csqrt.
1506 * math/auto-libm-test-out: Regenerated.
1507 * sysdeps/i386/fpu/libm-test-ulps: Update.
1508
1509 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1510
1511 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1512 __ppc_set_ppr_very_low): New functions.
1513 * manual/platform.texi: Add documentation about
1514 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1515
1516 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1517
1518 * string/stpncpy.c (stpncpy): Improve performance using
1519 __strnlen/memcpy/memset.
1520
1521 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1522
1523 [BZ #18796]
1524 * scripts/test-installation.pl: Don't add -lmvec to build options if
1525 libmvec wasn't built.
1526
1527 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1528
1529 [BZ #14341]
1530 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1531 case when there is a gap between DT_REL and DT_JMPREL sections.
1532 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1533 (LDFLAGS-tst-split-dynreloc): New.
1534 (tst-split-dynreloc-ENV): Likewise.
1535 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1536 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1537
1538 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 [BZ #18822]
1541 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1542 attribute_hidden.
1543 (__xstat64_conv): Likewise.
1544 (__xstat32_conv): Likewise.
1545
1546 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 [BZ #18822]
1549 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1550 Don't load %ebx when calling __setcontext. Call __setcontext
1551 with HIDDEN_JUMPTARGET.
1552 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1553 libc_hidden_def.
1554
1555 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/i386/i686/Makefile
1558 [$(subdir) == string] (sysdep_routines): Moved to ...
1559 * sysdeps/i386/Makefile: Here.
1560 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1561 * sysdeps/i386/cacheinfo.c: Here.
1562 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1563 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1564 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1565 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1566
1567 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1570 __i586__ is defined.
1571 (HAS_I686): Defined to 1 if __i686__ is defined.
1572
1573 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1574
1575 * elf/Makefile [$(have-z-execstack) = yes]
1576 (CPPFLAGS-tst-execstack.c): New variable.
1577
1578 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1579 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1580 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1581 UTMPX || _HAVE_UT_TV].
1582 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1583 UTMPX || _HAVE_UT_TV - 0].
1584
1585 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1586
1587 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1588 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1589 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1590
1591 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1592
1593 * sysdeps/powerpc/dl-procinfo.c:
1594 (_dl_powerpc_cap_flags): Added missing strings for some
1595 hwcap features.
1596 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1597
1598 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1599
1600 Port the 0x7efe...feff pattern to GCC 6.
1601 See Steve Ellcey's bug report in:
1602 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1603 * string/memrchr.c (MEMRCHR):
1604 * string/rawmemchr.c (RAWMEMCHR):
1605 * string/strchr.c (strchr):
1606 * string/strchrnul.c (STRCHRNUL):
1607 Rewrite code to avoid issues with signed shift overflow.
1608
1609 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1610
1611 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1612 whether cpuid is available only if HAS_CPUID is 0.
1613 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1614 (HAS_I586): Likewise.
1615 (HAS_I686): Likewise.
1616
1617 2015-08-18 Zack Weinberg <zackw@panix.com>
1618
1619 * misc/Versions (libc): Add GLIBC_2.23.
1620
1621 2015-08-18 Alan Modra <amodra@gmail.com>
1622
1623 [BZ #18421]
1624 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1625 .Lp__global.
1626 (_start): Load %dp via .Lp__global.
1627 [!SHARED]: Use .section .rodata.
1628
1629 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1630
1631 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1632 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1633
1634 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1635
1636 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1637 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1638
1639 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1640
1641 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1642 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1643
1644 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1645
1646 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1647 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1648
1649 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1650
1651 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1652 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1653
1654 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1655
1656 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1657 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1658
1659 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1660
1661 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1662
1663 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1664
1665 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1666 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1667 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1668 (__ASSUME_LWS_CAS): Delete.
1669
1670 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1671
1672 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1673 * sysdeps/hppa/configure: Regenerated.
1674 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1675 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1676 * sysdeps/hppa/nptl/tls.h: Likewise.
1677
1678 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #18823]
1681 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1682 for scaling up small arguments.
1683 * math/s_csqrtf.c (__csqrtf): Likewise.
1684 * math/s_csqrtl.c (__csqrtl): Likewise.
1685 * math/auto-libm-test-in: Add more tests of csqrt.
1686 * math/auto-libm-test-out: Regenerated.
1687
1688 2015-08-17 Andreas Schwab <schwab@suse.de>
1689
1690 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1691 version set GLIBC_2.19.
1692
1693 2015-08-16 Zack Weinberg <zackw@panix.com>
1694
1695 [BZ #18681]
1696 * misc/regexp.h: This interface is no longer supported.
1697 Remove all contents, leaving only an #error directive.
1698 * misc/regexp.c (loc1, loc2, locs, step, advance):
1699 Demote to compatibility symbols.
1700
1701 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1702
1703 [BZ #18084]
1704 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1705 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1706 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1707 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1708 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1709 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1710 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1711 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1712 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1713
1714 2015-08-15 Zack Weinberg <zackw@panix.com>
1715
1716 [BZ #18795]
1717 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1718 buffer length is known to be too large, not if it's known to be
1719 small enough.
1720 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1721 overflow at runtime, involving a length parameter, twice: once
1722 with a compile-time constant length parameter, once without.
1723
1724 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1725
1726 [BZ #18824]
1727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1728 scaling x * y up instead of down.
1729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1731 * math/auto-libm-test-in: Add more tests of fma.
1732 * math/auto-libm-test-out: Regenerated.
1733
1734 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1735
1736 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1737
1738 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1739
1740 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1741 unnecessary movq.
1742 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1743 Likewise.
1744
1745 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1746
1747 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1748 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1749 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1750 and tgamma.
1751 * math/auto-libm-test-out: Regenerated.
1752 * sysdeps/i386/fpu/libm-test-ulps: Update.
1753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754
1755 [BZ #16520]
1756 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1757 (__tanh): Force underflow exception for arguments with small
1758 absolute value.
1759 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1760 (__tanhf): Force underflow exception for arguments with small
1761 absolute value.
1762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1763 (__tanhl): Force underflow exception for arguments with small
1764 absolute value.
1765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1766 (__tanhl): Force underflow exception for arguments with small
1767 absolute value.
1768 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1769 (__tanhl): Force underflow exception for arguments with small
1770 absolute value.
1771 * math/auto-libm-test-in: Add more tests of tanh.
1772 * math/auto-libm-test-out: Regenerated.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774
1775 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1778 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1779
1780 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1783 <cpuid.h>.
1784
1785 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1788 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1789
1790 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1793 Remove $(objpfx)init-arch.o.
1794 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1795 init-arch.
1796 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1797 (INIT_ARCH_EXT): Defined as empty.
1798 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1799 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1800 __init_cpu_features call. Replace HAS_XXX with
1801 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1802 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1803 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1804 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1805 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1807 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1809 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1811 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1813 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1814 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1816 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1818 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1819 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1820 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1821 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1822 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1823 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1824 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1825 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1826 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1827 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1828 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1829 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1830 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1831 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1832 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1833 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1834 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1835 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1836 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1837
1838 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1841 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1842 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1843 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1844 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1845 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1846 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1847 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1848 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1849 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1850 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1851 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1852 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1853 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1854 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1855 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1856 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1857 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1858 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1859 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1860 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1861 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1862 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1867 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1872 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1874 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1883
1884 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1887 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1893 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1894 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1897 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1898 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1899 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1900 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1901 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1904 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1905 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1907 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1908 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1909 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1910 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1911 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1912 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1913 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1914 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1915 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1916 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1917 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1919 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1920 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1921 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1922 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1923 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1924 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1925 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1926 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1927 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1928 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1929
1930 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1933 (dl_platform_init): Call init_cpu_features.
1934 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1935 * sysdeps/i386/i686/cacheinfo.c
1936 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1937 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1938 * sysdeps/i386/i686/multiarch/Versions: Removed.
1939 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1940 Removed.
1941 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1942 * sysdeps/unix/sysv/linux/x86/Makefile
1943 (libpthread-sysdep_routines): Remove init-arch.
1944 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1945 <sysdeps/x86_64/dl-procinfo.c> instead of
1946 sysdeps/generic/dl-procinfo.c>.
1947 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1948 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1949 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1950 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1951 [$(subdir) == elf] (tests-static): Add
1952 tst-get-cpu-features-static.
1953 * sysdeps/x86/Versions: New file.
1954 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1955 * sysdeps/x86/cpu-features.c: Likewise.
1956 * sysdeps/x86/cpu-features.h: Likewise.
1957 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1958 * sysdeps/x86/libc-start.c: Likewise.
1959 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1960 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1961 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1962 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1963 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1964 Assume USE_MULTIARCH is defined and don't check it.
1965 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1966 (is_amd): Likewise.
1967 (max_cpuid): Likewise.
1968 (intel_check_word): Likewise.
1969 (__cache_sysconf): Don't call __init_cpu_features.
1970 (__x86_preferred_memory_instruction): Removed.
1971 (init_cacheinfo): Don't call __init_cpu_features. Replace
1972 __cpu_features with GLRO(dl_x86_cpu_features).
1973 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1974 (dl_platform_init): Call init_cpu_features.
1975 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1976 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1977 * sysdeps/x86_64/multiarch/Versions: Removed.
1978 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1979 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1981 Removed.
1982 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1983
1984 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1985
1986 [BZ #18820]
1987 * libio/Makefile (test-fmemopen-mem): New test.
1988 * libio/test-fmemopen.c (do_bz18820): New test.
1989 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1990 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1991
1992 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1993
1994 [BZ #16734]
1995 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1996 (FREE_BUF): Delete.
1997 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1998 * libio/genops.c (_IO_setb): Use malloc and free directly.
1999 (_IO_default_doallocate, _IO_default_finish): Likewise.
2000 ( _IO_unbuffer_all): Likewise.
2001 ( libc_freeres_fn): Likewise.
2002 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2003 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2004 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2005 (_IO_wdefault_doallocate): Likewise.
2006
2007 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2008
2009 [BZ #18086]
2010 * sysdeps/posix/nice.c (nice): Restore old errno.
2011 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2012
2013 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2014
2015 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2016
2017 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2018
2019 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2020 __bcopy and add a weak_alias to bcopy.
2021 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2022 for static build.
2023
2024 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2025 cleanup macro usage.
2026 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2027 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2034 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2035 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2037 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2039 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2042 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2043 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2044 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2045
2046 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2047 libc_hidden_def.
2048 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2049
2050 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2051 (sysdep_routines): Add strstr-ppc64.
2052 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2053
2054 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2055
2056 [BZ #18778]
2057 * elf/Makefile (tests): Add Add tst-nodelete2.
2058 (modules-names): Add tst-nodelete2mod.
2059 (tst-nodelete2mod.so-no-z-defs): New.
2060 ($(objpfx)tst-nodelete2): Likewise.
2061 ($(objpfx)tst-nodelete2.out): Likewise.
2062 (LDFLAGS-tst-nodelete2): Likewise.
2063 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2064 out of loop through all loaded libraries.
2065 * elf/tst-nodelete2.c: New file.
2066 * elf/tst-nodelete2mod.c: Likewise.
2067 * elf/tst-znodelete-zlib.cc: Delete.
2068
2069 2015-08-11 Andreas Schwab <schwab@suse.de>
2070
2071 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2072 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2073 (__openat64_nocancel): Likewise.
2074
2075 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2076
2077 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2078 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2079 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2080 * math/auto-libm-test-out: Regenerated.
2081 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2083
2084 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #18790]
2087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2088 threshold for returning +/- 1.
2089 * math/auto-libm-test-in: Add more tests of tanh.
2090 * math/auto-libm-test-out: Regenerated.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092
2093 2015-08-10 Andreas Schwab <schwab@suse.de>
2094
2095 [BZ #18781]
2096 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2097 MORE_OFLAGS to oflag.
2098 * io/test-lfs.c (do_test): Test openat64.
2099
2100 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2101
2102 [BZ #18789]
2103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2104 smaller threshold for returning the argument.
2105 * math/auto-libm-test-in: Add more tests of sinh.
2106 * math/auto-libm-test-out: Regenerated.
2107 * sysdeps/i386/fpu/libm-test-ulps: Update.
2108
2109 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 [BZ #18674]
2112 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2113 break.
2114
2115 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2116
2117 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2118 (generated): Don't add $(addprefix z.,$(tzfiles)).
2119
2120 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2121
2122 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2123 * scripts/sysd-rules.awk: Likewise.
2124
2125 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2126
2127 * iconvdata/tst-tables.sh: Change echo -n to printf.
2128 * nss/db-Makefile: Likewise.
2129 * posix/tst-getconf.sh: Likewise.
2130 * stdio-common/tst-unbputc.sh: Likewise.
2131
2132 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2133
2134 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2135 MADV_*_PAGES defines behind this feature check.
2136
2137 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2138
2139 [BZ #18480]
2140 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2141 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2142 Define.
2143 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2144 LOAD_REGS_5, LOAD_REGS_6): Update.
2145 (INTERNAL_SYSCALL): Update using new LOAD defines.
2146 (INTERNAL_SYSCALL_NCS): Likewise.
2147 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2148
2149 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2150
2151 [BZ #16734]
2152 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2153
2154 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2155
2156 [BZ #17905]
2157 * catgets/Makefile (tst-catgets-mem): New test.
2158 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2159 * catgets/open_catalog.c (__open_catalog): Likewise.
2160 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2161
2162 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2163
2164 [BZ #18787]
2165 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2166 clobber registers.
2167 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2168 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2169 Cast return to __typeof (oldval).
2170
2171 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2172
2173 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2174 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2175 and delete sys/syscall.h include.
2176
2177 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2178
2179 [BZ #16517]
2180 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2181 (tan): Force underflow exception for arguments with small absolute
2182 value.
2183 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2184 (__kernel_tanf): Force underflow exception for arguments with
2185 small absolute value.
2186 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2187 (__kernel_tanl): Force underflow exception for arguments with
2188 small absolute value.
2189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2190 (__kernel_tanl): Force underflow exception for arguments with
2191 small absolute value.
2192 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2193 (__kernel_tanl): Force underflow exception for arguments with
2194 small absolute value.
2195 * math/auto-libm-test-in: Add more tests of tan.
2196 * math/auto-libm-test-out: Regenerated.
2197
2198 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2199
2200 Fix sysdeps/i386/fpu/s_scalbn.S build
2201
2202 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2203
2204 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2205
2206 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2207
2208 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2209
2210 Fix gcrt0.o compilation
2211
2212 When static-start-installed-name is different from
2213 start-installed-name, we must not use the shared objects.
2214
2215 * csu/Makefile
2216 (extra-objs): Add gmon-start.o when building shared library and
2217 $(static-start-installed-name) is different from
2218 $(start-installed-name).
2219 $(objpfx)g$(static-start-installed-name): When building shared
2220 library and $(static-start-installed-name) is different from
2221 $(static-start-installed-name), revert to non-shared rule,
2222 i.e. using $(objpfx)% and gmon-start.o.
2223
2224 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #16519]
2227 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2228 (__ieee754_sinh): Force underflow exception for arguments with
2229 small absolute value.
2230 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2231 (__ieee754_sinhf): Force underflow exception for arguments with
2232 small absolute value.
2233 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2234 (__ieee754_sinhl): Force underflow exception for arguments with
2235 small absolute value.
2236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2237 (__ieee754_sinhl): Force underflow exception for arguments with
2238 small absolute value.
2239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2240 (__ieee754_sinhl): Force underflow exception for arguments with
2241 small absolute value.
2242 * math/auto-libm-test-in: Add more tests of sinh.
2243 * math/auto-libm-test-out: Regenerated.
2244 * sysdeps/i386/fpu/libm-test-ulps: Update.
2245
2246 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2247
2248 * libio/oldfileops.c: Include unistd.h.
2249
2250 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2251
2252 * stdlib/isomac.c: Include ctype.h.
2253
2254 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2255
2256 * dirent/tst-seekdir.c (main): Converted to ...
2257 (do_test): ... this.
2258 (TEST_FUNCTION): New macro.
2259 Include test-skeleton.c.
2260 * elf/tst-dlmodcount.c (main): Converted to ...
2261 (do_test): ... this.
2262 (TEST_FUNCTION): New macro.
2263 Include test-skeleton.c.
2264 * elf/tst-order-main.c (main): Converted to ...
2265 (do_test): ... this.
2266 (TEST_FUNCTION): New macro.
2267 Include test-skeleton.c.
2268 * elf/tst-pie2.c (main): Converted to ...
2269 (do_test): ... this.
2270 (TEST_FUNCTION): New macro.
2271 Include test-skeleton.c.
2272 * inet/tst-ether_aton.c (main): Converted to ...
2273 (do_test): ... this.
2274 (TEST_FUNCTION): New macro.
2275 Include test-skeleton.c.
2276 * misc/tst-mntent.c (main): Converted to ...
2277 (do_test): ... this.
2278 (TEST_FUNCTION): New macro.
2279 Include test-skeleton.c.
2280 * misc/tst-tsearch.c (main): Converted to ...
2281 (do_test): ... this.
2282 (TEST_FUNCTION): New macro.
2283 Include test-skeleton.c.
2284 * posix/tst-regexloc.c (main): Converted to ...
2285 (do_test): ... this.
2286 (TEST_FUNCTION): New macro.
2287 Include test-skeleton.c.
2288 * resolv/tst-aton.c (main): Converted to ...
2289 (do_test): ... this.
2290 (TEST_FUNCTION): New macro.
2291 Include test-skeleton.c.
2292 * stdio-common/test-fwrite.c (main): Converted to ...
2293 (do_test): ... this.
2294 (TEST_FUNCTION): New macro.
2295 Include test-skeleton.c.
2296 * stdio-common/tst-ferror.c (main): Converted to ...
2297 (do_test): ... this.
2298 (TEST_FUNCTION): New macro.
2299 Include test-skeleton.c.
2300 * stdio-common/tst-printf.c (main): Converted to ...
2301 (do_test): ... this.
2302 (TEST_FUNCTION): New macro.
2303 Include test-skeleton.c.
2304 * stdio-common/tst-printfsz.c (main): Converted to ...
2305 (do_test): ... this.
2306 (TEST_FUNCTION): New macro.
2307 Include test-skeleton.c.
2308 * stdlib/tst-strtod.c (main): Converted to ...
2309 (do_test): ... this.
2310 (TEST_FUNCTION): New macro.
2311 Include test-skeleton.c.
2312 * string/tst-strlen.c (main): Converted to ...
2313 (do_test): ... this.
2314 (TEST_FUNCTION): New macro.
2315 Include test-skeleton.c.
2316 * string/tst-svc.c (main): Converted to ...
2317 (do_test): ... this.
2318 (TEST_FUNCTION): New macro.
2319 Include test-skeleton.c.
2320 * time/tst-strptime.c (main): Converted to ...
2321 (do_test): ... this.
2322 (TEST_FUNCTION): New macro.
2323 Include test-skeleton.c.
2324 * timezone/tst-timezone.c (main): Converted to ...
2325 (do_test): ... this.
2326 (TEST_FUNCTION): New macro.
2327 Include test-skeleton.c.
2328
2329 2015-08-05 Zack Weinberg <zackw@panix.com>
2330
2331 * misc/regexp.h: Update comments.
2332
2333 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2334
2335 [BZ #18635]
2336 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2337 before return label.
2338
2339 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2340
2341 [BZ #18661]
2342 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2343 when calling __errno_location.
2344 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2345 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2346
2347 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 [BZ #18661]
2350 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2351 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2352 __gettimeofday.
2353
2354 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2355
2356 [BZ #18661]
2357 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2358 (__start_context): Don't use pop to restore %rdi so that stack
2359 is aligned to 16 bytes when calling __setcontext.
2360
2361 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2364 only for libc.
2365 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2366
2367 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2368
2369 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2370 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2371 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2372
2373 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2374
2375 * string/memccpy.c (memccpy):
2376 Improve performance by using memchr/memcpy/__mempcpy.
2377
2378 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2379
2380 * string/strncpy.c (strncpy):
2381 Improve performance by using __strnlen/memcpy.
2382
2383 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2384
2385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2386 Optimize to avoid an unnecessary FPCR read.
2387
2388 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2389
2390 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2391 Optimize to reduce FPCR/FPSR accesses.
2392
2393 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2394
2395 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2396 dead->data[category] != NULL.
2397
2398 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2399
2400 [BZ #18647]
2401 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2402 and |x| close to 1, use absolute value of x when computing log.
2403 * math/auto-libm-test-in: Add more tests of pow.
2404 * math/auto-libm-test-out: Regenerated.
2405
2406 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2407
2408 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2409 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2410 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2411
2412 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2413
2414 [BZ #18525]
2415 * locales/km_KH: Remove timezone definition.
2416 * locales/lo_LA: Likewise.
2417 * locales/my_MM: Likewise.
2418 * locales/nan_TW@latin: Likewise.
2419 * locales/th_TH: Likewise.
2420 * locales/uk_UA: Likewise.
2421
2422 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2423
2424 [BZ #18265]
2425 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2426 (wcsncat): Likewise.
2427 (wcscmp): Likewise.
2428 (wcsncmp): Likewise.
2429
2430 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2431
2432 * test-skeleton.c (usage): New function.
2433 (main): Call usage when opt is '?'.
2434
2435 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2436
2437 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2438 before first use.
2439
2440 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2441
2442 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2443 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2444 in there too.
2445
2446 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2447
2448 * version.h (RELEASE): Set to "development".
2449 (VERSION): Set to "2.22.90"
2450
2451 * version.h (RELEASE): Set to "stable".
2452 (VERSION): Set to "2.22"
2453 * include/features.h (__GLIBC_MINOR__): Set to 22.
2454
2455 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2456
2457 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2458 Restructure macro to avoid "value computed is not used" warning.
2459 (atomic_compare_and_exchange_val_acq): Likewise.
2460
2461 2015-08-04 Andreas Schwab <schwab@suse.de>
2462
2463 [BZ #18635]
2464 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2465 ret.
2466 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2467
2468 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2469
2470 * po/pl.po: Updated translation.
2471 * po/uk.po: Likewise.
2472 * po/fi.po: Likewise.
2473 * po/ko.po: Likewise.
2474 * po/ru.po: Likewise.
2475 * po/vi.po: Likewise.
2476
2477 2015-07-31 Zack Weinberg <zackw@panix.com>
2478
2479 [BZ #18681]
2480 * regexp.h: Add unconditional #warning stating that this header
2481 will be removed soon. Revise banner comment to match.
2482 (compile): Consistently use ERROR instead of RETURN to report
2483 errors (partial fix for bz#18681).
2484 * regexp.c: Don't include regexp.h. Remove some unnecessary
2485 declarations.
2486
2487 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2488
2489 * po/libc.pot: Regenerated.
2490
2491 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2492
2493 [BZ #18740]
2494 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2495 float-vlen4-arch-ext-cflags): Removed.
2496 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2497 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2498
2499 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2500
2501 [BZ #14113]
2502 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2503 aligned to __aligned__.
2504 (pthread_cond_t, pthread_rwlock_t): Likewise.
2505
2506 2015-07-30 Torvald Riegel <triegel@redhat.com>
2507
2508 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2509
2510 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2511
2512 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2513 (struct sigaction): Change sa_flags from a long to an int, and add
2514 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2515
2516 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2517
2518 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2519 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2520 sysdeps/generic/sysdep.h include.
2521 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2522 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2523 sysdeps/hppa/sysdep.h.
2524 (ENTRY, PSEUDO): Undefine before defining.
2525
2526 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2527
2528 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2529 from scratch to use INTERNAL_SYSCALL.
2530
2531 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 [BZ #18078]
2534 * scripts/check-localplt.awk: Support alternate relocations.
2535 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2536 sections.
2537 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2538 malloc entries with + REL R_386_GLOB_DAT.
2539 * sysdeps/x86_64/localplt.data: New file.
2540
2541 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2542
2543 [BZ #18731]
2544 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2545 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2546 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2547
2548 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2549
2550 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2551
2552 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2553
2554 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2555 directly in terms of __sync_fetch_and_add and delete (int) cast.
2556
2557 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2558
2559 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2560 the -D_ASM_IA64_CURRENT_H flag.
2561
2562 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2563
2564 [BZ #18641]
2565 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2566
2567 2015-07-27 Andreas Schwab <schwab@suse.de>
2568
2569 * conform/conformtest.pl (checknamespace): Filter out string
2570 literals while tokenizing.
2571
2572 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2573
2574 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2575 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2576 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2577
2578 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2579
2580 * nptl/tst-join7mod.c: Add #include <string.h>.
2581
2582 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2583
2584 * sysdeps/nios2/libm-test-ulps: Update.
2585
2586 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2587
2588 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2589 Fix order of arguments to the rt_sigprocmask syscall.
2590 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2591 Likewise.
2592
2593 2015-07-24 Roland McGrath <roland@hack.frob.com>
2594
2595 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2596
2597 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
2599 [BZ #18457]
2600 * nptl/Makefile (tests): New test case tst-join7.
2601 (modules-names): New test case module tst-join7mod.
2602 * nptl/tst-join7.c: New file.
2603 * nptl/tst-join7mod.c: New file.
2604 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2605 all translation units in libc.so, libpthread.so and rtld.
2606
2607 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2608
2609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2610
2611 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2612
2613 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2614 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2615 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2617 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2619 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2620 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2621 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2622 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2623 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2624 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2625 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2626 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2627 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2628 implementation.
2629
2630 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2631
2632 [BZ #17711]
2633 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2634 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2635 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2636 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2637 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2638 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2639
2640 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2641
2642 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2643 instead of just saying load lock in the comments.
2644
2645 2015-07-23 Roland McGrath <roland@hack.frob.com>
2646
2647 * sysdeps/unix/Subdirs: Moved ...
2648 * sysdeps/posix/Subdirs: ... here.
2649 * login/pty.h (struct termios, struct winsize): Add forward decls.
2650 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2651 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2652 * sysdeps/arm/nacl/libc.abilist: Updated.
2653 * sysdeps/nacl/libutil.abilist: New file.
2654
2655 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2656 (SIGWINCH): New macro.
2657
2658 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2659 * sysdeps/arm/nacl/libc.abilist: Add it.
2660
2661 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2662
2663 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2664
2665 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2666
2667 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2668 Swap __glibc_reserved0 and sa_flags order.
2669
2670 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2671
2672 [BZ #18657]
2673 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2674 are pending TLS destructor calls.
2675 * include/link.h (struct link_map): Add concurrency note for
2676 L_TLS_DTOR_COUNT.
2677 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2678 Don't touch the link map flag. Atomically increment
2679 l_tls_dtor_count.
2680 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2681 Avoid taking the load lock and don't touch the link map flag.
2682 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2683 * stdlib/Makefile (tests): Use it.
2684 * stdlib/tst-tls-atexit.c (do_test): dlopen
2685 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2686 to allow tst-tls-atexit-nodelete test case to use it.
2687
2688 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2689
2690 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2691 to bits/types.h.
2692 (msgqnum_t): New typedef.
2693 (msglen_t): Likewise.
2694 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2695 and msg_qbytes type to msglen_t.
2696
2697 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2698
2699 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2700 pad0 to __glibc_reserved0.
2701 (struct stat64): Likewise.
2702
2703 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2704
2705 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2706 Change sa_flags from a long to an int and add __glibc_reserved0 before
2707 it for padding.
2708
2709 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2710
2711 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2712 anonymous by deleting "siginfo" name.
2713
2714 2015-07-21 Roland McGrath <roland@hack.frob.com>
2715
2716 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2717 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2718 rather than __nacl_irt_filename.
2719 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2720
2721 * NEWS: New item for arm-nacl port.
2722 * sysdeps/arm/nacl/libc.abilist: New file.
2723 * sysdeps/nacl/ld.abilist: New file.
2724 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2725 * sysdeps/nacl/libanl.abilist: New file.
2726 * sysdeps/nacl/libcrypt.abilist: New file.
2727 * sysdeps/nacl/libdl.abilist: New file.
2728 * sysdeps/nacl/libm.abilist: New file.
2729 * sysdeps/nacl/libpthread.abilist: New file.
2730 * sysdeps/nacl/libresolv.abilist: New file.
2731 * sysdeps/nacl/librt.abilist: New file.
2732
2733 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2734
2735 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2736 __startcontext to initialize the new context.
2737 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2738 up CFI directive to forbid further backtracing.
2739
2740 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2741
2742 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2743 reference.
2744 * charmaps/ANSI_X3.4-1968: Likewise.
2745 * charmaps/BS_4730: Likewise.
2746 * charmaps/BS_VIEWDATA: Likewise.
2747 * charmaps/CP1250: Likewise.
2748 * charmaps/CP1251: Likewise.
2749 * charmaps/CP1252: Likewise.
2750 * charmaps/CP1253: Likewise.
2751 * charmaps/CP1254: Likewise.
2752 * charmaps/CP1255: Likewise.
2753 * charmaps/CP1256: Likewise.
2754 * charmaps/CSN_369103: Likewise.
2755 * charmaps/EBCDIC-DK-NO: Likewise.
2756 * charmaps/GB_1988-80: Likewise.
2757 * charmaps/GREEK-CCITT: Likewise.
2758 * charmaps/GREEK7: Likewise.
2759 * charmaps/INIS-8: Likewise.
2760 * charmaps/ISIRI-3342: Likewise.
2761 * charmaps/ISO_2033-1983: Likewise.
2762 * charmaps/ISO_5427-EXT: Likewise.
2763 * locales/POSIX: Likewise.
2764 * locales/ar_SA: Likewise.
2765 * locales/be_BY: Likewise.
2766 * locales/be_BY@latin: Likewise.
2767 * locales/ca_ES: Likewise.
2768 * locales/cs_CZ: Likewise.
2769 * locales/da_DK: Likewise.
2770 * locales/de_BE: Likewise.
2771 * locales/de_CH: Likewise.
2772 * locales/de_LU: Likewise.
2773 * locales/en_AU: Likewise.
2774 * locales/en_BW: Likewise.
2775 * locales/en_CA: Likewise.
2776 * locales/en_DK: Likewise.
2777 * locales/en_GB: Likewise.
2778 * locales/en_IE: Likewise.
2779 * locales/en_NZ: Likewise.
2780 * locales/en_ZA: Likewise.
2781 * locales/en_ZW: Likewise.
2782 * locales/es_AR: Likewise.
2783 * locales/es_BO: Likewise.
2784 * locales/es_CL: Likewise.
2785 * locales/es_CO: Likewise.
2786 * locales/es_DO: Likewise.
2787 * locales/es_EC: Likewise.
2788 * locales/es_ES: Likewise.
2789 * locales/es_HN: Likewise.
2790 * locales/es_MX: Likewise.
2791 * locales/es_PA: Likewise.
2792 * locales/es_PE: Likewise.
2793 * locales/es_PY: Likewise.
2794 * locales/es_SV: Likewise.
2795 * locales/es_US: Likewise.
2796 * locales/es_UY: Likewise.
2797 * locales/es_VE: Likewise.
2798 * locales/et_EE: Likewise.
2799 * locales/fa_IR: Likewise.
2800 * locales/fo_FO: Likewise.
2801 * locales/fr_CA: Likewise.
2802 * locales/fr_CH: Likewise.
2803 * locales/gv_GB: Likewise.
2804 * locales/he_IL: Likewise.
2805 * locales/hr_HR: Likewise.
2806 * locales/id_ID: Likewise.
2807 * locales/is_IS: Likewise.
2808 * locales/it_CH: Likewise.
2809 * locales/iw_IL: Likewise.
2810 * locales/kl_GL: Likewise.
2811 * locales/ko_KR: Likewise.
2812 * locales/kw_GB: Likewise.
2813 * locales/lg_UG: Likewise.
2814 * locales/lt_LT: Likewise.
2815 * locales/lv_LV: Likewise.
2816 * locales/mi_NZ: Likewise.
2817 * locales/nhn_MX: Likewise.
2818 * locales/nl_BE: Likewise.
2819 * locales/pl_PL: Likewise.
2820 * locales/sk_SK: Likewise.
2821 * locales/sl_SI: Likewise.
2822 * locales/sv_FI: Likewise.
2823 * locales/tl_PH: Likewise.
2824 * locales/tr_TR: Likewise.
2825 * locales/vi_VN: Likewise.
2826
2827 2015-07-21 Khem Raj <raj.khem@gmail.com>
2828
2829 [BZ #17475]
2830 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2831 of tu_IN and bh_IN.
2832
2833 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2834
2835 [BZ #18694]
2836 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2837 bits/wordsize.h.
2838 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2839
2840 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2841
2842 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2843 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2844 (spawn_thread): New function.
2845 (load): Rename to reg_dtor_and_close. Move dlopen to...
2846 (do_test): ... here. Use IS_LOADED to test for its
2847 availability.
2848
2849 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2850
2851 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2852
2853 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2854
2855 [BZ #18696]
2856 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2857 si_addr_bnd.
2858 (si_lower): New.
2859 (si_upper): Likewise.
2860
2861 2015-07-16 David S. Miller <davem@davemloft.net>
2862
2863 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2864
2865 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2866
2867 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2868 buffer.
2869 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2870 fail output information.
2871
2872 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2873
2874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2875 and strstr-ppc64..
2876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2877 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2878 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2879 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2880 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2881
2882 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2883
2884 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2885 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2886 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2887 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2888
2889 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2890
2891 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2892 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2893 rtld_hidden_proto.
2894 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2895
2896 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2897
2898 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2899 the test can fail.
2900
2901 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2902
2903 [BZ #18676]
2904 * elf/tst-nodelete-opened.c: New test case.
2905 * elf/tst-nodelete-opened-lib.c: New test case module.
2906 * elf/Makefile (tests, modules-names): Use them.
2907 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2908 early.
2909
2910 2015-07-15 David S. Miller <davem@davemloft.net>
2911
2912 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2913 futex-intenal.h
2914 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2915 * sysdeps/sparc/sparc64/Makefile: Likewise.
2916 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2917 Remove space from macro define.
2918 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2919
2920 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2921
2922 [BZ #17475]
2923 * locale/iso-639.def: Update Bhili and Tulu language codes as
2924 per iso639-3.
2925
2926 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2927
2928 * elf/tst-leaks1.c (main): Converted to ...
2929 (do_test): ... this.
2930 (TEST_FUNCTION): New macro.
2931 Include test-skeleton.c.
2932 * localedata/tst-langinfo.c (main): Converted to ...
2933 (do_test): ... this.
2934 (TEST_FUNCTION): New macro.
2935 Include test-skeleton.c.
2936 * math/test-fpucw.c (main): Converted to ...
2937 (do_test): ... this.
2938 (TEST_FUNCTION): New macro.
2939 Include test-skeleton.c.
2940 * math/test-tgmath.c (main): Converted to ...
2941 (do_test): ... this.
2942 (TEST_FUNCTION): New macro.
2943 Include test-skeleton.c.
2944 * math/test-tgmath2.c (main): Converted to ...
2945 (do_test): ... this.
2946 (TEST_FUNCTION): New macro.
2947 Include test-skeleton.c.
2948 * setjmp/tst-setjmp.c (main): Converted to ...
2949 (do_test): ... this.
2950 (TEST_FUNCTION): New macro.
2951 Include test-skeleton.c.
2952 * stdio-common/tst-sscanf.c (main): Converted to ...
2953 (do_test): ... this.
2954 (TEST_FUNCTION): New macro.
2955 Include test-skeleton.c.
2956 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2957 (do_test): ... this.
2958 (TEST_FUNCTION): New macro.
2959 Include test-skeleton.c.
2960
2961 * elf/tst-audit9.c (main): Converted to ...
2962 (do_test): ... this.
2963 (TEST_FUNCTION): New macro.
2964 Include test-skeleton.c.
2965
2966 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2967
2968 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2969
2970 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2971
2972 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2973 New variable.
2974
2975 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2976
2977 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2978
2979 2015-07-14 Roland McGrath <roland@hack.frob.com>
2980
2981 * sysdeps/generic/dl-fileid.h: New file.
2982 * sysdeps/posix/dl-fileid.h: New file.
2983 * sysdeps/nacl/dl-fileid.h: New file.
2984 * include/link.h: Include <dl-fileid.h>.
2985 (struct link_map): Replace l_dev and l_ino with l_file_id.
2986 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2987 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2988 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2989
2990 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2991
2992 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2993
2994 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2995
2996 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2997 Add iff $CXX is set.
2998 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2999 Likewise.
3000 (tst-nodelete-zmodiff): Likewise.
3001 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3002
3003 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
3005 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3006
3007 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3008
3009 * sysdeps/aarch64/fpu/math_private.h
3010 (define math_opt_barrier): Add AArch64 version.
3011 (math_force_eval): Likewise.
3012
3013 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3014
3015 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3016
3017 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3020 %ld with %jd and cast to intmax_t.
3021 (do_test_length_zero): Likewise.
3022
3023 2015-07-10 Roland McGrath <roland@hack.frob.com>
3024
3025 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3026
3027 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3028
3029 * sysdeps/tile/libm-test-ulps: Regenerated.
3030
3031 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3032 Comment out the whole function, not just its body.
3033
3034 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3037 locks.
3038
3039 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3040
3041 2015-07-10 Torvald Riegel <triegel@redhat.com>
3042
3043 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3044 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3045
3046 2015-07-10 Torvald Riegel <triegel@redhat.com>
3047
3048 * sysdeps/nptl/futex-internal.h: New file.
3049 * sysdeps/nacl/futex-internal.h: New file.
3050 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3051 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3052 error checking.
3053 (setxid_unmark_thread): Likewise.
3054 (__nptl_setxid): Likewise.
3055 (__wait_lookup_done): Likewise.
3056 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3057 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3058 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3059 * nptl/pthread_once.c (clear_once_control): Likewise.
3060 (__pthread_once_slow): Likewise.
3061 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3062 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3063 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3064 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3065 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3066 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3067 Likewise.
3068 (__pthread_rwlock_rdlock): Likewise.
3069 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3070 Likewise.
3071 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3072 Likewise.
3073 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3074 Likewise.
3075 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3076 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3077 Likewise.
3078 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3079 __ASSUME_PRIVATE_FUTEX check.
3080 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3081 Check that shared futexes are supported.
3082 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3083 wrappers with error checking.
3084 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3085 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3086 * nptl/pthread_barrierattr_setpshared.c
3087 (pthread_barrierattr_setpshared): Check that shared futexes are
3088 supported.
3089 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3090 Likewise.
3091 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3092 Likewise.
3093 * nptl/sem_init.c (futex_private_if_supported): Remove.
3094 (__new_sem_init): Adapt and check that shared futexes are supported.
3095 * nptl/sem_open.c (sem_open): Likewise.
3096 * nptl/sem_post.c (futex_wake): Remove.
3097 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3098 (do_futex_wait): Use futex wrappers with error checking.
3099 * nptl/sem_wait.c: Include lowlevellock.h.
3100 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3101 Use futex_supports_pshared.
3102 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3103 Use futex wrappers with error checking.
3104 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3105 Likewise.
3106 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3107 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3108 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3109 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3110 (futex_wake): Likewise.
3111 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3112 (do_futex_wait): Use futex wrappers with error checking.
3113 (__new_sem_wait_slow): Update EINTR handling.
3114 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3115
3116 2015-07-09 Martin Sebor <msebor@redhat.com>
3117
3118 [BZ #18435]
3119 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3120 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3121 * nptl/Makefile (test-xfail-tst-once5): Define.
3122
3123 2015-07-09 Roland McGrath <roland@hack.frob.com>
3124
3125 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3126 * elf/dl-minimal.c: For readability, reorder some definitions and
3127 introduce more page breaks. Include <stdio.h>.
3128 (__libc_fatal): New function.
3129
3130 * include/unistd.h: Add rtld_hidden_proto for _exit.
3131 * posix/_exit.c: Add rtld_hidden_def.
3132 * sysdeps/mach/hurd/_exit.c: Likewise.
3133 * sysdeps/nacl/_exit.c: Likewise.
3134 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3135 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3136
3137 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3140 bndmov encoding with zero displacement.
3141
3142 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3143 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 [BZ #18134]
3146 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3147 * sysdeps/i386/configure: Regenerated.
3148 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3149 (_dl_runtime_profile): Save and restore Intel MPX return bound
3150 registers when calling _dl_call_pltexit. Add
3151 PRESERVE_BND_REGS_PREFIX before return.
3152 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3153 (LRV_BND1_OFFSET): Likewise.
3154 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3155 lrv_bnd1.
3156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3157 typo in bndmov encoding.
3158 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3159 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3160 branch instructions to preserve bounds.
3161
3162 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3163
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3165 [GLIBC_2.22]: Add fmemopen.
3166
3167 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3168
3169 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3170 returns an error, also try to use host port from __mach_host_self for
3171 the __vm_wire call.
3172 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3173
3174 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3175
3176 [BZ #18400]
3177 [BZ #18648]
3178 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3179 Fix pr_uid and pr_gid members.
3180 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3181 definition to elf_greg_t.
3182
3183 2015-07-08 Roland McGrath <roland@hack.frob.com>
3184
3185 [BZ #18383]
3186 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3187 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3188 * sysdeps/arm/configure: Regenerated.
3189 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3190 (test-xfail-tst-tlsalign-static): Variable removed.
3191
3192 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3193 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3194 rather than explicit 'ln -s'.
3195
3196 * resolv/rpc/netdb.h: New file.
3197 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3198
3199 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3200
3201 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3202 length buffers.
3203 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3204 test-skeleton.c.
3205
3206 [BZ #6544]
3207 [BZ #11216]
3208 [BZ #12836]
3209 [BZ #13151]
3210 [BZ #13152]
3211 [BZ #14292]
3212 * include/stdio.h (fmemopen): Remove hidden prototype.
3213 (__fmemopen): Add new hidden prototype.
3214 * libio/Makefile: Add oldfmemopen object.
3215 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3216 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3217 compliance.
3218 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3219 symbol compatibility.
3220 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3221 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3222 fmemopen.
3223 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3224 on append and read mode.
3225 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3226 fmemopen.
3227 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3228 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3229 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3230 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3233 [GLIBC_2.22]: Likewise.
3234 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3237 Likewise.
3238 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3239 [GLIBC_2.22]: Likewise.
3240 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3241 [GLIBC_2.22]: Likewise.
3242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3243 [GLIBC_2.22]: Likewise.
3244 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3245 [GLIBC_2.22]: Likewise.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3247 [GLIBC_2.22]: Likewise.
3248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3249 [GLIBC_2.22]: Likewise.
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3251 [GLIBC_2.22]: Likewise.
3252 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3253 Likewise.
3254 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3255 Likewise.
3256 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3257 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3258 [GLIBC_2.22]: Likewise.
3259 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3260 [GLIBC_2.22]: Likewise.
3261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3262 [GLIBC_2.22]: Likewise.
3263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3264 [GLIBC_2.22]: Likewise.
3265 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3268 Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3270 Likewise.
3271 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3272 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3273
3274 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3275
3276 [BZ #18643]
3277 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3278 IPV6_PATHMTU, and IPV6_DONTFRAG.
3279
3280 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3281
3282 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3283 and _IO_UNBUFFERED.
3284 * libio/oldfileops.c: Likewise.
3285 * libio/wfileops.c: Likewise.
3286
3287 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3288
3289 * nscd/selinux.c: Delete selinux/flask.h include.
3290
3291 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3292
3293 [BZ #18641]
3294 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3295 (putpwent): Likewise.
3296 (getpwnam): Likewise.
3297 (getpwent_r): Likewise.
3298 (getpwuid_r): Likewise.
3299 (getpwnam_r): Likewise.
3300 (fgetpwent_r): Likewise.
3301
3302 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3303
3304 [BZ #18557]
3305 * inet/rcmd.c (__validuser2_sa): Check user first to
3306 short-circuit host check.
3307
3308 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3309 Mikhail Ilin <m.ilin@samsung.com>
3310
3311 [BZ #17833]
3312 * elf/Makefile (tests): Add tst-nodelete.
3313 (modules-names): Add tst-nodelete-uniquemod.
3314 (tst-nodelete-uniquemod.so-no-z-defs): New.
3315 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3316 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3317 ($(objpfx)tst-nodelete): Likewise.
3318 ($(objpfx)tst-nodelete.out): Likewise.
3319 (LDFLAGS-tst-nodelete): Likewise.
3320 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3321 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3322 implement forced object deletion.
3323 (_dl_close): Pass false to _dl_close_worker.
3324 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3325 * elf/tst-nodelete.cc: New file.
3326 * elf/tst-nodeletelib.cc: Likewise.
3327 * elf/tst-znodeletelib.cc: Likewise.
3328 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3329
3330 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3331
3332 [BZ #18508]
3333 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3334 Depend on $(libdl).
3335 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3336 is not called infinitely times.
3337 (backtrace_helper): New function.
3338 (trace_arg): New struct.
3339 (st1): Enlarge stack size.
3340 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3341 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3342 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3343 Likewise.
3344
3345 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3346
3347 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3348
3349 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3350
3351 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3352 Include sys/types.h instead of bits/types.h.
3353 Remove inclusion of bits/wordsize.h.
3354
3355 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3358 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3359 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3360 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3361 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3362 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3363
3364 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3367 link-defines.sym.
3368 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3369 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3370 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3371 and LR_SIZE.
3372 * sysdeps/i386/link-defines.sym: New file.
3373
3374 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3377 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3378 ($(objpfx)tst-audit3): New rule.
3379 ($(objpfx)tst-audit3.out): Likewise.
3380 * sysdeps/i386/tst-audit3.c: New file.
3381 * sysdeps/i386/tst-audit3.h: Likewise.
3382 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3383 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3384
3385 2015-07-07 Torvald Riegel <triegel@redhat.com>
3386
3387 [BZ #18633]
3388 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3389 pointer in C code.
3390 (__strcat_c): Likewise.
3391 (__strcat_g): Likewise.
3392
3393 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3394
3395 [BZ #18592]
3396 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3397
3398 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3399
3400 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3401 New function. (__ieee754_sqrtf): New function.
3402 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3403 New function.
3404 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3405 New function.
3406
3407 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3408
3409 * sysdeps/ieee754/support.c: Remove unused file.
3410
3411 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3412
3413 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3414 registers instead of d ones so the layout is kernel abi compatible.
3415 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3416 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3417 Likewise.
3418
3419 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3420
3421 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3422
3423 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #18619]
3426 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3427 and return argument in case of subnormal argument.
3428
3429 2015-07-01 Martin Sebor <msebor@redhat.com>
3430
3431 [BZ #18435]
3432 * nptl/Makefile: Add tst-once5.cc.
3433 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3434 Remove macro redefinitions.
3435 * nptl/tst-once5.cc: New test.
3436
3437 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3438
3439 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3440
3441 * sysdeps/arm/libm-test-ulps: Regenerated.
3442
3443 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3444 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3445
3446 2015-06-30 Torvald Riegel <triegel@redhat.com>
3447
3448 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3449 lll_lock_wait_private and lll_futex_wake probes.
3450
3451 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3452 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3453 Likewise.
3454 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3455 atomic_spin_nop.
3456 * sysdeps/x86_64/bits/atomic.h: Likewise.
3457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3458 to atomic_spin_nop and move ...
3459 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3460 ... here and ...
3461 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3462 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3463 atomic_spin_nop instead of BUSY_WAIT_NOP.
3464 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3465 Likewise.
3466 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3467 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3468 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3469 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3470 instead of atomic_delay.
3471
3472 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3473
3474 [BZ #18613]
3475 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3476 X_ADJ not X when adjusting exponent.
3477 (__ieee754_gamma_r): Do intermediate computations in
3478 round-to-nearest then adjust overflowing and underflowing results
3479 as needed.
3480 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3481 of X_ADJ not X when adjusting exponent.
3482 (__ieee754_gammaf_r): Do intermediate computations in
3483 round-to-nearest then adjust overflowing and underflowing results
3484 as needed.
3485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3486 log of X_ADJ not X when adjusting exponent.
3487 (__ieee754_gammal_r): Do intermediate computations in
3488 round-to-nearest then adjust overflowing and underflowing results
3489 as needed. Use 1.0L not 1.0f as numerator of division.
3490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3491 log of X_ADJ not X when adjusting exponent.
3492 (__ieee754_gammal_r): Do intermediate computations in
3493 round-to-nearest then adjust overflowing and underflowing results
3494 as needed. Use 1.0L not 1.0f as numerator of division.
3495 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3496 of X_ADJ not X when adjusting exponent.
3497 (__ieee754_gammal_r): Do intermediate computations in
3498 round-to-nearest then adjust overflowing and underflowing results
3499 as needed. Use 1.0L not 1.0f as numerator of division.
3500 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3501 to auto-libm-test-in.
3502 (tgamma_test): Use ALL_RM_TEST.
3503 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3504 tests of tgamma with spurious-overflow.
3505 * math/auto-libm-test-out: Regenerated.
3506 * math/gen-libm-have-vector-test.sh: Do not check for START.
3507 * sysdeps/i386/fpu/libm-test-ulps: Update.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
3510 [BZ #18612]
3511 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3512 arguments, just return 0.5 times the argument, with underflow
3513 forced as needed.
3514 * math/auto-libm-test-in: Add more tests of j1.
3515 * math/auto-libm-test-out: Regenerated.
3516
3517 [BZ #16559]
3518 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3519 (__ieee754_j1): Force underflow exception for small results.
3520 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3522 (__ieee754_j1f): Force underflow exception for small results.
3523 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3524 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3526 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3527 (__ieee754_j1l): Force underflow exception for small results.
3528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3529 * math/auto-libm-test-in: Add more tests of j1 and jn.
3530 * math/auto-libm-test-out: Regenerated.
3531
3532 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3533 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3534 (PF_MPLS): Likewise.
3535 (AF_IB): Likewise.
3536 (AF_MPLS): Likewise.
3537 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3538 value and macro.
3539 (MS_RMT_MASK): Include MS_LAZYTIME.
3540
3541 2015-06-26 Mel Gorman <mgorman@suse.de>
3542
3543 [BZ #18502]
3544 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3545 already minimal.
3546
3547 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3548
3549 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3550 (DT_MIPS_NUM): Update.
3551 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3552 DT_MIPS_RLD_MAP_REL.
3553
3554 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3555
3556 [BZ #16559]
3557 [BZ #18602]
3558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3559 round-to-nearest internally then recompute results that
3560 underflowed to zero in the original rounding mode.
3561 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3562 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3565 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3566 * sysdeps/i386/fpu/libm-test-ulps: Update.
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3568
3569 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3570
3571 * NEWS: Fixed description of link with vector math library.
3572
3573 2015-06-25 Andreas Schwab <schwab@suse.de>
3574
3575 [BZ #18549]
3576 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3577 * libio/test-fmemopen.c (do_test): Add test for it.
3578
3579 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 [BZ #17841]
3582 * Makeconfig (no-pie-ldflag): New.
3583 (+link): Set to $(+link-pie) if default to PIE.
3584 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3585 * config.make.in (build-pie-default): New.
3586 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3587 is default. AC_SUBST.
3588 * configure: Regenerated.
3589 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3590
3591 2015-06-24 Roland McGrath <roland@hack.frob.com>
3592
3593 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3594 to 'unsigned int'.
3595
3596 * resolv/gai_misc.h (struct waitlist): Change type of field
3597 counterp to 'volatile unsigned int *'.
3598 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3599 FUTEXADDR and OLDVAL.
3600 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3601 Give local variable TOTAL type 'volatile unsigned int'.
3602 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3603 * resolv/gai_suspend.c (gai_suspend):
3604 Give local variable CNTR type 'unsigned int'.
3605
3606 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3607 counterp to 'volatile unsigned int *'.
3608 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3609 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3610 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3611 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3612 Give local variable TOTAL type 'volatile unsigned int'.
3613 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3614
3615 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 [BZ #18383]
3618 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3619 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3620 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3621 comment for i386/x86-64.
3622 (test-xfail-tst-tlsalign-extern-static): Removed.
3623
3624 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3625
3626 * math/test-double.h: New file.
3627 * math/test-float.h: Likewise.
3628 * math/test-ldouble.h: Likewise.
3629 * math/test-math-inline.h: Likewise.
3630 * math/test-math-no-inline.h: Likewise.
3631 * math/test-math-scalar.h: Likewise.
3632 * math/test-math-vector.h: Likewise.
3633 * math/test-vec-loop.h: Remove file. Contents moved into
3634 test-math-vector.h.
3635 * math/libm-test.inc (MATHCONST): Do not document macro.
3636 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3637 and test-math-scalar.h.
3638 (FUNC): Remove macro.
3639 (FUNC_TEST): Likewise.
3640 (FLOAT): 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 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3649 and test-math-scalar.h.
3650 (FUNC): Remove macro.
3651 (FUNC_TEST): Likewise.
3652 (FLOAT): Likewise.
3653 (MATHCONST): Likewise.
3654 (PRINTF_EXPR): Likewise.
3655 (PRINTF_XEXPR): Likewise.
3656 (PRINTF_NEXPR): Likewise.
3657 (TEST_FLOAT): Likewise.
3658 (TEST_MATHVEC): Likewise.
3659 (__NO_MATH_INLINES): Likewise.
3660 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3661 and test-math-scalar.h.
3662 (FUNC): Remove macro.
3663 (FUNC_TEST): Likewise.
3664 (FLOAT): Likewise.
3665 (MATHCONST): Likewise.
3666 (PRINTF_EXPR): Likewise.
3667 (PRINTF_XEXPR): Likewise.
3668 (PRINTF_NEXPR): Likewise.
3669 (TEST_DOUBLE): Likewise.
3670 (TEST_MATHVEC): Likewise.
3671 (TEST_INLINE): Likewise.
3672 (__NO_MATH_INLINES): Likewise.
3673 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3674 test-math-scalar.h.
3675 (FUNC): Remove macro.
3676 (FUNC_TEST): Likewise.
3677 (FLOAT): Likewise.
3678 (MATHCONST): Likewise.
3679 (PRINTF_EXPR): Likewise.
3680 (PRINTF_XEXPR): Likewise.
3681 (PRINTF_NEXPR): Likewise.
3682 (TEST_FLOAT): Likewise.
3683 (TEST_MATHVEC): Likewise.
3684 (TEST_INLINE): Likewise.
3685 (__NO_MATH_INLINES): Likewise.
3686 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3687 and test-math-scalar.h.
3688 (FUNC): Remove macro.
3689 (FUNC_TEST): Likewise.
3690 (FLOAT): Likewise.
3691 (MATHCONST): Likewise.
3692 (PRINTF_EXPR): Likewise.
3693 (PRINTF_XEXPR): Likewise.
3694 (PRINTF_NEXPR): Likewise.
3695 (TEST_LDOUBLE): Likewise.
3696 (TEST_MATHVEC): Likewise.
3697 (TEST_INLINE): Likewise.
3698 (__NO_MATH_INLINES): Likewise.
3699 * math/test-ldouble.c: Include test-ldouble.h,
3700 test-math-no-inline.h and test-math-scalar.h.
3701 (FUNC): Remove macro.
3702 (FUNC_TEST): Likewise.
3703 (FLOAT): Likewise.
3704 (MATHCONST): Likewise.
3705 (PRINTF_EXPR): Likewise.
3706 (PRINTF_XEXPR): Likewise.
3707 (PRINTF_NEXPR): Likewise.
3708 (TEST_LDOUBLE): Likewise.
3709 (TEST_MATHVEC): Likewise.
3710 (__NO_MATH_INLINES): Likewise.
3711 * math/test-double-vlen2.h: Include test-double.h,
3712 test-math-no-inline.h and test-math-vector.h.
3713 (FLOAT): Remove macro.
3714 (FUNC): Likewise.
3715 (MATHCONST): Likewise.
3716 (PRINTF_EXPR): Likewise.
3717 (PRINTF_XEXPR): Likewise.
3718 (PRINTF_NEXPR): Likewise.
3719 (TEST_DOUBLE): Likewise.
3720 (TEST_MATHVEC): Likewise.
3721 (__NO_MATH_INLINES): Likewise.
3722 (CNCT): Likewise.
3723 (CONCAT): Likewise.
3724 (WRAPPER_NAME): Likewise.
3725 (WRAPPER_DECL): Likewise.
3726 (WRAPPER_DECL_ff): Likewise.
3727 (WRAPPER_DECL_fFF): Likewise.
3728 (VECTOR_WRAPPER): Likewise.
3729 (VECTOR_WRAPPER_ff): Likewise.
3730 (VECTOR_WRAPPER_fFF): Likewise.
3731 (VEC_LEN): New macro.
3732 * math/test-double-vlen4.h: Include test-double.h,
3733 test-math-no-inline.h and test-math-vector.h.
3734 (FLOAT): Remove macro.
3735 (FUNC): Likewise.
3736 (MATHCONST): Likewise.
3737 (PRINTF_EXPR): Likewise.
3738 (PRINTF_XEXPR): Likewise.
3739 (PRINTF_NEXPR): Likewise.
3740 (TEST_DOUBLE): Likewise.
3741 (TEST_MATHVEC): Likewise.
3742 (__NO_MATH_INLINES): Likewise.
3743 (CNCT): Likewise.
3744 (CONCAT): Likewise.
3745 (WRAPPER_NAME): Likewise.
3746 (WRAPPER_DECL): Likewise.
3747 (WRAPPER_DECL_ff): Likewise.
3748 (WRAPPER_DECL_fFF): Likewise.
3749 (VECTOR_WRAPPER): Likewise.
3750 (VECTOR_WRAPPER_ff): Likewise.
3751 (VECTOR_WRAPPER_fFF): Likewise.
3752 (VEC_LEN): New macro.
3753 * math/test-double-vlen8.h: Include test-double.h,
3754 test-math-no-inline.h and test-math-vector.h.
3755 (FLOAT): Remove macro.
3756 (FUNC): Likewise.
3757 (MATHCONST): Likewise.
3758 (PRINTF_EXPR): Likewise.
3759 (PRINTF_XEXPR): Likewise.
3760 (PRINTF_NEXPR): Likewise.
3761 (TEST_DOUBLE): Likewise.
3762 (TEST_MATHVEC): Likewise.
3763 (__NO_MATH_INLINES): Likewise.
3764 (CNCT): Likewise.
3765 (CONCAT): Likewise.
3766 (WRAPPER_NAME): Likewise.
3767 (WRAPPER_DECL): Likewise.
3768 (WRAPPER_DECL_ff): Likewise.
3769 (WRAPPER_DECL_fFF): Likewise.
3770 (VECTOR_WRAPPER): Likewise.
3771 (VECTOR_WRAPPER_ff): Likewise.
3772 (VECTOR_WRAPPER_fFF): Likewise.
3773 (VEC_LEN): New macro.
3774 * math/test-float-vlen4.h: Include test-float.h,
3775 test-math-no-inline.h and test-math-vector.h.
3776 (FLOAT): Remove macro.
3777 (FUNC): Likewise.
3778 (MATHCONST): Likewise.
3779 (PRINTF_EXPR): Likewise.
3780 (PRINTF_XEXPR): Likewise.
3781 (PRINTF_NEXPR): Likewise.
3782 (TEST_FLOAT): Likewise.
3783 (TEST_MATHVEC): Likewise.
3784 (__NO_MATH_INLINES): Likewise.
3785 (CNCT): Likewise.
3786 (CONCAT): Likewise.
3787 (WRAPPER_NAME): Likewise.
3788 (WRAPPER_DECL): Likewise.
3789 (WRAPPER_DECL_ff): Likewise.
3790 (WRAPPER_DECL_fFF): Likewise.
3791 (VECTOR_WRAPPER): Likewise.
3792 (VECTOR_WRAPPER_ff): Likewise.
3793 (VECTOR_WRAPPER_fFF): Likewise.
3794 (VEC_LEN): New macro.
3795 * math/test-float-vlen8.h: Include test-float.h,
3796 test-math-no-inline.h and test-math-vector.h.
3797 (FLOAT): Remove macro.
3798 (FUNC): Likewise.
3799 (MATHCONST): Likewise.
3800 (PRINTF_EXPR): Likewise.
3801 (PRINTF_XEXPR): Likewise.
3802 (PRINTF_NEXPR): Likewise.
3803 (TEST_FLOAT): Likewise.
3804 (TEST_MATHVEC): Likewise.
3805 (__NO_MATH_INLINES): Likewise.
3806 (CNCT): Likewise.
3807 (CONCAT): Likewise.
3808 (WRAPPER_NAME): Likewise.
3809 (WRAPPER_DECL): Likewise.
3810 (WRAPPER_DECL_ff): Likewise.
3811 (WRAPPER_DECL_fFF): Likewise.
3812 (VECTOR_WRAPPER): Likewise.
3813 (VECTOR_WRAPPER_ff): Likewise.
3814 (VECTOR_WRAPPER_fFF): Likewise.
3815 (VEC_LEN): New macro.
3816 * math/test-float-vlen16.h: Include test-float.h,
3817 test-math-no-inline.h and test-math-vector.h.
3818 (FLOAT): Remove macro.
3819 (FUNC): Likewise.
3820 (MATHCONST): Likewise.
3821 (PRINTF_EXPR): Likewise.
3822 (PRINTF_XEXPR): Likewise.
3823 (PRINTF_NEXPR): Likewise.
3824 (TEST_FLOAT): Likewise.
3825 (TEST_MATHVEC): Likewise.
3826 (__NO_MATH_INLINES): Likewise.
3827 (CNCT): Likewise.
3828 (CONCAT): Likewise.
3829 (WRAPPER_NAME): Likewise.
3830 (WRAPPER_DECL): Likewise.
3831 (WRAPPER_DECL_ff): Likewise.
3832 (WRAPPER_DECL_fFF): Likewise.
3833 (VECTOR_WRAPPER): Likewise.
3834 (VECTOR_WRAPPER_ff): Likewise.
3835 (VECTOR_WRAPPER_fFF): Likewise.
3836 (VEC_LEN): New macro.
3837 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3838 test-vec-loop.h.
3839 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3840 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3841 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3842 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3843 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3844 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3845 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3846
3847 2015-06-24 Roland McGrath <roland@hack.frob.com>
3848
3849 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3850 (__getlogin_r): ... this.
3851
3852 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3853
3854 [BZ #18594]
3855 * math/s_ccosh.c (__ccosh): Compare with least normal value
3856 instead of comparing class with FP_SUBNORMAL.
3857 * math/s_ccoshf.c (__ccoshf): Likewise.
3858 * math/s_ccoshl.c (__ccoshl): Likewise.
3859 * math/s_cexp.c (__cexp): Likewise.
3860 * math/s_cexpf.c (__cexpf): Likewise.
3861 * math/s_cexpl.c (__cexpl): Likewise.
3862 * math/s_csin.c (__csin): Likewise.
3863 * math/s_csinf.c (__csinf): Likewise.
3864 * math/s_csinh.c (__csinh): Likewise.
3865 * math/s_csinhf.c (__csinhf): Likewise.
3866 * math/s_csinhl.c (__csinhl): Likewise.
3867 * math/s_csinl.c (__csinl): Likewise.
3868 * math/s_ctan.c (__ctan): Likewise.
3869 * math/s_ctanf.c (__ctanf): Likewise.
3870 * math/s_ctanh.c (__ctanh): Likewise.
3871 * math/s_ctanhf.c (__ctanhf): Likewise.
3872 * math/s_ctanhl.c (__ctanhl): Likewise.
3873 * math/s_ctanl.c (__ctanl): Likewise.
3874 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3875 csin, csinh, ctan and ctanh.
3876 * math/auto-libm-test-out: Regenerated.
3877 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3878 * sysdeps/i386/fpu/libm-test-ulps: Update.
3879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3880
3881 2015-06-24 Roland McGrath <roland@hack.frob.com>
3882
3883 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3884 return value is wrong, print the expected value too.
3885
3886 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 [BZ #18585]
3889 * elf/readlib.c (is_gdb_python_file): New.
3890 (process_file): Don't issue errors on filenames with -gdb.py
3891 suffix.
3892
3893 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3894
3895 * math/auto-libm-test-in: Add more tests of csin and csinh.
3896 * math/auto-libm-test-out: Regenerated.
3897 * math/libm-test.inc (csin_test_data): Remove tests moved to
3898 auto-libm-test-in.
3899 (csinh_test_data): Likewise.
3900
3901 [BZ #18593]
3902 * math/s_csin.c (__csin): Negate before rather than after possibly
3903 overflowing multiplication.
3904 * math/s_csinf.c (__csinf): Likewise.
3905 * math/s_csinh.c (__csinh): Likewise.
3906 * math/s_csinhf.c (__csinhf): Likewise.
3907 * math/s_csinhl.c (__csinhl): Likewise.
3908 * math/s_csinl.c (__csinl): Likewise.
3909 * math/auto-libm-test-in: Add some tests of csin and csinh.
3910 * math/auto-libm-test-out: Regenerated.
3911 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3912 (csinh_test_data): Likewise.
3913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3914
3915 [BZ #18586]
3916 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3917 underflow exception for small results.
3918
3919 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3920
3921 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3922 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3923 variable and included header.
3924 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3925 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3926 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3927 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3928 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3929 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3930 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3931 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3932 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3933 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3934 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3935 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3936 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3937 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3938 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3939 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3940
3941 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3942
3943 [BZ #16526]
3944 [BZ #16538]
3945 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3946 (__sin): Force underflow exception for arguments with small
3947 absolute value.
3948 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3949 (__kernel_sinf): Force underflow exception for arguments with
3950 small absolute value.
3951 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3952 (__kernel_sincosl): Force underflow exception for arguments with
3953 small absolute value.
3954 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3955 (__kernel_sinl): Force underflow exception for arguments with
3956 small absolute value.
3957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3958 (__kernel_sincosl): Force underflow exception for arguments with
3959 small absolute value.
3960 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3961 (__kernel_sinl): Force underflow exception for arguments with
3962 small absolute value.
3963 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3964 (__kernel_sinl): Force underflow exception for arguments with
3965 small absolute value.
3966 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3967 (__kernel_sinf): Force underflow exception for arguments with
3968 small absolute value.
3969 * math/auto-libm-test-in: Add more tests of sin and sincos.
3970 * math/auto-libm-test-out: Regenerated.
3971
3972 [BZ #18245]
3973 [BZ #18583]
3974 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3975 (__kernel_standard_l): Use feholdexcept and fesetenv around
3976 conversion to double instead of special-casing overflow and
3977 underflow.
3978 * math/libm-test.inc (fmod_test_data): Add more tests.
3979 (remainder_test_data): Likewise.
3980 (sqrt_test_data): Likewise.
3981
3982 2015-06-23 Torvald Riegel <triegel@redhat.com>
3983
3984 [BZ #17403]
3985 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3986 atomic_read_barrier, atomic_write_barrier): Define.
3987 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3988 atomic_read_barrier, atomic_write_barrier): Define.
3989
3990 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3991
3992 * math/Makefile [$(PERL) != no]
3993 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3994 dependency on libm-test.stmp below the inclusion of Rules.
3995
3996 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3997
3998 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3999 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4000 and included header.
4001 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4004 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4006 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4007 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4008 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4009 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4010 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4011 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4012 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4013 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4014 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4015 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4016 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4017 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4018 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4019 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4020
4021 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4022
4023 [BZ #18371]
4024 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4025 intermediate but not final result might underflow.
4026 * math/s_csqrtf.c (__csqrtf): Likewise.
4027 * math/s_csqrtl.c (__csqrtl): Likewise.
4028 * math/auto-libm-test-in: Add more tests of csqrt.
4029 * math/auto-libm-test-out: Regenerated.
4030 * sysdeps/i386/fpu/libm-test-ulps: Update.
4031
4032 [BZ #18219]
4033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4034 threshold on absolute value of exponent for which scaling is used.
4035 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4036 * math/auto-libm-test-in: Add more tests of exp2.
4037 * math/auto-libm-test-out: Regenerated.
4038
4039 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4040
4041 [BZ #17977]
4042 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4043 when initializing interface list, based on the bug analysis
4044 and the patch proposed by Eric Newton.
4045 * resolv/tst-res_hconf_reorder.c: New test.
4046 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4047 tst-res_hconf_reorder.
4048 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4049 and $(shared-thread-library).
4050 (tst-res_hconf_reorder-ENV): New variable.
4051
4052 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4053 in comment.
4054
4055 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #16353]
4058 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4059 (__expm1): Force underflow exception for arguments with small
4060 absolute value.
4061 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4062 (__expm1f): Force underflow exception for arguments with small
4063 absolute value.
4064 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4065 (__expm1): Force underflow exception for arguments with small
4066 absolute value.
4067 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4068 (__expm1f): Force underflow exception for arguments with small
4069 absolute value.
4070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4071 Check for small arguments before calling __expm1.
4072 * math/auto-libm-test-in: Do not mark underflow exceptions as
4073 possibly missing for bug 16353.
4074 * math/auto-libm-test-out: Regenerated.
4075
4076 2015-06-22 Andreas Schwab <schwab@suse.de>
4077
4078 [BZ #18513]
4079 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4080 PTR queries.
4081
4082 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4083
4084 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4085
4086 * string/strcoll_l.c: Remove unused struct element idxnow.
4087
4088 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4089
4090 [BZ #18569]
4091 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4092 underflow and return argument in case of subnormal argument.
4093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4094 Likewise.
4095 * math/auto-libm-test-in: Add more tests of expm1.
4096 * math/auto-libm-test-out: Regenerated.
4097
4098 [BZ #16361]
4099 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4100 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4101 tiny results.
4102 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4103 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4104 tiny results.
4105 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4106 mark underflow exceptions as possibly missing for bug 16361.
4107 * math/auto-libm-test-out: Regenerated.
4108
4109 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4110
4111 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4112 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4113 Remove variable.
4114 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4115 (test-xfail-XOPEN2K8/utmpx.h/conform).
4116
4117 * conform/conformtest.pl ($xerrors): New variable.
4118 (note_error): New function.
4119 (compiletest): New argument $xfail. Use not_error.
4120 (runtest): Likewise.
4121 (top level): Handle xfail- lines. Update calls to compiletest and
4122 runtest. Handle xfail- and optional- in headers listed with
4123 allow-header.
4124 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4125 (O_EXEC): Likewise.
4126 (O_SEARCH): Likewise.
4127 * conform/data/stropts.h-data (ioctl): Likewise.
4128 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4129 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4130 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4131 (msghdr.msg_controllen): Likewise.
4132 (cmsghdr.cmsg_len): Likewise.
4133 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4134 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4135 variable.
4136 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4137 (test-xfail-XPG4/stropts.h/conform): Likewise.
4138 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4139 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4140 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4141 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4142 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4143 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4144 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4145 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4146 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4147 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4148 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4149 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4150 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4151 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4152 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4153 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4154 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4155 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4156 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4157
4158 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4159
4160 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4161 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4162 definitions for proper unfolding of __MATHDECL_VEC.
4163
4164 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4165
4166 * benchtests/bench-strcoll.c:
4167 Include string.h.
4168 (main): Remove unused variable res.
4169
4170 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4171
4172 * timezone/Makefile (%/UTC %/Universal):
4173 Generate test-result files for UTC and Universal.
4174
4175 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4176
4177 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4178
4179 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4180
4181 [BZ #16350]
4182 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4183 for arguments with small absolute value.
4184 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4185 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4186 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4187 (__asinh): Force underflow exception for arguments with small
4188 absolute value.
4189 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4190 (__asinhf): Force underflow exception for arguments with small
4191 absolute value.
4192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4193 (__asinhl): Force underflow exception for arguments with small
4194 absolute value.
4195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4196 (__asinhl): Force underflow exception for arguments with small
4197 absolute value.
4198 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4199 (__asinhl): Force underflow exception for arguments with small
4200 absolute value.
4201 * math/auto-libm-test-in: Do not mark underflow exceptions as
4202 possibly missing for bug 16350.
4203 * math/auto-libm-test-out: Regenerated.
4204
4205 * include/bits/ipc.h: Remove file.
4206 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4207 variable.
4208 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4209 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4210 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4211 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4212 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4213 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4214 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4215 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4216 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4217
4218 * math/auto-libm-test-in: Remove spurious underflow allowance for
4219 tests of cexp.
4220 * math/auto-libm-test-out: Regenerated.
4221
4222 [BZ #18558]
4223 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4224 unconditional definition.
4225 (MCAST_BLOCK_SOURCE): Likewise.
4226 (MCAST_UNBLOCK_SOURCE): Likewise.
4227 (MCAST_LEAVE_GROUP): Likewise.
4228 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4229 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4230 (MCAST_MSFILTER): Likewise.
4231 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4232 Remove variable.
4233 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4234 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4235 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4236 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4237 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4238
4239 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4240
4241 * NEWS: Mention addition of x86_64 vector sincosf.
4242 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4243 * math/test-float-vlen4.h: Likewise.
4244 * math/test-float-vlen8.h: Likewise.
4245 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4246 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4247 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4248 * sysdeps/x86_64/fpu/Versions: New versions added.
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4250 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4251 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4252 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4253 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4254 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4255 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4256 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4257 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4258 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4259 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4260 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4261 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4262 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4263 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4264 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4265 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4266 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4267 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4268 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4269 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4270 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4271 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4272 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4273
4274 * NEWS: Mention addition of x86_64 vector sincos.
4275 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4276 * math/math.h (__MATHDECL_VEC): New macro.
4277 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4278 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4279 declaration under condition.
4280 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4281 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4282 TEST_VEC_LOOP change.
4283 * math/test-double-vlen4.h: Likewise.
4284 * math/test-double-vlen8.h: Likewise.
4285 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4286 * math/test-float-vlen4.h: Likewise.
4287 * math/test-float-vlen8.h: Likewise.
4288 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4289 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4290 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4291 * sysdeps/x86_64/fpu/Versions: New versions added.
4292 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4293 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4294 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4295 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4301 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4302 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4303 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4304 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4305 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4306 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4307 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4308 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4309 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4310 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4311 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4312 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4313 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4314 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4315 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4316
4317 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4318 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4319 redirections for powf.
4320 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4321 * sysdeps/x86_64/fpu/Versions: New versions added.
4322 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4323 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4324 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4325 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4326 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4327 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4328 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4329 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4330 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4331 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4332 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4333 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4334 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4335 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4336 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4337 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4338 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4339 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4340 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4341 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4342 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4343 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4344 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4345 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4346 * math/test-float-vlen16.h: Fixed 2 argument macro.
4347 * math/test-float-vlen4.h: Likewise.
4348 * math/test-float-vlen8.h: Likewise.
4349 * NEWS: Mention addition of x86_64 vector powf.
4350
4351 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4352
4353 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4354 and redefine.
4355 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4356 and redefine.
4357 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4360
4361 [BZ #18553]
4362 * resource/getpriority.c (getpriority): Rename to __getpriority
4363 and define as weak alias of __getpriority.
4364 * resource/setpriority.c (setpriority): Rename to __setpriority
4365 and define as weak alias of __setpriority.
4366 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4367 __getpriority and define as weak alias of __getpriority.
4368 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4369 __setpriority and define as weak alias of __setpriority.
4370 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4371 strong name.
4372 (setpriority): Use __setpriority as strong name.
4373 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4374 __getpriority and define as weak alias of __getpriority.
4375 * include/sys/resource.h (__getpriority): Declare. Use
4376 libc_hidden_proto.
4377 (__setpriority): Likewise.
4378 (getpriority): Don't use libc_hidden_proto.
4379 (setpriority): Likewise.
4380 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4381 getpriority. Call __setpriority instead of setpriority.
4382 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4383 Remove variable.
4384
4385 [BZ #18547]
4386 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4387 as weak alias of __getttynam. Use prototype function definition.
4388 Call __setttyent, __getttyent and __endttyent instead of
4389 setttyent, getttyent and endttyent.
4390 (getttyent): Rename to __getttyent and define as weak alias of
4391 __getttyent. Call __setttyent instead of setttyent. Call
4392 __fgets_unlocked instead of fgets_unlocked.
4393 (setttyent): Rename to __setttyent and define as weak alias of
4394 __setttyent.
4395 (endttyent): Rename to __endttyent and define as weak alias of
4396 __endttyent.
4397 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4398 (__setttyent): Likewise.
4399 (__endttyent): Likewise.
4400 (getttyent): Don't use libc_hidden_proto.
4401 (setttyent): Likewise.
4402 (endttyent): Likewise.
4403 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4404 __endttyent instead of setttyent, getttyent and endttyent.
4405 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4406 Remove variable.
4407
4408 [BZ #18546]
4409 * socket/recv.c (__recv): Use libc_hidden_def.
4410 * socket/socket.c (__socket): Likewise.
4411 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4412 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4413 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4414 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4415 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4416 libc_hidden_def.
4417 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4418 libc_hidden_weak.
4419 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4420 Use libc_hidden_proto.
4421 (__recv): Likewise.
4422 * socket/Versions (libc): Export __recv and __socket at version
4423 GLIBC_PRIVATE.
4424 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4425 instead of recv.
4426 (init_mq_netlink): Call __socket instead of socket.
4427 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4428 Remove variable.
4429
4430 [BZ #18545]
4431 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4432 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4433 hidden_weak.
4434 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4435 define as alias of __mq_timedsend. Use hidden_weak.
4436 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4437 __mq_timedsend as strong name.
4438 (mq_timedreceive): Use __mq_timedreceive as strong name.
4439 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4440 (__mq_timedreceive): Likewise.
4441 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4442 __mq_timedreceive instead of mq_timedreceive.
4443 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4444 instead of mq_timedsend.
4445 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4446 Remove variable.
4447
4448 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4449 hidden_def and hidden_weak instead of libc_hidden_def and
4450 libc_hidden_weak.
4451 (top level): Refer to hidden_def in comment.
4452 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4453 macro. Use it instead of libc_hidden_def.
4454 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4455 specify __GI_* name explicitly.
4456 (mq_timedreceive): Likewise.
4457 (mq_setattr): Likewise.
4458
4459 [BZ #18544]
4460 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4461 __pthread_barrier_init and define as weak alias of
4462 __pthread_barrier_init.
4463 * sysdeps/sparc/nptl/pthread_barrier_init.c
4464 (pthread_barrier_init): Likewise.
4465 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4466 __pthread_barrier_wait and define as weak alias of
4467 __pthread_barrier_wait.
4468 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4469 (pthread_barrier_wait): Likewise.
4470 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4471 (pthread_barrier_wait): Likewise.
4472 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4473 (pthread_barrier_wait): Likewise.
4474 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4475 (pthread_barrier_wait): Likewise.
4476 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4477 __pthread_barrier_wait at version GLIBC_PRIVATE.
4478 * include/pthread.h (__pthread_barrier_init): Declare.
4479 (__pthread_barrier_wait): Likewise.
4480 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4481 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4482 (helper_thread): Likewise.
4483 (init_mq_netlink): Call __pthread_barrier_init instead of
4484 pthread_barrier_init.
4485
4486 [BZ #18542]
4487 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4488 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4489 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4490 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4491 vswscanf.
4492 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4493 Remove variable.
4494
4495 [BZ #18540]
4496 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4497 strong alias of _IO_fflush. Use libc_hidden_def.
4498 * libio/iofflush_u.c (fflush_unlocked): Rename to
4499 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4500 Use libc_hidden_weak.
4501 * include/stdio.h (__fflush_unlocked): Declare. Use
4502 libc_hidden_proto.
4503 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4504 fflush_unlocked.
4505 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4506 Remove variable.
4507
4508 [BZ #18539]
4509 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4510 define as weak alias of __addseverity.
4511 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4512 Remove variable.
4513 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4514 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4515 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4516
4517 [BZ #18536]
4518 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4519 (__tfind): Likewise.
4520 (__tdelete): Likewise.
4521 (__twalk): Likewise.
4522 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4523 __twalk to GLIBC_PRIVATE.
4524 * include/search.h (__tsearch): Use libc_hidden_proto.
4525 (__tfind): Likewise.
4526 (__tdelete): Likewise.
4527 (__twalk): Likewise.
4528 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4529 Call __tdelete instead of tdelete.
4530 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4531 tfind. Call __tsearch instead of tsearch.
4532 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4533 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4534 Remove variable.
4535 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4536
4537 [BZ #18534]
4538 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4539 (dprintf): Define as a weak alias of __dprintf, not a strong
4540 alias.
4541 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4542 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4543 dprintf.
4544 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4545 Remove variable.
4546 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4547 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4548
4549 [BZ #18533]
4550 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4551 not a strong alias.
4552 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4553 Remove variable.
4554
4555 [BZ #18532]
4556 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4557 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4558 (in6addr_loopback): Rename to __in6addr_loopback and define as
4559 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4560 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4561 libc_hidden_proto.
4562 (__in6addr_any): Likewise.
4563 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4564 in6addr_any.
4565 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4566 variable.
4567 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4568
4569 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4570
4571 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4572 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4573 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4574 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4575 redirections for pow.
4576 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4577 * sysdeps/x86_64/fpu/Versions: New versions added.
4578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4579 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4580 build of SSE, AVX2 and AVX512 IFUNC versions.
4581 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4582 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4584 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4585 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4586 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4587 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4588 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4589 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4590 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4591 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4592 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4593 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4594 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4595 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4596 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4597 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4598 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4599 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4600 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4601 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4602 * NEWS: Mention addition of x86_64 vector pow.
4603
4604 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4605 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4606 redirections for expf.
4607 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4608 * sysdeps/x86_64/fpu/Versions: New versions added.
4609 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4610 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4611 build of SSE, AVX2 and AVX512 IFUNC versions.
4612 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4613 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4614 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4615 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4616 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4617 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4618 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4619 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4620 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4621 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4622 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4623 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4624 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4625 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4626 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4627 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4628 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4629 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4630 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4632 * NEWS: Mention addition of x86_64 vector expf.
4633
4634 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4635 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4636 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4637 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4638 redirections for exp.
4639 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4640 * sysdeps/x86_64/fpu/Versions: New versions added.
4641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4643 build of SSE, AVX2 and AVX512 IFUNC versions.
4644 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4645 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4646 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4647 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4648 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4649 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4650 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4651 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4652 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4653 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4654 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4655 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4656 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4657 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4658 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4659 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4660 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4661 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4662 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4663 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4664 * NEWS: Mention addition of x86_64 vector exp.
4665
4666 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4667 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4668 redirections for logf.
4669 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4670 * sysdeps/x86_64/fpu/Versions: New versions added.
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4672 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4673 build of SSE, AVX2 and AVX512 IFUNC versions.
4674 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4675 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4676 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4677 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4678 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4679 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4680 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4681 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4682 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4683 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4684 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4685 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4686 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4687 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4688 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4689 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4690 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4691 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4692 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4693 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4694 * NEWS: Mention addition of x86_64 vector logf.
4695
4696 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4697 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4698 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4699 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4700 redirections for log.
4701 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4702 * sysdeps/x86_64/fpu/Versions: New versions added.
4703 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4704 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4705 build of SSE, AVX2 and AVX512 IFUNC versions.
4706 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4707 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4708 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4709 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4710 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4711 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4712 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4713 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4714 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4715 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4716 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4717 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4718 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4719 test.
4720 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4721 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4722 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4723 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4724 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4725 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4726 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4727 * NEWS: Mention addition of x86_64 vector log.
4728
4729 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4730
4731 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4732 cfi_adjust_cfa_offset argument.
4733 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4734 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4735
4736 [BZ #18034]
4737 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4738 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4739 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4740 ordering using ldar.
4741 (_dl_tlsdesc_dynamic): Likewise.
4742 (_dl_tlsdesc_return_lazy): Likewise.
4743 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4744 relaxed atomics instead of volatile and synchronize with release store.
4745 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4746 volatile.
4747 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4748
4749 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4750
4751 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4752 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4753 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4754 * sysdeps/x86_64/fpu/Versions: New versions added.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4756 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4757 build of SSE, AVX2 and AVX512 IFUNC versions.
4758 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4759 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4760 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4761 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4762 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4763 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4764 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4765 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4766 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4767 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4768 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4769 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4770 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4771 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4772 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4773 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4774 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4775 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4776 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4777 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4778 * NEWS: Mention addition of x86_64 vector sinf.
4779
4780 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4781
4782 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4783 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4784 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4785 Remove variable.
4786 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4787 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4788
4789 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4790
4791 [BZ #18530]
4792 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4793 strong alias of _IO_fputs. Use libc_hidden_def.
4794 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4795 and define as weak alias of __fputs_unlocked. Use
4796 libc_hidden_weak.
4797 * include/stdio.h (__fputs_unlocked): Declare. Use
4798 libc_hidden_proto.
4799 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4800 fputs_unlocked.
4801
4802 [BZ #18529]
4803 * resolv/netdb.h [__USE_POSIX]: Change condition to
4804 [__USE_XOPEN2K].
4805 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4806 not expect.
4807 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4808 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4809 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4810 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4811 [XPG4 || UNIX98] (AI_ALL): Likewise.
4812 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4813 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4814 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4815 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4816 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4817 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4818 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4819 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4820 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4821 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4822 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4823 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4824 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4825 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4826 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4827 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4828 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4829 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4830 [XPG4 || UNIX98] (gai_strerror): Likewise.
4831 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4832 [XPG4 || UNIX98] (getnameinfo): Likewise.
4833
4834 [BZ #18528]
4835 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4836 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4837 __USE_XOPEN2K8].
4838 (getgrent): Likewise.
4839 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4840 expect.
4841 [XPG3 || POSIX2008] (endgrent): Likewise.
4842 [XPG3] (setgrent): Likewise.
4843 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4844 variable.
4845 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4846
4847 [BZ #18527]
4848 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4849 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4850 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4851 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4852 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4853 * include/unistd.h (__getlogin_r): Declare. Use
4854 libc_hidden_proto.
4855 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4856 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4857 variable.
4858 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4859 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4860 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4861
4862 2015-06-12 Martin Sebor <msebor@redhat.com>
4863
4864 [BZ #18512]
4865 * Makerules (check-install-supported): New target.
4866 (install): Add check-install-supported as a dependency.
4867 * manual/install.texi (Installing the C Library): Document
4868 that overriding prefix and exec_prefix is not supported.
4869 Mention DESTDIR.
4870 * INSTALL: Regenerate from the above.
4871
4872 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #18519]
4875 * posix/Versions (libc): Export __libc_pread at version
4876 GLIBC_PRIVATE.
4877 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4878 instead of pread.
4879 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4880 variable.
4881
4882 [BZ #18522]
4883 * misc/efgcvt_r.c
4884 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4885 (cvt_symbol): Use weak_alias instead of strong_alias.
4886 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4887 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4888 Remove variable.
4889 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4890 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4891
4892 [BZ #18520]
4893 * inet/herrno.c (h_errno): Rename to __h_errno.
4894 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4895 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4896 to __h_errno instead of h_errno.
4897 * nptl/herrno.c (h_errno): Rename to __h_errno.
4898 (__h_errno_location): Refer to __h_errno not h_errno.
4899 * resolv/Versions (h_errno): Rename to __h_errno.
4900 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4901 Remove variable.
4902 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4903
4904 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4905
4906 * configure.ac: More strict check for AVX512 assembler support.
4907 * configure: Regenerated.
4908
4909 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4910 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4911 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4912 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4913 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4914 * sysdeps/x86_64/fpu/Versions: New versions added.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4916 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4917 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4918 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4919 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4920 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4921 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4922 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4923 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4924 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4925 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4926 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4927 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4928 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4929 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4930 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4931 test.
4932 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4933 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4934 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4935 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4936 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4937 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4938 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4939 * NEWS: Mention addition of x86_64 vector sin.
4940
4941 2015-06-11 Florian Weimer <fweimer@redhat.com>
4942
4943 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4944 comment.
4945
4946 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4947
4948 [BZ #18479]
4949 * nptl/pt-interp.c: New file.
4950 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4951 Add pt-interp.
4952 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4953 $(common-objpfx)runtime-linker.h.
4954
4955 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4956
4957 * Makeconfig (+interp): Remove unused variable.
4958 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4959 only. Depend on $(common-objpfx)runtime-linker.h instead of
4960 $(elf-objpfx)runtime-linker.h.
4961 ($(elf-objpfx)runtime-linker.h): Rename to
4962 $(common-objpfx)runtime-linker.h and move ...
4963 * Makerules [$(build-shared) = yes]: ... here.
4964 * elf/interp.c: Include <runtime-linker.h> instead of
4965 <elf/runtime-linker.h>.
4966
4967 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4968
4969 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4970 (__gettimeofday_syscall): Remove vsyscall fallback.
4971 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4972 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4973 Add syscall fallback function.
4974 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4975 if vDSO is not present.
4976 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4977 fallback function.
4978 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4979 present.
4980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4981 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4982
4983 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4984
4985 [BZ #18497]
4986 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4987 of wcscmp.
4988 (wcscmp): Define as weak alias of WCSCMP.
4989 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4990 wcscoll.
4991 (USE_HIDDEN_DEF): Define.
4992 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4993 __wcscoll. Don't use libc_hidden_weak.
4994 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4995 wcscmp.
4996 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4997 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4998 __GI_wcscmp.
4999 (weak_alias): Undefine and redefine.
5000 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5001 __wcscmp and define as weak alias of __wcscmp.
5002 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5003 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5004 (__wcscoll): Likewise.
5005 (wcscmp): Don't use libc_hidden_proto.
5006 (wcscoll): Likewise.
5007 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5008 wcscoll.
5009 * posix/regexec.c (check_node_accept_bytes): Likewise.
5010 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5011 variable.
5012 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5013 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5014
5015 [BZ #18507]
5016 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5017 __fstatvfs and define as weak alias of __fstatvfs. Use
5018 libc_hidden_weak.
5019 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5020 and define as weak alias of __statvfs. Use libc_hidden_weak.
5021 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5022 Define as alias of __fstatvfs, not fstatvfs.
5023 (fstatvfs64): Likewise.
5024 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5025 Define as alias of __statvfs, not statvfs.
5026 (statvfs64): Likewise.
5027 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5028 Remove variable.
5029
5030 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5031
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5033 (HAVE_GETCPU_VSYSCALL): Define.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5035 (HAVE_GETCPU_VSYSCALL): Likewise.
5036 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5037 * sysdeps/unix/sysv/linux/sched_getcpu.c
5038 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5039 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5040 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5041 prototype.
5042 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5043 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5046 Define.
5047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5048 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5051
5052 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5053
5054 * sysdeps/x86_64/fpu/Makefile: New file.
5055 * sysdeps/x86_64/fpu/Versions: New file.
5056 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5057 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5058 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5059 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5060 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5061 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5062 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5063 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5064 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5066 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5068 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5069 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5070 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5071 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5072 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5073 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5074 * sysdeps/x86_64/configure: Regenerated.
5075 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5076 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5077 * manual/install.texi (Configuring and compiling): Document
5078 --disable-mathvec.
5079 * INSTALL: Regenerated.
5080 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5081
5082 * math/Makefile: Added rules for vector tests.
5083 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5084 declaration under condition.
5085 * math/test-double-vlen2.h: New file.
5086 * math/test-double-vlen4.h: New file.
5087 * math/test-double-vlen8.h: New file.
5088 * math/test-vec-loop.h: Added initialization macro.
5089 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5090 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5091 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5092 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5093 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5094 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5095 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5096 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5097 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5098 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5099 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5100
5101 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5102 * sysdeps/x86_64/fpu/Versions: New versions added.
5103 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5104 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5105 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5106 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5107 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5108 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5109 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5110 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5111 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5112 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5113 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5114 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5115 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5116 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5117 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5118 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5119 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5120 * NEWS: Mention addition of x86_64 vector cosf.
5121
5122 * math/Makefile: Added CFLAGS for new tests.
5123 * math/test-float-vlen16.h: New file.
5124 * math/test-float-vlen4.h: New file.
5125 * math/test-float-vlen8.h: New file.
5126 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5127 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5129 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5130 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5131 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5132 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5133 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5134 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5135 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5136 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5137
5138 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5139
5140 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5141 * locale/programs/ld-ctype.c: Likewise.
5142
5143 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5144
5145 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5146 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5147 bit_ZMM16_31_state): New macro.
5148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5149 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5150
5151 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5152
5153 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5154
5155 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5156
5157 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5158
5159 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5160
5161 [BZ #18498]
5162 * libio/memstream.c (open_memstream): Rename to __open_memstream
5163 and define as weak alias of __open_memstream.
5164 * include/stdio.h (__open_memstream): Declare. Use
5165 libc_hidden_proto.
5166 (open_memstream): Don't use libc_hidden_proto.
5167 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5168 open_memstream.
5169 * posix/getopt.c (_getopt_internal_r): Likewise.
5170 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5171 variable.
5172 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5173 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5175
5176 [BZ #18496]
5177 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5178 instead of wcrtomb.
5179
5180 [BZ #18483]
5181 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5182 [__USE_XOPEN2K8]. Remove redundant #endif.
5183 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5184 Remove redundant #if.
5185 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5186 Remove variable.
5187 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5188 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5189
5190 [BZ #18495]
5191 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5192 (__iswlower): Likewise.
5193 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5194 (__iswlower): Likewise.
5195 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5196 instead of towlower.
5197 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5198 instead of iswlower. Call __towupper instead of towupper.
5199 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5200 instead of iswalnum.
5201
5202 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5203
5204 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5205 errors to stderr.
5206
5207 2015-06-05 Florian Weimer <fweimer@redhat.com>
5208
5209 [BZ #15661]
5210 [BZ #17322]
5211 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5212 Check for overflow properly. Check for O_APPEND. Ignore large
5213 file system block sizes. Add comments about problems.
5214 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5215 * manual/filesys.texi (Storage Allocation): New node.
5216
5217 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5218
5219 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5220 cancellable syscalls.
5221 (SYS_ify): Add guard to no redefine it.
5222 (INLINE_SYSCALL): Likewise.
5223 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5224 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5225 SYSCALL_CANCEL instead.
5226 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5227 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5228 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5229 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5230 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5231 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5232 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5233 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5234 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5235 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5236 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5237 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5238 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5239 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5240 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5242 Likewise.
5243 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5244 (__libc_pread64): Likewise.
5245 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5246 (__libc_preadv): Likewise.
5247 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5248 (__libc_readv64): Likewise.
5249 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5250 (__libc_pwrite): Likewise.
5251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5252 (__libc_pwrite64): Likewise.
5253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5254 (__libc_pwritev): Likewise.
5255 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5256 (__libc_pwritev64): Likewise.
5257 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5258 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5259 (sync_file_range): Likewise.
5260 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5261 Likewise.
5262 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5263 Likewise.
5264 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5265 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5266 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5267 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5268 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5269 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5270 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5271 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5273 Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5275 (__libc_read64): Likewise.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5277 Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5279 Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5283 Likewise.
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5285 (__libc_pread64): Likewise.
5286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5287 Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5289 (__libc_pwrite64): Likewise.
5290 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5291 (sync_file_range): Likewise.
5292 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5293 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5294 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5295 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5296 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5297 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5298 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5299 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5300 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5301 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5302 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5303 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5304 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5305 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5306 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5307 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5308 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5309 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5311 Likewise.
5312 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5313 Likewise.
5314 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5315 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5316 Likewise.
5317 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5318 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5319 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5320 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5323 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5324 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5325 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5326 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5327
5328 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5329
5330 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5331 Include dl-vdso.
5332 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5333 Use VDSO routines for gettimeofday, clock_gettime if
5334 available.
5335 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5336 Declare VDSO symbols.
5337 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5338 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5339 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5340 * sysdeps/unix/sysv/linux/arm/Versions: Add
5341 __vdso_clock_gettime.
5342
5343 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5344
5345 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5346 be an inline implementation regardless of library is built within.
5347 (open_not_cancel_2): Likewise.
5348 (__read_nocancel): Likewise.
5349 (__write_nocancel): Likewise.
5350 (openat_not_cancel): Likewise.
5351 (openat_not_cancel_3): Likewise.
5352 (openat64_not_cancel): Likewise.
5353 (openat64_not_cancel_3): Likewise.
5354 (__close_nocancel): Likewise.
5355 (pause_not_cancel): Likewise.
5356 (nanosleep_not_cancel): Likewise.
5357 (sigsuspend_not_cancel): Likewise.
5358
5359 2015-06-04 Torvald Riegel <triegel@redhat.com>
5360
5361 [BZ #14958]
5362 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5363 wake-up.
5364 (__pthread_rwlock_rdlock_slow): Likewise.
5365 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5366 Likewise.
5367 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5368 Likewise.
5369 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5370 * nptl/tst-rwlock16.c: New file.
5371 * nptl/Makefile (tests): Add new test.
5372
5373 2015-06-04 Torvald Riegel <triegel@redhat.com>
5374
5375 [BZ #18324]
5376 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5377 missing wake-up of readers.
5378 * nptl/tst-rwlock15.c: New file.
5379 * nptl/Makefile (tests): Add new test.
5380
5381 2015-06-03 Roland McGrath <roland@hack.frob.com>
5382
5383 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5384 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5385 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5386 and __nacl_supply_interface_rtld.
5387 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5388 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5389 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5390 Add __nacl_supply_interface_rtld.
5391 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5392
5393 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5394
5395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5396 isfinite.
5397 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5398 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5399
5400 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5401
5402 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5403 __signbit* with standard C99 macros.
5404 * math/e_exp10l.c: Likewise.
5405 * math/e_exp2l.c: Likewise.
5406 * math/e_scalb.c: Likewise.
5407 * math/e_scalbf.c: Likewise.
5408 * math/e_scalbl.c: Likewise.
5409 * math/s_ldexp.c: Likewise.
5410 * math/s_ldexpf.c: Likewise.
5411 * math/s_ldexpl.c: Likewise.
5412 * math/w_atan2.c: Likewise.
5413 * math/w_atan2f.c: Likewise.
5414 * math/w_atan2l.c: Likewise.
5415 * math/w_cosh.c: Likewise.
5416 * math/w_coshf.c: Likewise.
5417 * math/w_coshl.c: Likewise.
5418 * math/w_exp10.c: Likewise.
5419 * math/w_exp10f.c: Likewise.
5420 * math/w_exp10l.c: Likewise.
5421 * math/w_exp2.c: Likewise.
5422 * math/w_exp2f.c: Likewise.
5423 * math/w_exp2l.c: Likewise.
5424 * math/w_fmod.c: Likewise.
5425 * math/w_fmodf.c: Likewise.
5426 * math/w_fmodl.c: Likewise.
5427 * math/w_hypot.c: Likewise.
5428 * math/w_hypotf.c: Likewise.
5429 * math/w_hypotl.c: Likewise.
5430 * math/w_jnl.c: Likewise.
5431 * math/w_lgamma.c: Likewise.
5432 * math/w_lgamma_r.c: Likewise.
5433 * math/w_lgammaf.c: Likewise.
5434 * math/w_lgammaf_r.c: Likewise.
5435 * math/w_lgammal.c: Likewise.
5436 * math/w_lgammal_r.c: Likewise.
5437 * math/w_pow.c: Likewise.
5438 * math/w_powf.c: Likewise.
5439 * math/w_powl.c: Likewise.
5440 * math/w_remainder.c: Likewise.
5441 * math/w_remainderf.c: Likewise.
5442 * math/w_remainderl.c: Likewise.
5443 * math/w_scalb.c: Likewise.
5444 * math/w_scalbf.c: Likewise.
5445 * math/w_scalbl.c: Likewise.
5446 * math/w_scalbln.c: Likewise.
5447 * math/w_scalblnf.c: Likewise.
5448 * math/w_scalblnl.c: Likewise.
5449 * math/w_sinh.c: Likewise.
5450 * math/w_sinhf.c: Likewise.
5451 * math/w_sinhl.c: Likewise.
5452 * math/w_tgamma.c: Likewise.
5453 * math/w_tgammaf.c: Likewise.
5454 * math/w_tgammal.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5462 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5463 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5464 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5486 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5487 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5488 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5489 * stdio-common/printf_fp.c: Likewise.
5490 * stdio-common/printf_fphex.c: Likewise.
5491 * stdio-common/printf_size.c: Likewise.
5492
5493 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5494
5495 [BZ #18470]
5496 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5497 strnlen.
5498 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5499 Remove variable.
5500 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5501 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5502 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5503 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5504 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5505 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5506 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5507 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5508 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5509 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5510
5511 [BZ #18468]
5512 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5513 weak alias of __wmemchr. Use libc_hidden_weak.
5514 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5515 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5516 instead of wmemchr.
5517
5518 2015-06-02 Roland McGrath <roland@hack.frob.com>
5519
5520 [BZ #18383]
5521 * elf/tst-tlsalign-extern.c: New file.
5522 * elf/tst-tlsalign-extern-static.c: New file.
5523 * elf/tst-tlsalign-vars.c: New file.
5524 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5525 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5526 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5527 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5528 (test-xfail-tst-tlsalign-extern-static): New variable.
5529
5530 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5531
5532 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5533 Use variable name _sc_err instead of err.
5534 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5535 instead of ret.
5536 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5537 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5538 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5539 (INLINE_SYSCALL): Likewise.
5540
5541 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5542 * include/string.h (__strnlen): Use libc_hidden_proto.
5543 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5544 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5545 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5546 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5547 (libc_hidden_def): Undefine and redefine.
5548 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5549 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5550 __GI_strnlen.
5551 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5552 libc_hidden_def.
5553 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5554
5555 [BZ #18469]
5556 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5557 weak alias of __towlower. Use libc_hidden_weak.
5558 (towupper): Rename to __towupper and define as weak alias of
5559 __towupper. Use libc_hidden_weak.
5560 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5561 (__towupper): Likewise.
5562 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5563 __towlower instead of towlower.
5564
5565 2015-06-02 Roland McGrath <roland@hack.frob.com>
5566
5567 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5568 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5569
5570 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5571
5572 * sysdeps/aarch64/libm-test-ulps: Update.
5573
5574 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5575
5576 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5577 Define.
5578 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5580 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5581 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5582 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5583 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5584 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5585
5586 2015-06-01 Martin Sebor <msebor@redhat.com>
5587
5588 [BZ #18116]
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5590 (__setcontext): Use extended four-operand version of mtsf whenever
5591 possible.
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5593 (__novec_swapcontext): Likewise.
5594
5595 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5596
5597 * benchtests/scripts/compare_bench.py: New file.
5598 * benchtests/scripts/import_bench.py (mean): New function.
5599 (split_list): Likewise.
5600 (do_for_all_timings): Likewise.
5601 (compress_timings): Likewise.
5602
5603 * benchtests/scripts/import_bench.py: New file.
5604 * benchtests/scripts/validate_benchout.py: Import import_bench
5605 instead of jsonschema.
5606 (validate_bench): Remove function.
5607 (main): Use import_bench.
5608
5609 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5610
5611 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5612 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5613
5614 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5615
5616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5617
5618 2015-05-28 Roland McGrath <roland@hack.frob.com>
5619
5620 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5621 set THREAD_SELF->tid to a magic value and futex-wake it.
5622 Pass its address to the thread_exit system call.
5623 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5624 bit is clear.
5625 * sysdeps/nacl/lowlevellock.h: New file.
5626 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5627
5628 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5629 Add TIMEOUT to current time, don't subtract it.
5630
5631 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5632
5633 [BZ #2981]
5634 [BZ #18422]
5635 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5636 ($(objpfx)tst-audit2.out): Also depend on
5637 $(objpfx)tst-auditmod9b.so.
5638 * elf/tst-audit2.c: Include <dlfcn.h>.
5639 (calloc_called): New.
5640 (calloc): Allow to be called more than once.
5641 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5642
5643 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5644
5645 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5646 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5647
5648 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5649
5650 * stdlib/monetary.h: Fix comment.
5651
5652 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5653
5654 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5655 Avoid using variables in #defines that might cause shadowing.
5656 (INTERNAL_VSYSCALL_CALL): Likewise.
5657
5658 2015-05-26 Roland McGrath <roland@hack.frob.com>
5659
5660 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5661
5662 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5663 * nptl/lll_timedlock_wait.c: ... to this new file.
5664 * nptl/Makefile (libpthread-routines): Add it.
5665 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5666 * nptl/lll_timedwait_tid.c: ... to this new file.
5667 * nptl/Makefile (libpthread-routines): Add it.
5668 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5669 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5670 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5671 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5672 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5673 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5674 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5675 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5676 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5677 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5678
5679 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5680
5681 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5682 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5683 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5685 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5687 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5689 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5690 * sysdeps/unix/sysv/linux/tile/sysdep.h
5691 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5692 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5693 using vDSO syscall macro.
5694
5695 2015-05-26 Andriy Rysin <arysin@gmail.com>
5696
5697 [BZ #17293]
5698 * uk_UA: Fix sorting order for Ukrainian locale
5699
5700 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5701
5702 * stdlib/monetary.h: Fix comment.
5703
5704 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5705
5706 [BZ #18234]
5707 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5708 st_mtim and st_ctim members.
5709 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5710 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5711 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5712 (struct stat64): Likewise.
5713 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5714 (struct stat64): Likewise.
5715 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5716 (struct stat64): Likewise.
5717
5718 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5719
5720 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5721 Define and include sysdep-vdso.h.
5722 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5723 Likewise.
5724 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5725 Likewise.
5726 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5727 Define with VDSO_SYMBOL and use PTR_MANGLE.
5728 (__vdso_clock_gettime): Likewise.
5729 (__vdso_clock_getres): Likewise.
5730 (_libc_vdso_platform_setup): Likewise.
5731 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5732 Likewise.
5733 (_libc_vdso_platform_setup): Likewise.
5734 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5735 Likewise.
5736 (__vdso_clock_gettime): Likewise.
5737 (__vdso_clock_getres): Likewise.
5738 (__vdso_get_tbfreq): Likewise.
5739 (__vdso_getcpu): Likewise.
5740 (__vdso_time): Likewise.
5741 (__vdso_sigtramp_rt64): Likewise.
5742 (__vdso_signtramp32): Likewise.
5743 (__vdso_sigtramp_rt32): Likewise.
5744 (_libc_vdso_platform_setup): Likewise.
5745 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5746 Likewise.
5747 (__vdso_clock_gettime): Likewise.
5748 (__vdso_clock_getres): Likewise.
5749 (_libc_vdso_platform_setup): Likewise.
5750 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5751 Likewise.
5752 (__vdso_clock_gettime): Likewise.
5753 (_libc_vdso_platform_setup): Likewise.
5754 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5755 Likewise.
5756 (__vdso_getcpu): Likewise.
5757 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5758 Use VDSO_SYMBOL macro to define.
5759 (__vdso_clock_gettime): Likewise.
5760 (__vdso_clock_getres): Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5762 Likewise.
5763 (__vdso_clock_gettime): Likewise.
5764 (__vdso_clock_getres): Likewise.
5765 (__vdso_get_tbfreq): Likewise.
5766 (__vdso_getcpu): Likewise.
5767 (__vdso_time): Likewise.
5768 (__vdso_sigtramp_rt64): Likewise.
5769 (__vdso_signtramp32): Likewise.
5770 (__vdso_sigtramp_rt32): Likewise.
5771 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5772 Likewise.
5773 (__vdso_clock_gettime): Likewise.
5774 (__vdso_clock_getres): Likewise.
5775 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5776 Likewise.
5777 (__vdso_clock_gettime): Likewise.
5778 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5779 Likewise.
5780 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5781 macro.
5782 (INTERNAL_VSYSCALL): Likewise.
5783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5784 Remove macro.
5785 (INTERNAL_VSYSCALL): Likewise.
5786 (INTERNAL_VSYSCALL_NCS): Likewise.
5787 (INTERNAL_VSYSCALL_CALL): New macro.
5788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5790 Likewise.
5791 (INTERNAL_VSYSCALL): Likewise.
5792 (INTERNAL_VSYSCALL_NCS): Likewise.
5793 (INTERNAL_VSYSCALL_CALL): New macro.
5794 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5796 (INLINE_VSYSCALL): Remove macro.
5797 (INTERNAL_VSYSCALL): Remove macro.
5798 (INTERNAL_VSYSCALL_NCS): Remove macro.
5799 (INTERNAL_VSYSCALL_CALL): New macro.
5800 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5801 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5802 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5803 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5804 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5806 (INLINE_VSYSCALL): Remove macro.
5807 (INTERNAL_VSYSCALL): Likewise.
5808 (INTERNAL_VSYSCALL_NCS): Likewise.
5809 (INTERNAL_VSYSCALL_CALL): New macro.
5810 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5811 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5812 PTR_DEMANGLE on vDSO pointer.
5813 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5814 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5815 macro.
5816 (INTERNAL_SYSCALL): Likewise.
5817 (INTERNAL_VSYSCALL_NCS): Remove macro.
5818 (INTERNAL_VSYSCALL_CALL): New macro.
5819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5820 Remove macro.
5821 (INTERNAL_VSYSCALL): Likewise.
5822 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5823 sysdep-vdso.h instead of libc-vdso.h.
5824 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5825 definition.
5826 (INLINE_VSYSCALL): Likewise.
5827 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5828 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5829 definition.
5830 (INLINE_VSYSCALL): Likewise.
5831 (INTERNAL_VSYSCALL): Likewise.
5832 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5833 * sysdeps/unix/sysv/linux/timespec_get.c
5834 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5835 (timespec_get): Use ANSI prototype.
5836 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5837 and definition for Linux.
5838
5839 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5840
5841 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5842 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5843
5844 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 [BZ #2981]
5847 [BZ #18410]
5848 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5849 for missing DT_PLTRELSZ.
5850
5851 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5852
5853 Remove obsolete aliases that broke 'locale -a'
5854 [BZ #18412]
5855 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5856 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5857 breaking some applications that use 'locale -a' output.
5858 Change the encoding of this file from Latin-1 to ASCII to avoid
5859 other potential problems with people grepping this file.
5860
5861 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5862
5863 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5864 -fasynchronous-unwind-tables.
5865 (CFLAGS-sendto.c): Likewise.
5866 (CFLAGS-sendmsg.c): Likewise.
5867 (CFLAGS-connect.c): Likewise.
5868 (CFLAGS-recvmsg.c): Likewise.
5869 (CFLAGS-recvfrom.c): Likewise.
5870 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5871 (SOCKETCALL): New macro: non-cancellable socketcall.
5872 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5873 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5874 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5875 * sysdeps/unix/sysv/linux/accept.c: New file.
5876 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5877 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5878 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5879 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5880 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5881 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5882 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5883 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5884 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5885 * sysdeps/unix/sysv/linux/send.c: Likewise.
5886 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5887 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5888 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5889 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5890 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5891 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5892 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5893 prototype.
5894 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5895 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5896 instead of __internal_xxx function.
5897 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5898 prototype.
5899 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5900 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5901 instead of __internal_xxx function.
5902 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5903 prototype.
5904 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5905 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5906 instead of __internal_xxx function.
5907 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5908 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5909 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5910 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5911 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5912 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5913 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5914 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5915 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5916 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5917 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5918 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5919 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5921 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5922 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5923 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5924 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5925 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5926 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5929 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5930 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5931 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5932 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5933 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5934 * sysdeps/unix/sysv/linux/send.S: Likewise.
5935 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5936 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5937 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5938 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5939 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5940 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5941 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5942 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5943 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5944 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5945 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5946 socketcall is implemented in GLIBC.
5947
5948 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5949
5950 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5951 (__fma): Ignore uninitialized warnings around packing.
5952 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5953 (__fmaf): Ignore uninitialized warnings around packing.
5954 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5955 (__fmal): Ignore uninitialized warnings around packing.
5956
5957 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5958 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5959 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5960 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5961
5962 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5963 switch statement into default case.
5964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5965
5966 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5967 a conditional in forcing "inexact".
5968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5969 Likewise.
5970
5971 2015-05-22 Roland McGrath <roland@hack.frob.com>
5972
5973 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5974 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5975 for each INTERNAL_SYSCALL use.
5976
5977 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5978
5979 [BZ #438]
5980 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5981 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5982 variable.
5983
5984 [BZ #18444]
5985 * string/basename.c (basename): Rename to __basename and define as
5986 weak alias of __basename. Use libc_hidden_weak.
5987 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5988 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5989 __basename instead of basename.
5990 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5991 Remove variable.
5992 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5993
5994 2015-05-18 Florian Weimer <fweimer@redhat.com>
5995
5996 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5997 (_IO_JUMPS_FILE_plus): New.
5998 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5999 _IO_CAST_FIELD_ACCESS.
6000 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6001 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6002 * libio/freopen.c (freopen): Likewise.
6003 * libio/freopen64.c (freopen64): Likewise.
6004 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6005 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6006 * libio/iofwide.c (_IO_fwide): Likewise.
6007 * libio/memstream.c (open_memstream): Likewise.
6008 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6009 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6010 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6011
6012 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6013
6014 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6015 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6016 NADJ.
6017 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6018 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6019 NADJ.
6020 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6021 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6022 NADJ.
6023
6024 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6025 (p == 4) case.
6026
6027 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6028 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6029 Remove variable.
6030 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6031 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6032 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6033
6034 2015-05-21 Florian Weimer <fweimer@redhat.com>
6035
6036 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6037 Adjust jump table label generation macros.
6038
6039 2015-05-21 Florian Weimer <fweimer@redhat.com>
6040
6041 * stdio-common/vfprintf.c (vfprintf): Move local variables
6042 args_malloced, specs, specs_malloced, and the code after
6043 do_positional to the printf_positional function.
6044 (printf_positional): New function.
6045
6046 2015-05-21 Florian Weimer <fweimer@redhat.com>
6047
6048 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6049 function.
6050 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6051 STEP4_TABLE, process_arg): Move macro definitions
6052 out of the vfprintf function. (Cosmetic change only.)
6053
6054 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6055
6056 * benchtests/Makefile (stdio-common-bench): Define.
6057 (benchset): Add stdio-common-bench.
6058 * sprintf-inputs: New file.
6059 * sprintf-source.c: New file.
6060
6061 2015-05-21 Andreas Schwab <schwab@suse.de>
6062
6063 [BZ #13028]
6064 [BZ #17053]
6065 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6066 of struct __res_state.
6067 * resolv/res_send.c (__libc_res_nsend): Likewise.
6068 (get_nsaddr): New function.
6069 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6070 statp directly.
6071
6072 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6073
6074 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6075 -D_POSIX_C_SOURCE=199506L.
6076
6077 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6078
6079 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6080 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6081 Do not mention otherwise.
6082 [POSIX] (_XOPEN_VERSION): Do not expect.
6083 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6084 [POSIX] (_POSIX2_C_BIND): Likewise.
6085 [POSIX] (_POSIX2_VERSION): Likewise.
6086 [POSIX] (_XOPEN_XPG2): Likewise.
6087 [POSIX] (_XOPEN_XPG3): Likewise.
6088 [POSIX] (_XOPEN_XPG4): Likewise.
6089 [POSIX] (_XOPEN_UNIX): Likewise.
6090 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6091 [POSIX] (_POSIX_BARRIERS): Likewise.
6092 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6093 [POSIX] (_POSIX_CPUTIME): Likewise.
6094 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6095 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6096 [POSIX] (_POSIX_SHELL): Likewise.
6097 [POSIX] (_POSIX_SPAWN): Likewise.
6098 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6099 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6100 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6101 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6102 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6103 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6104 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6105 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6106 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6107 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6108 [POSIX] (_POSIX2_PBS): Likewise.
6109 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6110 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6111 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6112 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6113 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6114 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6115 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6116 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6117 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6118 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6119 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6120 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6121 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6122 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6123 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6124 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6125 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6126 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6127 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6128 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6129 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6130 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6131 [POSIX] (_SC_2_C_BIND): Likewise.
6132 [POSIX] (_SC_2_C_VERSION): Likewise.
6133 [POSIX] (_SC_2_PBS): Likewise.
6134 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6135 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6136 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6137 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6138 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6139 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6140 [POSIX] (_SC_BARRIERS): Likewise.
6141 [POSIX] (_SC_BASE): Likewise.
6142 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6143 [POSIX] (_SC_DEVICE_IO): Likewise.
6144 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6145 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6146 [POSIX] (_SC_FD_MGMT): Likewise.
6147 [POSIX] (_SC_FIFO): Likewise.
6148 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6149 [POSIX] (_SC_FILE_LOCKING): Likewise.
6150 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6151 [POSIX] (_SC_IOV_MAX): Likewise.
6152 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6153 [POSIX] (_SC_NETWORKING): Likewise.
6154 [POSIX] (_SC_PAGE_SIZE): Likewise.
6155 [POSIX] (_SC_PASS_MAX): Likewise.
6156 [POSIX] (_SC_PIPE): Likewise.
6157 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6158 [POSIX] (_SC_REGEXP): Likewise.
6159 [POSIX] (_SC_SHELL): Likewise.
6160 [POSIX] (_SC_SIGNALS): Likewise.
6161 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6162 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6163 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6164 [POSIX] (_SC_USER_GROUPS): Likewise.
6165 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6166 [POSIX] (_SC_STREAMS): Likewise.
6167 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6168 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6169 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6170 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6171 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6172 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6173 [POSIX] (_PC_FILESIZEBITS): Likewise.
6174 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6175 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6176 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6177 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6178 [POSIX] (uid_t): Likewise.
6179 [POSIX] (gid_t): Likewise.
6180 [POSIX] (off_t): Likewise.
6181 [POSIX] (pid_t): Likewise.
6182 [POSIX] (cuserid): Allow.
6183 (_SC_2_CHAR_TERM): Require constant.
6184 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6185 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6186 variable.
6187
6188 2015-05-20 Roland McGrath <roland@hack.frob.com>
6189
6190 * sysdeps/nacl/pthread-pids.h: New file.
6191 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6192 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6193
6194 * nptl/pthread-pids.h: New file.
6195 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6196 * nptl/nptl-init.c: Include <pthread-pids.h>.
6197 (__pthread_initialize_minimal_internal):
6198 Call __pthread_initialize_pids instead of set_tid_address syscall.
6199
6200 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6201 * sysdeps/posix/usleep.c: ... here.
6202
6203 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6204
6205 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6206 call_pselect6 object.
6207 [$(subdir) = io]: Remove call_sync_file_range object.
6208 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6209 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6210 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6211 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6212
6213 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6214
6215 * math/s_cproj.c: Add include "math_private.h".
6216 * math/s_cprojf.c: Likewise.
6217 * math/s_cprojl.c: Likewise.
6218
6219 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #18244]
6222 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6223 high mantissa bit when testing whether P is a NaN.
6224 * math/libm-test.inc (remainder_test_data): Add more tests.
6225 (remquo_test_data): Likewise.
6226
6227 [BZ #18049]
6228 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6229 below -32, return the argument, with underflow if subnormal.
6230 * math/auto-libm-test-in: Add more tests of atanh.
6231 * math/auto-libm-test-out: Regenerated.
6232
6233 2015-05-19 Roland McGrath <roland@hack.frob.com>
6234
6235 [BZ #18434]
6236 * nptl/tst-sem15.c: New file.
6237 * nptl/Makefile (tests): Add it.
6238 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6239 s/<</>>/ to fix typo in EOVERFLOW check.
6240 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6241
6242 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6243
6244 * manual/strings.texi (envz_remove): Fix typo in safety
6245 annotations.
6246
6247 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6248 Steve Ellcey <sellcey@imgtec.com>
6249
6250 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6251 in order to avoid strict alias warnings.
6252 (iruserok_af): Ditto for ra.
6253
6254 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6255
6256 [BZ #17581]
6257 * malloc/hooks.c
6258 (magicbyte): Convert to a function and avoid returning 0x01.
6259 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6260 (mem2chunk_check): Fix unsigned comparisons to zero.
6261 Hoist defs of sz and magic.
6262
6263 2015-05-19 Richard Henderson <rth@redhat.com>
6264
6265 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6266
6267 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6268
6269 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6270
6271 [BZ #16159]
6272 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6273 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6274 (reused_arena): Find a non-corrupt arena.
6275 (heap_trim): Pass arena to unlink.
6276 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6277 malloc_printerr.
6278 (top_check): Likewise.
6279 (free_check): Likewise.
6280 (realloc_check): Likewise.
6281 * malloc/malloc.c (malloc_printerr): Add arena argument.
6282 (unlink): Likewise.
6283 (munmap_chunk): Adjust.
6284 (ARENA_CORRUPTION_BIT): New macro.
6285 (arena_is_corrupt): Likewise.
6286 (set_arena_corrupt): Likewise.
6287 (sysmalloc): Use mmap if there are no usable arenas.
6288 (_int_malloc): Likewise.
6289 (__libc_malloc): Don't fail if arena_get returns NULL.
6290 (_mid_memalign): Likewise.
6291 (__libc_calloc): Likewise.
6292 (__libc_realloc): Adjust for additional argument to
6293 malloc_printerr.
6294 (_int_free): Likewise.
6295 (malloc_consolidate): Likewise.
6296 (_int_realloc): Likewise.
6297 (_int_memalign): Don't touch corrupt arenas.
6298 * malloc/tst-malloc-backtrace.c: New test case.
6299
6300 * Makefile (summarize-tests): Fix return value on success.
6301
6302 * manual/string.texi (Envz Functions): Add envz_remove.
6303
6304 2015-05-18 Roland McGrath <roland@hack.frob.com>
6305
6306 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6307 (invalid_name): New function, broken out of ...
6308 (__opendirat): ... here. Call it.
6309 (need_isdir_precheck): New function, broken out of ...
6310 (__opendirat): ... here. Call it.
6311 Use __fxstatat64, not __xstatat64.
6312 (opendir_oflags): New function, broken out of ...
6313 (__opendirat): ... here. Call it.
6314 (opendir_tail): New function, broken out of ...
6315 (__opendirat): ... here. Call it.
6316 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6317 opendir_tail, rather than punting to __opendirat.
6318 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6319
6320 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 * .gitignore: Ignore generated *.pyc.
6323
6324 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6325
6326 * include/stdio.h: Define __need_wint_t.
6327 * test-skeleton.c: Avoid `for' loop initial declaration.
6328 * nptl/tst-initializers1.c: Use test-skeleton.c.
6329
6330 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6331
6332 [BZ #18418]
6333 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6334
6335 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6336
6337 [BZ #16352]
6338 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6339 (__ieee754_atanh): Force underflow exception for results with
6340 small absolute value.
6341 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6342 (__ieee754_atanhf): Force underflow exception for results with
6343 small absolute value.
6344 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6345 (__ieee754_atanh): Force underflow exception for results with
6346 small absolute value.
6347 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6348 (__ieee754_atanhf): Force underflow exception for results with
6349 small absolute value.
6350 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6351 (__ieee754_atanhl): Force underflow exception for results with
6352 small absolute value.
6353 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6354 (__ieee754_atanhl): Force underflow exception for results with
6355 small absolute value.
6356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6357 (__ieee754_atanhl): Force underflow exception for results with
6358 small absolute value.
6359 * math/auto-libm-test-in: Do not allow missing underflow
6360 exceptions from atanh.
6361 * math/auto-libm-test-out: Regenerated.
6362
6363 [BZ #18221]
6364 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6365 2**-28 as threshold for returning x or +/- 1/x.
6366 * math/auto-libm-test-in: Add more tests of tan.
6367 * math/auto-libm-test-out: Regenerated.
6368
6369 [BZ #18220]
6370 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6371 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6372 * math/auto-libm-test-in: Add another test of lgamma.
6373 * math/auto-libm-test-out: Regenerated.
6374
6375 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6376
6377 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6378 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6379 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6380 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6381 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6382 (ADD2A): Use fabs. (SUB2A): Use fabs.
6383 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6384 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6386 (log1): Use fabs. (my_log2): Use fabs.
6387 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6388 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6390 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6392 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6393 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6394 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6395 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6396 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6397 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6398
6399 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6400
6401 [BZ #18217]
6402 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6403 as threshold for returning 1 - x.
6404 * math/auto-libm-test-in: Add more tests of erfc.
6405 * math/auto-libm-test-out: Regenerated.
6406
6407 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6408
6409 [BZ #18196]
6410 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6411 threshold for large arguments.
6412 * math/auto-libm-test-in: Add another test of atan.
6413 * math/auto-libm-test-out: Regenerated.
6414
6415 [BZ #16339]
6416 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6417 (__log1p): Force underflow exception for results with small
6418 absolute value.
6419 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6420 (__log1pf): Force underflow exception for results with small
6421 absolute value.
6422 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6423 (__log1p): Force underflow exception for results with small
6424 absolute value.
6425 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6426 (__log1pf): Force underflow exception for results with small
6427 absolute value.
6428 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6429 (__log1pl): Force underflow exception for results with small
6430 absolute value.
6431 * math/auto-libm-test-in: Do not allow missing underflow
6432 exceptions from log1p.
6433 * math/auto-libm-test-out: Regenerated.
6434
6435 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6436 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6437
6438 [BZ #16704]
6439 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6440
6441 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6442
6443 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6444 (libmvec): New variable.
6445 * configure.ac: Added option for mathvec build.
6446 * configure: Regenerated.
6447 * mathvec/Depend: New file.
6448 * mathvec/Makefile: New file.
6449 * shlib-versions: Added libmvec.
6450 * math/Makefile: Added rule for libm.so installation.
6451
6452 * bits/math-vector.h: New file.
6453 * bits/libm-simd-decl-stubs.h: New header.
6454 * math/Makefile (headers): Added new header
6455 libm-simd-decl-stubs.h.
6456 * math/math.h (__MATHCALL_VEC): New macro.
6457
6458 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6459 for conditions in testing functions.
6460 * math/Makefile: Added call of libm-have-vector-test.sh.
6461 * math/libm-test.inc (HAVE_VECTOR): New macros.
6462
6463 * math/libm-test.inc: START refactored.
6464 * math/test-double.c (TEST_MATHVEC): Add define.
6465 * math/test-float.c: Likewise.
6466 * math/test-idouble.c: Likewise.
6467 * math/test-ifloat.c: Likewise.
6468 * math/test-ildoubl.c: Likewise.
6469 * math/test-ldouble.c: Likewise.
6470 * sysdeps/generic/math-tests-arch.h
6471 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6472 architecture check.
6473
6474 * math/test-double.c (FUNC_TEST): New macro.
6475 * math/test-float.c: Likewise.
6476 * math/test-idouble.c: Likewise.
6477 * math/test-ifloat.c: Likewise.
6478 * math/test-ildoubl.c: Likewise.
6479 * math/test-ldouble.c: Likewise.
6480 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6481
6482 2015-05-13 Roland McGrath <roland@hack.frob.com>
6483
6484 * sysdeps/nacl/fdopendir.c: New file.
6485
6486 * dirent/scandir-tail.c: New file.
6487 * dirent/scandir64-tail.c: New file.
6488 * dirent/Makefile (routines): Add them.
6489 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6490 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6491 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6492 [!SCANDIR] (SCANDIR_TAIL): New macro.
6493 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6494 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6495 (SCANDIRAT): Macro removed.
6496 (SCANDIR_TAIL): New macro.
6497 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6498 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6499 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6500 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6501 (READDIR): Macro removed.
6502 (SCANDIR_TAIL): New macro.
6503 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6504 (SCANDIR_TAIL): New macro.
6505
6506 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6507 * dirent/scandir-cancel.c: ... to this new file.
6508 * dirent/Makefile (routines): Add it.
6509 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6510 * sysdeps/unix/sysv/linux/i386/scandir64.c
6511 (SKIP_SCANDIR_CANCEL): Macro removed.
6512 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6513
6514 * dirent/tst-scandir.c: New file.
6515 * dirent/tst-scandir64.c: New file.
6516 * dirent/Makefile (tests): Add them.
6517
6518 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6519
6520 [BZ #18409]
6521 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6522
6523 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6524
6525 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6526 list.
6527
6528 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6529
6530 * benchtests/bench-strcoll.c: New benchmark.
6531 * benchtests/Makefile: Generate locales and run benchmark.
6532 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6533 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6534 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6535 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6536 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6537 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6538 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6539 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6540 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6541 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6542 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6543 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6544 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6545 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6546 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6547 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6548 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6549 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6550 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6551 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6552 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6553 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6554 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6555 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6556
6557 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6558
6559 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6560 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6561
6562 2015-05-12 Roland McGrath <roland@hack.frob.com>
6563
6564 * posix/uname-values.h: New file.
6565 * posix/uname.c: Include that instead of <config-name.h>.
6566 * sysdeps/nacl/uname-values.h: New file.
6567 * sysdeps/arm/nacl/uname-values.h: New file.
6568
6569 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6570
6571 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6572 splitting into fields.
6573
6574 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6575
6576 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6577 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6578 * locale/localeinfo.h: Add enum collation_encoding_type.
6579 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6580 * programs/ld-collate.c (collate_output): Add encoding type info.
6581 * string/strcoll_l.c (STRDIFF): New function.
6582 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6583 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6584
6585 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6586
6587 [BZ #18397]
6588 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6589 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6590 <fpu_control.h> instead of <math/fpu_control.c>.
6591 * sysdeps/mips/mips32/fpu/Makefile: New file.
6592
6593 2015-05-11 Andreas Schwab <schwab@suse.de>
6594
6595 [BZ #18007]
6596 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6597 nss_endgrent.
6598 (_nss_compat_endgrent): Call nss_endgrent.
6599 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6600 nss_endpwent.
6601 (_nss_compat_endpwent): Call nss_endpwent.
6602 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6603 needent, call nss_setspent only if non-zero.
6604 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6605 (internal_endspent): Don't call nss_endspent.
6606 (_nss_compat_endspent): Call nss_endspent.
6607 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6608 Remove. All uses removed.
6609 (internal_setent): Remove parameter stayopen, add parameter
6610 stream. Use it instead of global variable.
6611 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6612 (internal_endent, internal_getent): Add parameter stream. Use it
6613 instead of global variable.
6614 (CONCAT(_nss_files_end,ENTNAME))
6615 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6616 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6617 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6618 uses removed.
6619 (internal_setent, internal_endent): Add parameter stream. Use it
6620 instead of global variable.
6621 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6622 stream.
6623 (get_next_alias): Add parameter stream.
6624 (_nss_files_getaliasent_r): Pass global stream.
6625 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6626 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6627 (_nss_files_gethostbyname4_r): Pass local stream to
6628 internal_setent, internal_getent and internal_endent. Remove
6629 locking.
6630
6631 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6632
6633 * tst-strfmon1.c (tests): Update expected currency symbol.
6634
6635 2015-05-08 Roland McGrath <roland@hack.frob.com>
6636
6637 * sysdeps/nacl/gethostname.c: New file.
6638
6639 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6640
6641 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6642 and sinh.
6643 * math/auto-libm-test-out: Regenerated.
6644 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6646
6647 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6648
6649 [BZ #18125]
6650 * stdlib/tst-setcontext3.c: New file.
6651 * stdlib/tst-setcontext3.sh: New file.
6652 * stdlib/Makefile (tests): Add tst-setcontext3.
6653 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6654 to verify test program created output file.
6655 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6656 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6657 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6658 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6659
6660 2015-05-06 Roland McGrath <roland@hack.frob.com>
6661
6662 [BZ #18383]
6663 * elf/tst-tlsalign.c: New file.
6664 * elf/tst-tlsalign-static.c: New file.
6665 * elf/tst-tlsalign-lib.c: New file.
6666 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6667 (tests-static): Add tst-tlsalign-static.
6668 (modules-names): Add tst-tlsalign-lib.
6669 (test-xfail-tst-tlsalign): New variable.
6670 (test-xfail-tst-tlsalign-static): New variable.
6671
6672 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6673 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6674
6675 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6676
6677 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6678 csqrt, erfc, sin and sincos.
6679 * math/auto-libm-test-out: Regenerated.
6680 * sysdeps/i386/fpu/libm-test-ulps: Update.
6681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6682
6683 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6684
6685 * sysdeps/aarch64/libm-test-ulps: Update.
6686
6687 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6688
6689 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6690 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6691 * math/auto-libm-test-out: Regenerated.
6692 * sysdeps/i386/fpu/libm-test-ulps: Update.
6693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6694
6695 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6696
6697 [BZ #18265]
6698 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6699 (wcsncpy): Likewise.
6700
6701 2015-05-05 Florian Weimer <fweimer@redhat.com>
6702
6703 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6704 Assume __ASSUME_FALLOCATE is always true.
6705 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6706 (__posix_fallocate64_l64): Likweise.
6707 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6708 (posix_fallocate): Likewise.
6709 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6710 (__posix_fallocate64_l64): Likewise.
6711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6712 [!__ASSUME_FALLOCATE]: Add comment.
6713
6714 2015-05-05 Florian Weimer <fweimer@redhat.com>
6715
6716 * sysdeps/unix/sysv/linux/i386/Makefile
6717 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6718 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6719 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6720 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6721 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6722 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6723 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6724
6725 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6726
6727 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6728 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6729 tgamma.
6730 * math/auto-libm-test-out: Regenerated.
6731 * sysdeps/i386/fpu/libm-test-ulps: Update.
6732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6733
6734 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6735
6736 * math/auto-libm-test-in: Add more tests of tgamma.
6737 * math/auto-libm-test-out: Regenerated.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740
6741 * math/auto-libm-test-in: Add more tests of tanh.
6742 * math/auto-libm-test-out: Regenerated.
6743 * sysdeps/i386/fpu/libm-test-ulps: Update.
6744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6745
6746 * math/auto-libm-test-in: Add more tests of tan.
6747 * math/auto-libm-test-out: Regenerated.
6748 * sysdeps/i386/fpu/libm-test-ulps: Update.
6749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6750
6751 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6752 * math/auto-libm-test-out: Regenerated.
6753 * sysdeps/i386/fpu/libm-test-ulps: Update.
6754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755
6756 * math/auto-libm-test-in: Add another test of pow.
6757 * math/auto-libm-test-out: Regenerated.
6758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6759
6760 * math/auto-libm-test-in: Add more tests of lgamma.
6761 * math/auto-libm-test-out: Regenerated.
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764
6765 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6766 log1p.
6767 * math/auto-libm-test-out: Regenerated.
6768 * sysdeps/i386/fpu/libm-test-ulps: Update.
6769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6770
6771 2015-05-01 Mark Wielaard <mjw@redhat.com>
6772
6773 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6774 Elf64_Chdr structs and ELFCOMPRESS constants.
6775
6776 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6777
6778 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6779 expm1.
6780 * math/auto-libm-test-out: Regenerated.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
6784 * math/auto-libm-test-in: Add more tests of erf and erfc.
6785 * math/auto-libm-test-out: Regenerated.
6786 * sysdeps/i386/fpu/libm-test-ulps: Update.
6787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6788
6789 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6790
6791 * config.h.in (HAVE_AARCH64_BE): Add.
6792
6793 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6794
6795 * math/auto-libm-test-in: Add more tests of csqrt.
6796 * math/auto-libm-test-out: Regenerated.
6797 * sysdeps/i386/fpu/libm-test-ulps: Update.
6798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799
6800 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6801 * math/auto-libm-test-out: Regenerated.
6802 * sysdeps/i386/fpu/libm-test-ulps: Update.
6803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804
6805 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6806
6807 2015-04-29 Roland McGrath <roland@hack.frob.com>
6808
6809 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6810 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6811
6812 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6813 (euidaccess, eaccess): Define as weak aliases.
6814
6815 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6816 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6817 but __suseconds_t is often 'long int' so some sources assume that
6818 type is being used (e.g. they use %ld to print tv_usec).
6819
6820 2015-04-29 Florian Weimer <fweimer@redhat.com>
6821
6822 [BZ #18007]
6823 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6824 (CVE-2014-8121)
6825 * nss/tst-nss-getpwent.c: New file.
6826 * nss/Makefile (tests): Add new test.
6827
6828 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6829
6830 [BZ #18346]
6831 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6832 exponents less than 48 as cases where high part of mantissa needs
6833 examining to determine whether argument is integral.
6834 * math/libm-test.inc (round_test_data): Add more tests.
6835
6836 2015-04-28 Mark Wielaard <mjw@redhat.com>
6837
6838 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6839
6840 2015-04-27 David S. Miller <davem@davemloft.net>
6841
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6843 __tls_get_addr.
6844 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6845
6846 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6847
6848 [BZ#18333]
6849 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6850
6851 2015-04-27 Florian Weimer <fweimer@redhat.com>
6852
6853 [BZ#18333]
6854 * time/tzset.c (parse_tzname): Return error on memory allocation
6855 failure.
6856 * test-skeleton.c (struct temp_name_list): Change type of name
6857 member to non-const.
6858 (add_temp_file): Create a copy of the file name.
6859 (delete_temp_files): Deallocate memory.
6860 (create_temp_file): Add comment.
6861
6862 2015-04-24 Florian Weimer <fweimer@redhat.com>
6863
6864 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6865 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6866
6867 2015-04-24 Roland McGrath <roland@hack.frob.com>
6868
6869 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6870 * sysdeps/arm/configure: Regenerated.
6871
6872 2015-04-24 Florian Weimer <fweimer@redhat.com>
6873
6874 [BZ #17715]
6875 * time/tzfile.c (__tzfile_read): Check for large values of
6876 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6877 * time/tzset.c (__tzstring_len): New function, based on the old
6878 __tzstring function.
6879 (__tzstring): Call __tzstring_len.
6880 (parse_tzname): New helper function extracted from
6881 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6882 the input string.
6883 (parse_offset): New helper function extracted from
6884 __tzset_parse_tz. Replace switch with fallthrough with
6885 initialization before sscanf.
6886 (parse_rule): Likewise.
6887 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6888 new-style function definition.
6889 * timezone/Makefile (tests): Add tst-tzset.
6890 (tst-tzset.out): Dependencies on time zone files.
6891 (tst-tzset-ENV): Set TZDIR.
6892 (testdata/XT%): Copy crafted time zone files.
6893 * timezone/README: Mention crafted time zone files.
6894 * timezone/testdata/XT1, timezone/testdata/XT2,
6895 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6896 files.
6897 * timezone/tst-tzset.c: New test.
6898
6899 2015-04-24 Florian Weimer <fweimer@redhat.com>
6900
6901 * Makeconfig (+gccwarn): Remove -Winline.
6902
6903 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6904
6905 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6906
6907 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6908
6909 * NEWS: Mention sysconf() cache information support for s390.
6910 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6911
6912 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6913
6914 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6916 (__nearbyint): Likewise.
6917 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6918 (copysignl): Likewise.
6919
6920 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6921
6922 [BZ #18287]
6923 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6924 based on padding. (CVE-2015-1781)
6925
6926 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6927
6928 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6929 libc-vdso.h.
6930 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6931 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6932 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6933 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6934 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6935 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6937 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6939 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6940 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6941 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6942 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6943 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6944 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6945 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6946 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6947 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6948 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6949 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6950 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6951 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6952 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6953
6954 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6955
6956 * stdlib/setenv.c (__add_to_environ):
6957 Dump core quickly if setenv (..., NULL, ...) is called.
6958 This time, do it the right way, and pacify GCC with a pragma.
6959
6960 2015-04-17 Roland McGrath <roland@hack.frob.com>
6961
6962 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6963 IMAP->l_prev cannot be null, and #if out the code for the contrary
6964 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6965 believe that NS (&_dl_ns[NSID]) could point outside the array.
6966
6967 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6968 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6969 before using NSID as an index.
6970
6971 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6972
6973 [BZ #17825]
6974 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6975 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6976 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6977
6978 2015-04-17 Roland McGrath <roland@hack.frob.com>
6979
6980 Add preliminary port to Google Native Client on ARM.
6981 * abi-tags (.*-.*-nacl.*): New entry.
6982 * sysdeps/arm/nacl: New directory.
6983 * sysdeps/nacl: New directory.
6984
6985 2015-04-16 David S. Miller <davem@davemloft.net>
6986
6987 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6988 lowlevellock-futex.h
6989
6990 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6991
6992 * sysdeps/tile/configure.ac: New file.
6993 * sysdeps/tile/configure: Regenerated.
6994
6995 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6996
6997 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6998 conditionals for weak_alias and libc_hidden_weak.
6999 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7000 libc_hidden_weak and weak_alias.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7002 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7003 and weak_alias for static one.
7004
7005 2015-04-15 David S. Miller <davem@davemloft.net>
7006
7007 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7008
7009 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7010
7011 [BZ #18206]
7012 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7013 Use signed comparision instead of substraction to avoid
7014 overflow bug.
7015 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7016 Take the sign of ret.
7017 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7018 Do not expect precise return values. Only the sign matters.
7019 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7020 * wcsmbs/test-wcsncmp.c: New File.
7021 * string/test-strncmp.c: Add wcsncmp support.
7022
7023 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7024
7025 [BZ #6792]
7026 * math/w_log1p.c: New file.
7027 * math/w_log1pf.c: Likewise.
7028 * math/w_log1pl.c: Likewise.
7029 * math/Makefile (libm-calls): Add w_log1p.
7030 * math/s_log1pl.c (log1pl): Remove weak_alias.
7031 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7032 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7033 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7034 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7035 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7036 [NO_LONG_DOUBLE] (log1pl): Likewise.
7037 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7038 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7039 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7040 (log1p): Remove long_double_symbol.
7041 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7042 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7043 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7044 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7045 remove weak_alias for corresponding log1p function.
7046 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7047 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7048 * sysdeps/ia64/fpu/w_log1p.c: New file.
7049 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7050 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7051 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7052
7053 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7054
7055 [BZ #18247]
7056 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7057 decimal exponent by 1.
7058 * stdlib/tst-strtod-round-data: Add more tests.
7059 * stdlib/tst-strtod-round.c (tests): Regenerated.
7060
7061 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7062
7063 * math/auto-libm-test-in: Add more tests of clog and clog10.
7064 * math/auto-libm-test-out: Regenerated.
7065 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7067
7068 2015-04-09 Roland McGrath <roland@hack.frob.com>
7069
7070 * Makeconfig (module-cppflags): Exclude all .v.i files.
7071 (skip-module-cppflags): Variable removed.
7072
7073 * configure.ac (libc_config_ok): Initialize before reading
7074 preconfigure scripts, not after.
7075 * configure: Regenerated.
7076
7077 * test-skeleton.c (TIMEOUT): Move #define to top level.
7078 (main): Grok environment variable TEST_DIRECT. If set, print
7079 test expectation details into that file and then behave as if
7080 given --direct.
7081
7082 2015-04-09 Florian Weimer <fweimer@redhat.com>
7083
7084 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7085 warning on 32-bit.
7086
7087 2015-04-08 David S. Miller <davem@davemloft.net>
7088
7089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7090
7091 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7092
7093 * math/auto-libm-test-in: Add more tests of atanh.
7094 * math/auto-libm-test-out: Regenerated.
7095 * sysdeps/i386/fpu/libm-test-ulps: Update.
7096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7097
7098 * math/auto-libm-test-in: Add more tests of atan.
7099 * math/auto-libm-test-out: Regenerated.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102
7103 2015-04-08 Florian Weimer <fweimer@redhat.com>
7104
7105 * elf/pldd.c (main): Rewrite to use struct
7106 scratch_buffer instead of extend_alloca.
7107 * elf/pldd-xx.c (find_maps): Likewise.
7108 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7109 <alloca.h>.
7110 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7111 scratch_buffer instead of extend_alloca.
7112 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7113 grp/compat-initgroups.c.
7114 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7115 Rewrite to use struct scratch_buffer instead of extend_alloca.
7116 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7117 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7118
7119 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7120
7121 * math/auto-libm-test-in: Add more tests of cbrt.
7122 * math/auto-libm-test-out: Regenerated.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7124
7125 * math/auto-libm-test-in: Add more tests of cabs.
7126 * math/auto-libm-test-out: Regenerated.
7127 * sysdeps/i386/fpu/libm-test-ulps: Update.
7128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7129
7130 [BZ #18210]
7131 [BZ #18211]
7132 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7133 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7134 computations.
7135 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7136 clog10.
7137 * math/auto-libm-test-out: Regenerated.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140
7141 [BZ #18197]
7142 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7143 (atan): Set FE_TONEAREST mode for internal computations.
7144 * math/auto-libm-test-in: Add more tests of atan.
7145 * math/auto-libm-test-out: Regenerated.
7146
7147 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7148
7149 [BZ #17930]
7150 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7151
7152 2015-04-07 Florian Weimer <fweimer@redhat.com>
7153
7154 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7155
7156 2015-04-07 Florian Weimer <fweimer@redhat.com>
7157
7158 * include/scratch_buffer.h: New file.
7159 * malloc/scratch_buffer_grow.c: Likewise.
7160 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7161 * malloc/scratch_buffer_set_array_size.c: Likewise.
7162 * malloc/tst-scratch_buffer.c: Likewise.
7163 * malloc/Makefile (routines): Add scratch_buffer_grow.
7164 (tests): Add test case.
7165 * malloc/Versions (GLIBC_PRIVATE): Export
7166 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7167 __libc_scratch_buffer_set_array_size.
7168
7169 2015-04-06 Richard Henderson <rth@redhat.com>
7170
7171 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7172 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7173
7174 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7175 unsigned int before printing.
7176
7177 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7178
7179 [BZ #17596]
7180 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7181 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7182
7183 2015-04-02 Florian Weimer <fweimer@redhat.com>
7184
7185 * include/libc-internal.h (libc_max_align_t): Define.
7186
7187 2015-04-02 Andreas Schwab <schwab@suse.de>
7188
7189 [BZ #16850]
7190 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7191
7192 2015-04-02 Mel Gorman <mgorman@suse.de>
7193
7194 [BZ #17195]
7195 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7196 as well as the main arena.
7197
7198 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7199
7200 [BZ #18185]
7201 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7202 sharing L2 cache to 2 for Silvermont/Knights Landing.
7203
7204 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7205
7206 [BZ #17711]
7207 * config.make.in (have-protected-data): New.
7208 * configure.ac: Check linker support for protected data symbol.
7209 * configure: Regenerated.
7210 * elf/Makefile (modules-names): Add tst-protected1moda and
7211 tst-protected1modb if $(have-protected-data) is yes.
7212 (tests): Add tst-protected1a and tst-protected1b if
7213 $(have-protected-data) is yes.
7214 ($(objpfx)tst-protected1a): New.
7215 ($(objpfx)tst-protected1b): Likewise.
7216 (tst-protected1modb.so-no-z-defs): Likewise.
7217 * elf/tst-protected1a.c: New file.
7218 * elf/tst-protected1b.c: Likewise.
7219 * elf/tst-protected1mod.h: Likewise.
7220 * elf/tst-protected1moda.c: Likewise.
7221 * elf/tst-protected1modb.c: Likewise.
7222
7223 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7224
7225 [BZ #17711]
7226 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7227 indicates it is called from do_lookup_x on relocation against
7228 protected data, skip the data definion in the executable from
7229 copy reloc.
7230 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7231 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7232 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7233 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7234 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7235 otherwise to 0.
7236 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7237 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7238 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7239 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7240 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7241 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7242
7243 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7244
7245 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7246 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7247
7248 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7249
7250 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7251 THREAD_SETMEM_NC.
7252 * sysdeps/x86_64/nptl/tls.h: Ditto.
7253
7254 2015-03-27 Roland McGrath <roland@hack.frob.com>
7255
7256 * dlfcn/tststatic.c (main): Converted to ...
7257 (do_test): ... this.
7258 (TEST_FUNCTION): New macro.
7259 Include test-skeleton.c.
7260
7261 2015-03-26 Alan Modra <amodra@gmail.com>
7262
7263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7264 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7265 zero for undefined weak.
7266 (elf_machine_plt_conflict): Similarly.
7267
7268 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7269
7270 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7271 atanh.
7272 * math/auto-libm-test-out: Regenerated.
7273 * sysdeps/i386/fpu/libm-test-ulps: Update.
7274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275
7276 * math/auto-libm-test-in: Add another test of asin.
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/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7282 Remove macro.
7283 (LLL_EBX_REG): Likewise.
7284 (LLL_ENTER_KERNEL): Likewise.
7285
7286 * math/auto-libm-test-in: Add more tests of asin.
7287 * math/auto-libm-test-out: Regenerated.
7288 * sysdeps/i386/fpu/libm-test-ulps: Update.
7289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290
7291 [BZ #18138]
7292 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7293 libc_do_syscall_args): New structure.
7294 (INTERNAL_SYSCALL_MAIN_0): New macro.
7295 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7296 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7297 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7298 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7299 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7300 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7301 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7302 Replace conditional definitions by conditional definitions of ....
7303 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7304 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7305 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7306 (libpthread-sysdep_routines): Add libc-do-syscall.
7307 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7308 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7309 to __NR_futex not 240.
7310
7311 2015-03-25 Alan Modra <amodra@gmail.com>
7312
7313 * NEWS: Advertise TLS optimization.
7314 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7315 (DT_PPC_NUM): Increment.
7316 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7317 (CHECK_STATIC_TLS): Use here.
7318 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7319 TLS descriptors.
7320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7321 * sysdeps/powerpc/dl-tls.c: New file.
7322 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7323 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7324 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7325 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7329
7330 2015-03-25 Alan Modra <amodra@gmail.com>
7331
7332 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7333 for overlapping .opd entries" to "support...".
7334 * sysdeps/powerpc/powerpc64/configure: Regenerate
7335
7336 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7337
7338 * math/auto-libm-test-in: Add more tests of acos.
7339 * math/auto-libm-test-out: Regenerated.
7340 * sysdeps/i386/fpu/libm-test-ulps: Update.
7341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342
7343 * math/auto-libm-test-in: Add more tests of expm1.
7344 * math/auto-libm-test-out: Regenerated.
7345 * sysdeps/i386/fpu/libm-test-ulps: Update.
7346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7347
7348 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7349
7350 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7351 * math/auto-libm-test-out: Regenerated.
7352 * sysdeps/i386/fpu/libm-test-ulps: Update.
7353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7354
7355 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7357
7358 * math/auto-libm-test-in: Add more tests of log2.
7359 * math/auto-libm-test-out: Regenerated.
7360 * sysdeps/i386/fpu/libm-test-ulps: Update.
7361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7362
7363 2015-03-23 Roland McGrath <roland@hack.frob.com>
7364
7365 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7366 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7367 _IO_IS_APPENDING bit in READ_WRITE instead.
7368
7369 2015-03-23 Florian Weimer <fweimer@redhat.com>
7370
7371 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7372 (__determine_cpumask_size): Replace extend_alloca with a
7373 variable-length array. Do not treat res == 0 as an error.
7374
7375 2015-03-23 Florian Weimer <fweimer@redhat.com>
7376
7377 [BZ #18100]
7378 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7379 and integer overflow.
7380 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7381 (main): Add integer overflow tests.
7382 * manual/pattern.texi (Calling Wordexp): Document additional use
7383 for WRDE_SYNTAX.
7384
7385 2015-03-23 Alan Modra <amodra@gmail.com>
7386
7387 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7388 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7389 and false branch of conditional.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7391 Likewise.
7392
7393 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7394
7395 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7396 libc-modules.h
7397 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7398 unused declaration of _hurd_intr_rpc_msg_in_trap.
7399 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7400 defined instead of whether it is non-zero.
7401 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7402 input constraint instead of both input and output constraint. Use ecx
7403 clobber instead of %ecx.
7404 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7405 mutex_unlock): Use a statement expression instead of an expression list.
7406 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7407 type to vm_size_t instead of vm_address_t.
7408 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7409 defined instead of whether it is non-zero.
7410 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7411 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7412 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7413 comparisons with mapaddr.
7414 * nscd/nscd-client.h: Include <time.h>.
7415 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7416 9th parameter to __vm_region instead of int.
7417 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7418 * scripts/check-local-headers.sh (exclude): Add device/,
7419 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7420 cthreads.h.
7421
7422 2015-03-19 Roland McGrath <roland@hack.frob.com>
7423
7424 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7425 to account for alignment padding.
7426 * sysdeps/arm/memmove.S: Likewise.
7427
7428 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7429
7430 * sysdeps/unix/sysv/linux/generic/README: New file.
7431
7432 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7433
7434 [BZ #18138]
7435 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7436 (futex_abstimed_wait)
7437 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7438 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7439 of lll_futex_timed_wait.
7440
7441 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7442
7443 [BZ #17542]
7444 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7445
7446 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7447
7448 [BZ #17090]
7449 [BZ #17620]
7450 [BZ #17621]
7451 [BZ #17628]
7452 * NEWS: Update.
7453 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7454 entries with Static TLS too. Skip entries past the end of the
7455 allocated DTV, from Alan Modra.
7456 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7457 Static TLS DTV entry set up from...
7458 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7459 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7460 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7461 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7462 for Static TLS.
7463 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7464 that the slot we find is associated with the given map before
7465 using its generation count.
7466 * nptl_db/db_info.c: Include ldsodefs.h.
7467 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7468 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7469 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7470 (link_map::l_tls_offset): New struct field.
7471 (dtv_t::counter): Likewise.
7472 (rtld_global): New struct.
7473 (_rtld_global): New rtld variable.
7474 (dl_tls_dtv_slotinfo_list): New rtld global field.
7475 (dtv_slotinfo_list): New struct.
7476 (dtv_slotinfo): Likewise.
7477 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7478 (td_lookup): Rename to...
7479 (td_mod_lookup): ... this. Use new mod parameter instead of
7480 LIBPTHREAD_SO.
7481 * nptl_db/td_thr_tlsbase.c: Include link.h.
7482 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7483 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7484 addresses even if the DTV is out of date or missing them.
7485 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7486 index zero-length arrays.
7487 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7488 (td_lookup): Make it a macro implemented in terms of...
7489 (td_mod_lookup): ... this declaration.
7490 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7491 (DB_MAIN_VARIABLE): Likewise.
7492
7493 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7494
7495 [BZ #18134]
7496 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7497
7498 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7499
7500 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7501
7502 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7503
7504 [BZ #18128]
7505 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7506 (atomic_add, atomic_increment_and_test)
7507 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7508
7509 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7510
7511 * stdlib/setenv.c (__add_to_environ):
7512 Dump core quickly if setenv (..., NULL, ...) is called.
7513
7514 2015-03-13 Roland McGrath <roland@hack.frob.com>
7515
7516 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7517 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7518 all the necessary asm magic in one place.
7519 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7520 using those.
7521
7522 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7523
7524 [BZ #14906]
7525 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7526 traced file mtime. Use consistent log message.
7527 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7528 (register_traced_file): Call install_watches. Always set mtime.
7529 (invalidate_cache): Iterate over all trace files. Call install_watches.
7530 (inotify_check_files): Don't inline. Handle watching parent
7531 directories and configuration file movement in and out.
7532 (handle_inotify_events): New function.
7533 (main_loop_poll): Call handle_inotify_events.
7534 (main_loop_epoll): Likewise.
7535 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7536 (struct traced_file): Use array of inotify fds. Add parent directory,
7537 and basename.
7538 (struct database_dyn): Remove unused file_mtime.
7539 (init_traced_file): New inline function.
7540 (define_traced_file): New macro.
7541 * nss/nss_db/db-init.c: Use define_traced_file.
7542 (_nss_db_init): Use init_traced_file.
7543 * nss/nss_files/files-init.c: Use define_traced_file.
7544 (_nss_files_init): Use init_traced_file.
7545
7546 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7547
7548 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7549 [_LIBC]: Do not include <stdlib.h>.
7550 [!_LIBC] (abort): Remove declaration.
7551 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7552 _FP_STATIC_ASSERT instead of conditionally calling abort.
7553 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7554 (_FP_EXTEND_CNAN): Likewise.
7555 (FP_TRUNC): Likewise.
7556 (__FP_CLZ): Likewise.
7557 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7558
7559 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7560
7561 * manual/string.texi (XPG basename): Fix prototype.
7562
7563 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7564
7565 [BZ #18080]
7566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7567 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7569 (__setcontext): Likewise.
7570 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7571 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7572 Call rt_sigprocmask syscall one time to set new signal mask
7573 and retrieve the current signal mask instead of two calls.
7574 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7575 (__swapcontext): Likewise.
7576 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7577 * stdlib/tst-setcontext2.c: New file.
7578
7579 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7580
7581 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7582
7583 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7584
7585 [BZ #18093]
7586 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7587 the wrong size.
7588
7589 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7590
7591 [BZ #18043]
7592 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7593
7594 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7595
7596 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7597 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7598 Remove define.
7599 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7600 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7601 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7602 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7603 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7604 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7605 define.
7606 * nptl_db/td_symbol_list.c (td_lookup): Remove
7607 HAVE_ASM_GLOBAL_DOT_NAME code.
7608 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7609 HAVE_ASM_GLOBAL_DOT_NAME check.
7610 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7611 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7612 (DOT_LABEL): Remove define.
7613 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7614 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7615 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7616 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7617 (__TLS_GET_ADDR): Likewise.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7619 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7620
7621 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7622
7623 [BZ #18111]
7624 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7625 (_FPU_SETCW): Initialize cw from fpsr before storing.
7626 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7627 (fesetexceptflag): Rewrite using fpu_control.h.
7628 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7629
7630 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7631
7632 [BZ #18110]
7633 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7634 asms.
7635 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7636
7637 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7638
7639 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7640 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7641 abort.
7642 (_FP_FMA): Likewise.
7643 (_FP_DIV): Likewise.
7644
7645 2015-03-10 Roland McGrath <roland@hack.frob.com>
7646
7647 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7648 with 0 in that case.
7649 * Makefile (summarize-tests): New canned sequence, factored out of
7650 commands for targets tests and xtests. Display summary lines that
7651 don't start with PASS: or XFAIL: rather than ones that do start with
7652 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7653 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7654 do start with ERROR: or FAIL:.
7655 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7656 (except for [$(build-shared) = yes]).
7657 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7658 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7659 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7660 * nptl/Makefile: Revert 2015-03-04 changes.
7661 [$(CXX) empty] (tests-unsupported): New variable.
7662 * debug/Makefile: Likewise.
7663
7664 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7665 gnulib file. Replace __attribute with __attribute__ throughout.
7666
7667 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7668
7669 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7670
7671 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7672
7673 [BZ #18104]
7674 * math/auto-libm-test-in: Add another test of pow.
7675 * math/auto-libm-test-out: Regenerated.
7676
7677 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7678
7679 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7680 $(config-cflags-nofma).
7681
7682 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7683
7684 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7685 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7686 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7687 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7688 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7689 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7690 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7691 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7692 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7693 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7694 Add comment on closing #endif.
7695
7696 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7697
7698 * posix/wordexp.c (CHAR_IN_SET): New macro.
7699 (parse_param): Use it.
7700
7701 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7702
7703 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7704
7705 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7706
7707 [BZ #18043]
7708 * posix/wordexp.c (parse_param): Fix buffer overflow.
7709 * posix/wordexp-test.c (test_case): Add test case.
7710
7711 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7712
7713 [BZ #18042]
7714 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7715 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7716
7717 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7718
7719 [BZ #18043]
7720 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7721 (do_bz18043): Delete.
7722 (at_page_end): New.
7723 (testit): Refactor to have words at the edge of unreadable page.
7724
7725 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7726
7727 [BZ #16734]
7728 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7729 Cleanup read-only streams as well.
7730 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7731
7732 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7733
7734 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7735 <bits/libc-lockP.h>
7736
7737 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7738
7739 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7740 on [__KERNEL__].
7741 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7742 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7743 * soft-fp/op-common.h (_FP_DECL): Likewise.
7744
7745 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 * elf/ifuncdep2.c (global): Replace
7748 __attribute__((visibility("protected"))) with
7749 asm (".protected global").
7750 * elf/ifuncmod1.c (global): Likewise.
7751 * elf/ifuncmod5.c (global): Likewise.
7752
7753 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7754
7755 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7756 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7757
7758 2015-03-06 Roland McGrath <roland@hack.frob.com>
7759
7760 * manual/install.texi (Configuring and compiling):
7761 Document test-wrapper-env-only.
7762 * INSTALL: Regenerated.
7763
7764 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7765
7766 [BZ #18043]
7767 * posix/wordexp.c (parse_param): Fix buffer overflow.
7768 * posix/wordexp-test.c (do_bz18043): Add test case.
7769
7770 2015-03-06 Vincent Bernat <vincent@bernat.im>
7771
7772 * time/tst-strptime2.c (do_test): Ensure failing tests are
7773 reported correctly.
7774 * time/tst-strptime3.c (do_test): Likewise.
7775
7776 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7777
7778 Fix aio_error thread-safety.
7779 * sysdeps/pthread/aio_error.c: New file
7780 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7781 synchronization.
7782
7783 2015-03-06 Florian Weimer <fweimer@redhat.com>
7784
7785 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7786 (group_number, vfprintf): Use it.
7787 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7788 (JUMP, REF): Use it.
7789 (WORK_BUFFER_SIZE): New enum constant.
7790 (process_arg, vfprintf): Use it.
7791
7792 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7793
7794 * manual/errno.texi (Error Messages): Complete example function
7795 by adding missing #define.
7796 (program_invocation_name): Add statement indicating GNU
7797 extension and reference which header file declares the variable.
7798 (program_invocation_short_name): Likewise.
7799
7800 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7801
7802 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7803 compatibility note.
7804
7805 2015-03-05 Roland McGrath <roland@hack.frob.com>
7806
7807 * Makeconfig (test-wrapper-env-only): New variable.
7808 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7809 then use that with $(test-wrapper-env-only) rather than using
7810 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7811
7812 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7813
7814 [BZ #18082]
7815 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7816 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7817 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7818 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7819 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7820 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7821 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7822 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7823 Likewise.
7824 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7826 Likewise.
7827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7828 Likewise.
7829 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7830 Likewise.
7831 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7832 Likewise.
7833 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7835 Likewise.
7836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7837 Likewise.
7838 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7839 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7840
7841 2015-03-04 Roland McGrath <roland@hack.frob.com>
7842
7843 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7844 (ETH_ALEN): New macro.
7845 (struct ether_addr): Use it for length of ether_addr_octet.
7846
7847 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7848 (setdb): Don't call __nss_configure_lookup for "rpc".
7849 (do_test): Don't call test_rpc.
7850 (output_rpcent, test_rpc): Functions moved ...
7851 * sunrpc/test-rpcent.c: ... to this new file.
7852 * sunrpc/Makefile (tests): Add it.
7853
7854 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7855 __xpg_sigpause.
7856 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7857 * nptl/tst-signal6.c: Likewise.
7858 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7859 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7860
7861 * configure.ac (libc_cv_cxx_link_ok): New check.
7862 Reset CXX to empty if it fails to link.
7863 * configure: Regenerated.
7864 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7865 bug-atexit3-lib only if $(CXX) is nonempty.
7866 * nptl/Makefile (tests): Likewise for tst-cancel24.
7867 (tests, tests-static): Likewise for tst-cancel24-static.
7868 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7869 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7870 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7871 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7872
7873 2015-03-04 Andreas Schwab <schwab@suse.de>
7874
7875 [BZ #17631]
7876 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7877 for non-GCC compilers.
7878 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7879 Likewise.
7880
7881 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7882
7883 [BZ #17776]
7884 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7885 integer before bitwise and assembly operations.
7886 (feclearexcept): Likewise.
7887 * math/test-fenvinline.c: New file.
7888 * math/Makefile: Add test-fenvinline test.
7889
7890 2015-03-03 Alan Modra <amodra@gmail.com>
7891
7892 [BZ #16512]
7893 * scripts/localplt.awk: Strip off symbol version.
7894 * NEWS: Mention bug fix.
7895
7896 2015-03-02 Roland McGrath <roland@hack.frob.com>
7897
7898 * sysdeps/pthread/timer_routines.c
7899 (timer_free_list, thread_free_list, thread_active_list): Make static.
7900
7901 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7902
7903 [BZ #17779]
7904 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7905 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7906 Undefine.
7907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7908 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7909 Likewise.
7910 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7911 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7912 Likewise.
7913
7914 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7915
7916 [BZ #18036]
7917 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7918 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7919
7920 2015-03-02 Andreas Schwab <schwab@suse.de>
7921
7922 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7923 variable name.
7924
7925 2015-03-02 Florian Weimer <fweimer@redhat.com>
7926
7927 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7928 Return error status.
7929
7930 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7931
7932 [BZ #15969]
7933 * locale/findlocale.c (_nl_find_locale): Introduce const
7934 version of loc_name and drop unsafe type casts.
7935
7936 2015-02-27 Roland McGrath <roland@hack.frob.com>
7937
7938 * dlfcn/tststatic2.c (main): Converted to ...
7939 (do_test): ... this.
7940 (TEST_FUNCTION): New macro.
7941 Include test-skeleton.c.
7942
7943 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7944
7945 [BZ #17711]
7946 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7947 (tests-pie): Add vismain.
7948 (CFLAGS-vismain.c): New.
7949 * elf/vismain.c: Add comments for PIE requirement.
7950
7951 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7952
7953 [BZ #18046]
7954 [BZ #18047]
7955 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7956 0x1p-56L as threshold for just returning the argument.
7957 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7958 0x1p-32L as threshold for just returning the argument.
7959 * math/auto-libm-test-in: Add more tests of atanh.
7960 * math/auto-libm-test-out: Regenerated.
7961 * sysdeps/i386/fpu/libm-test-ulps: Update.
7962 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7963
7964 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7965
7966 * string/bcopy.c (bcopy): Call memmove for performance.
7967
7968 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7969
7970 * string/bzero.c (__bzero): Call memset for performance.
7971
7972 2015-02-27 John David Anglin <dave.anglin@bell.net>
7973
7974 [BZ #18068]
7975 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7976 to 00100000.
7977
7978 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7979
7980 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7981
7982 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7983
7984 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7985 (__kernel_standard): Use CSTR macro when setting exc.name.
7986 * sysdeps/ieee754/Makefile [$(subdir) = math]
7987 (CFLAGS-k_standard.c): Remove variable.
7988
7989 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7990 setting p and q from "else if" to "else".
7991 (qzero): Likewise.
7992 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7993 (qone): Likewise.
7994 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7995 (qzerof): Likewise.
7996 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7997 (qonef): Likewise.
7998 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7999 (qzero): Likewise.
8000 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8001 (qone): Likewise.
8002
8003 [BZ #18038]
8004 [BZ #18039]
8005 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8006 return pi/2 for arguments below 0x1p-113L.
8007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8008 return pi/2 for arguments below 0x1p-106L.
8009 * math/auto-libm-test-in: Add more tests of acos.
8010 * math/auto-libm-test-out: Regenerated.
8011
8012 [BZ #16351]
8013 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8014 (MO): New macro.
8015 (__ieee754_asin): Force underflow exception for results with small
8016 absolute value.
8017 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8018 (MO): New macro.
8019 (__ieee754_asinf): Force underflow exception for results with
8020 small absolute value.
8021 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8022 (__ieee754_asin): Force underflow exception for results with small
8023 absolute value.
8024 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8025 (__ieee754_asinf): Force underflow exception for results with
8026 small absolute value.
8027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8028 (__ieee754_asinl): Force underflow exception for results with
8029 small absolute value.
8030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8031 (__ieee754_asinl): Force underflow exception for results with
8032 small absolute value.
8033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8034 (__ieee754_asinl): Force underflow exception for results with
8035 small absolute value.
8036 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8037 Include <math.h>.
8038 * math/auto-libm-test-in: Do not mark underflow exceptions as
8039 possibly missing for bug 16351.
8040 * math/auto-libm-test-out: Regenerated.
8041
8042 [BZ #18030]
8043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8044 of power of 2 down when low part has opposite sign.
8045 * math/libm-test.inc (logb_test_data): Add more tests.
8046
8047 2015-02-26 Andreas Schwab <schwab@suse.de>
8048
8049 [BZ #18032]
8050 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8051 over collating symbol inside a bracket expression. Minor cleanup.
8052 * posix/tst-fnmatch3.c (do_test): Add test case.
8053
8054 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8055
8056 [BZ #18029]
8057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8058 Adjust exponent of power of 2 down when low part has opposite
8059 sign.
8060 * math/libm-test.inc (ilogb_test_data): Add more tests.
8061
8062 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8063
8064 [BZ #15969]
8065 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8066 the previous change.
8067
8068 [BZ #15969]
8069 * locale/findlocale.c (_nl_find_locale): Retry archive search
8070 after alias expansion.
8071
8072 2015-02-25 Roland McGrath <roland@hack.frob.com>
8073
8074 * iconv/tst-iconv3.c (main): Converted to ...
8075 (do_test): ... this.
8076 (TEST_FUNCTION): New macro.
8077 Include test-skeleton.c.
8078
8079 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8080 (convert): Make function static.
8081 (test_unalign): Likewise. Add const to argument pointee types.
8082 (main): Replace with static function do_test.
8083 Print "Succeeded." only if RET is zero.
8084 (TEST_FUNCTION): New macro.
8085 Include test-skeleton.c.
8086
8087 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8088 returns a null pointer.
8089
8090 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8091
8092 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8093 to __memcpy_ppc only for static builds.
8094
8095 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8096
8097 [BZ #18020]
8098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8099 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8100 * math/auto-libm-test-in: Add more tests of asinh.
8101 * math/auto-libm-test-out: Regenerated.
8102 * sysdeps/i386/fpu/libm-test-ulps: Update.
8103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8104
8105 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8106
8107 [BZ #15850]
8108 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8109 and ip6_mtuinfo definitions here.
8110 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8111 in this define too. Update comment.
8112
8113 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8114
8115 * elf/sprof.c (load_shobj): Tweak error message to match others.
8116
8117 2015-02-24 Kevin Easton <kevin@guarana.org>
8118
8119 [BZ #16145] (partial fix)
8120 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8121 to reduce lock contention.
8122
8123 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8124
8125 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8126 (struct timex): Update time comment.
8127 (ADJ_SETOFFSET): Define.
8128
8129 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #18019]
8132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8133 2**56 not 2**28 as threshold for log (2x) formula.
8134 * math/auto-libm-test-in: Add more tests of acosh.
8135 * math/auto-libm-test-out: Regenerated.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8138
8139 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8140
8141 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8142 parenthesis around the buf assignment.
8143 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8144
8145 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8146
8147 [BZ #16783]
8148 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8149 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8150 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8151 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8152 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8153 * math/libm-test.inc (scalb_test_data): Add more tests.
8154
8155 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8156
8157 [BZ #17916]
8158 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8159 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8160
8161 2015-02-24 Eric Rannaud <e@nanocritical.com>
8162
8163 [BZ #17523]
8164 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8165 * io/bits/fcntl2.h (open): Use it.
8166 (openat): Likewise.
8167 * io/open.c (__libc_open): Likewise.
8168 * io/open64.c (__libc_open64): Likewise.
8169 * io/open64_2.c (__open64_2): Likewise.
8170 * io/open_2.c (__open_2): Likewise.
8171 * io/openat.c (__openat): Likewise.
8172 * io/openat64.c (__openat64): Likewise.
8173 * io/openat64_2.c (__openat64_2): Likewise.
8174 * io/openat_2.c (__openat_2): Likewise.
8175 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8176 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8177 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8178 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8179 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8180 (__open_nocancel): Likewise.
8181 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8182 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8183 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8184
8185 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8186
8187 [BZ #14841]
8188 * resolv/gethnamaddr.c (getanswer): Skip logging if
8189 RES_USE_DNSSEC is set.
8190 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8191
8192 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8193
8194 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8195
8196 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8197
8198 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8199 201304L, for Unicode 7.
8200
8201 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 [BZ #17836]
8204 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8205 shared library. Add gmon-start.os otherwise.
8206 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8207 $(objpfx)gmon-start.os if builing shared library.
8208 ($(objpfx)g$(static-start-installed-name)): Likewise.
8209
8210 2015-02-23 Andreas Schwab <schwab@suse.de>
8211
8212 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8213
8214 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8215
8216 [BZ #17269]
8217 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8218 (enlarge_userbuf): Likewise.
8219
8220 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8221
8222 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8223 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8224 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8225 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8226
8227 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8228
8229 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8230 expression inside statement expression.
8231
8232 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8233
8234 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8235 <sysdeps/nptl/lowlevellock.h> and remove macros and
8236 functions that are now defined there.
8237 (SYS_futex): Remove.
8238 (lll_compare_and_swap): Remove.
8239 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8240
8241 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8242
8243 [BZ #17999]
8244 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8245 instead of scandirat.
8246 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8247 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8248 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8249 __scandirat.
8250 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8251 (__scandirat): Declare. Use libc_hidden_proto.
8252 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8253 Remove variable.
8254 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8255
8256 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #15319]
8259 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8260 (MO): New macro.
8261 (__ieee754_atan2): For results with small absolute value, force
8262 underflow exception and remove excess range and precision from
8263 return value.
8264 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8265 (MO): New macro.
8266 (__ieee754_atan2f): For results with small absolute value, force
8267 underflow exception and remove excess range and precision from
8268 return value.
8269 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8270 (MO): New macro.
8271 (__atan): For results with small absolute value, force underflow
8272 exception and remove excess range and precision from return value.
8273 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8274 (MO): New macro.
8275 (__atanf): For results with small absolute value, force underflow
8276 exception and remove excess range and precision from return value.
8277 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8278 <math.h>.
8279 (__ieee754_atan2): Force underflow exception for results with
8280 small absolute value.
8281 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8282 <math_private.h>.
8283 (atan): Force underflow exception for results with small absolute
8284 value.
8285 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8286 (__atanf): Force underflow exception for results with small
8287 absolute value.
8288 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8289 <math.h>.
8290 (__atanl): Force underflow exception for results with small
8291 absolute value.
8292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8293 (__atanl): Force underflow exception for results with small
8294 absolute value.
8295 * sysdeps/x86/fpu/bits/mathinline.h
8296 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8297 (__ieee754_atan2): Only define inline for long double.
8298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8299 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8300 * math/auto-libm-test-in: Do not mark underflow exceptions as
8301 possibly missing for bug 15319. Add more tests of atan2.
8302 * math/auto-libm-test-out: Regenerated.
8303 * math/libm-test.inc (casin_test_data): Do not mark underflow
8304 exceptions as possibly missing for bug 15319.
8305 (casinh_test_data): Likewise.
8306 * sysdeps/i386/fpu/libm-test-ulps: Update.
8307
8308 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8309
8310 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8311 * sysdeps/mips/bits/endian.h: Fix comments.
8312
8313 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #17996]
8316 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8317 (hdestroy_r): Likewise.
8318 (hsearch_r): Likewise.
8319 (__hcreate_r): Declare and use libc_hidden_proto.
8320 (__hdestroy_r): Likewise.
8321 (__hsearch_r): Likewise.
8322 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8323 (hcreate): Call __hcreate_r instead of hcreate_r.
8324 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8325 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8326 as weak alias of __hcreate_r.
8327 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8328 __hdestroy_r.
8329 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8330 __hsearch_r.
8331 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8332 Remove variable.
8333 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8334 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8335 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8336 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8337
8338 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8339
8340 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8341 arena_lock into a single arena_get.
8342
8343 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8344
8345 * dl-reloc.c: Inlucde libc-internal.h.
8346 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8347 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8348 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8349 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8350 (grow_heap): Likewise.
8351 * malloc/malloc.c: Include libc-internal.h.
8352 (do_check_malloc): Call powerof2.
8353 (sysmalloc): Use pagesize. Call ALIGN_UP.
8354 (systrim): Use pagesize.
8355 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8356 (__libc_valloc): Use pagesize.
8357 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8358
8359 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8360
8361 [BZ #17991]
8362 * include/sys/resource.h (__getrlimit64): Declare. Use
8363 libc_hidden_proto.
8364 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8365 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8366 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8367 getrlimit64.
8368 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8369 __getrlimit64.
8370 [!getrlimit64] (getrlimit64): Define as weak alias of
8371 __getrlimit64. Use libc_hidden_weak.
8372 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8373 using __getrlimit64 not __new_getrlimit64.
8374 (__GI_getrlimit64): Likewise.
8375 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8376 Likewise.
8377 (__GI_getrlimit64): Likewise.
8378 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8380 (getrlimit): Add __getrlimit64 alias.
8381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8382 Likewise.
8383 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8384 Remove variable.
8385 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8386 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8387
8388 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8389
8390 * libio/fileops.c: Add missing sys/mman.h
8391 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8392
8393 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8394
8395 * manual/math.texi (Errors in Math Functions): Clarify goals
8396 regarding inexact and underflow exceptions.
8397
8398 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8399
8400 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8401 * sysdeps/mips/memset.S: Ditto.
8402
8403 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8404
8405 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8406
8407 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8408
8409 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8410 (__v1longjmp): Remove versioned symbol.
8411 (__v1siglongjmp): Remove alias and versioned symbol.
8412 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8413 (__v2siglongjmp): Likewise.
8414
8415 2015-02-16 Torvald Riegel <triegel@redhat.com>
8416
8417 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8418
8419 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8420
8421 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8422
8423 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8424
8425 [BZ #17987]
8426 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8427 zero result does not depend on the sign resulting from
8428 subtraction.
8429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8430 Likewise.
8431 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8434 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8435 * math/libm-test.inc (remquo_test_data): Add more tests.
8436
8437 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8438
8439 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8440 Problem reported by J William Piggott.
8441
8442 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8443
8444 [BZ #17978]
8445 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8446 products 4 * y and 2 * y where those would overflow.
8447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8448 Likewise.
8449 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8450 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8452 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8453 * math/libm-test.inc (remquo_test_data): Add more tests.
8454
8455 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8456
8457 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8458 [defined _COMPILING_NEWLIB].
8459 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8460 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8461
8462 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8463 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8464
8465 2015-02-16 Torvald Riegel <triegel@redhat.com>
8466
8467 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8468 acquired.
8469
8470 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8471
8472 [BZ #17792]
8473 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8474 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8475 HOST_STACK_END_ADDR): Likewise.
8476
8477 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8478
8479 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8480 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8481 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8482
8483 2015-02-13 Roland McGrath <roland@hack.frob.com>
8484
8485 * sysdeps/generic/c++-types.data: New file.
8486 * sysdeps/generic/ld.abilist: New file.
8487 * sysdeps/generic/libBrokenLocale.abilist: New file.
8488 * sysdeps/generic/libanl.abilist: New file.
8489 * sysdeps/generic/libc.abilist: New file.
8490 * sysdeps/generic/libcrypt.abilist: New file.
8491 * sysdeps/generic/libdl.abilist: New file.
8492 * sysdeps/generic/libm.abilist: New file.
8493 * sysdeps/generic/libpthread.abilist: New file.
8494 * sysdeps/generic/libresolv.abilist: New file.
8495 * sysdeps/generic/librt.abilist: New file.
8496
8497 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8498
8499 [BZ #17569]
8500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8501 Compute absolute value of x as modified by fmod, not original
8502 value of x.
8503 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8504 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8505 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8506 RUN_TEST_ffI_f1_mod8.
8507 (remquo_test_data): Add more tests.
8508
8509 2015-02-13 Roland McGrath <roland@hack.frob.com>
8510
8511 * sysdeps/init_array/pt-crti.S: New file.
8512
8513 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8514
8515 [BZ #17967]
8516 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8517 __builtin_fmaf instead of relying on contraction of a * b + c.
8518
8519 2015-02-12 J William Piggott <elseifthen@gmx.com>
8520
8521 [BZ #17969]
8522 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8523 node.
8524
8525 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #17964]
8528 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8529 __builtin_fma instead of relying on contraction of a * b + c.
8530
8531 2015-02-12 Roland McGrath <roland@hack.frob.com>
8532
8533 * Makeconfig (ASFLAGS): Add -Werror=undef.
8534 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8535 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8536 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8537
8538 * Makeconfig (after-link): New variable.
8539 (+link-pie, +link-pie-tests): Use it.
8540 (+link-static, +link-static-tests): Likewise.
8541 (+link, +link-tests): Likewise.
8542 * Makerules (build-module, build-module-asneeded): Likewise.
8543 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8544 Likewise.
8545 * elf/Makefile ($(objpfx)ld.so): Likewise.
8546
8547 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8548
8549 [BZ #17965]
8550 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8551 both struct timeval and struct timespec.
8552
8553 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #16560]
8556 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8557 and redefine.
8558 (__ieee754_exp2l): Do not multiply small fractional parts by
8559 M_LN2l.
8560 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8561 small argument.
8562 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8563 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8564 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8565 * math/auto-libm-test-in: Add more tests of exp2.
8566 * math/auto-libm-test-out: Regenerated.
8567
8568 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8569
8570 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8571 unaligned path.
8572
8573 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8574
8575 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8576 little endian.
8577
8578 2015-02-12 Andreas Schwab <schwab@suse.de>
8579
8580 [BZ #15790]
8581 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8582 Filter out elision flags from value returned in kind.
8583 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8584 * nptl/tst-pthread-mutexattr.c: New file.
8585
8586 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8587
8588 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8589 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8590 into gnu-gnu, and update comment to refer to abi-tags.
8591
8592 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8593
8594 [BZ #15467]
8595 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8596 (__sincos): Set errno to EDOM for infinite argument.
8597 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8598 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8599 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8600 (__sincosl): Set errno to EDOM for infinite argument.
8601 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8602 (__sincosl): Set errno to EDOM for infinite argument.
8603 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8604 (__sincosl): Set errno to EDOM for infinite argument.
8605 * math/libm-test.inc (sincos_test_data): Test errno setting.
8606
8607 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8608
8609 * string/strxfrm_l.c: Remove #define STRCMP.
8610 * string/strcoll_l.c: Remove #define STRLEN.
8611 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8612 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8613
8614 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8615
8616 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8617 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8618 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8619 * sysdeps/mips/mips64/Makefile: ... here.
8620 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8621 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8622 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8623 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8624 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8625 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8626 * sysdeps/mips/mips64/n64/Implies: Likewise.
8627
8628 2015-02-10 Roland McGrath <roland@hack.frob.com>
8629
8630 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8631 <sys/time.h>, <string.h>, and <errno.h>.
8632 (dest_offset, dest_address, value, zero): Remove unused variables.
8633 (ldouble): Remove typedef.
8634 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8635 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8636 1). Fix code style.
8637 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8638 (check): Function removed.
8639 (CHECK): New macro.
8640 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8641 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8642 Don't call set_sigaction_FP and remove_sigaction_FP here.
8643 (ldouble_test): Just use 'long double' as macro argument, no need for
8644 the 'ldouble' typedef.
8645 (do_test): Set up SIGFPE handler at start, using plain signal rather
8646 than sigaction. Fix code style.
8647
8648 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8649
8650 [BZ #17949]
8651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8652 jump label.
8653
8654 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8655
8656 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8657 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8658
8659 * sysdeps/powerpc/configure.ac: Remove file.
8660 * sysdeps/powerpc/configure: Likewise.
8661
8662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8663 [sysdep_routines]: Remove wordcopy-power6 object.
8664 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8665 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8666 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8667 (__memmove_ppc32): Likewise.
8668 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8669 file.
8670 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8671 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8672 Remove preprocessor.
8673
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8675 [sysdep_routines]: Remove wide chars objects.
8676 [wcsmbs]: New rule for wide char objects.
8677
8678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8679 Remove wordcopy-power6 obejct.
8680 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8681 Use local call for wordcopy and memcpy symbols.
8682 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8683 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8684 implementation for loader.
8685 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8686
8687 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8688 Remove wordcopy-power7 object.
8689 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8690 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8691 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8692 (_wordcopy_fwd_dest_aligned): Likewise.
8693 (_wordcopy_bwd_aligned): Likewise.
8694 (_wordcopy_bwd_dest_aligned): Likewise.
8695
8696 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8697 Rewrite to call __memmove_ppc instead of include default
8698 implementation.
8699
8700 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8701 Remove wide chars objects.
8702 [wcsmbs]: New rule for wide char objects.
8703
8704 2015-02-09 Andreas Schwab <schwab@suse.de>
8705
8706 [BZ #17912]
8707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8708 in terms of __O_DIRECTORY.
8709
8710 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8711
8712 * time/getdate.c: Include <stdbool.h>.
8713 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8714 call PTR_MANGLE.
8715 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8716 PTR_DEMANGLE.
8717
8718 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8719
8720 Add ersatz _Static_assert on older C hosts
8721 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8722 pre-C11 C platform that is not known to support _Static_assert.
8723
8724 2015-02-07 Richard Braun <rbraun@sceen.net>
8725
8726 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8727 sigstate.
8728 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8729
8730 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8731
8732 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8733 priority against unexistent AIO_PRIO_DELTA_MAX.
8734 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8735 instead of int.
8736 * misc/fchflags.c (fchflags): Likewise.
8737 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8738 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8739 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8740 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8741 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8742 Declare macros.
8743 [__USE_MISC] (chflags, fchflags): Declare functions.
8744 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8745 EINVAL when nfds is greater than FD_SETSIZE.
8746 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8747 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8748 45.
8749 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8750 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8751 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8752 MACH_RCV_TIMED_OUT.
8753 * hurd/hurd/signal.h (_hurd_self_sigstate,
8754 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8755 Explicit casts from void *.
8756 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8757 * abi-tags: Rename gnu-gnu os into gnu.
8758
8759 [BZ #4719]
8760 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8761 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8762 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8763 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8764 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8765 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8766
8767 [BZ #17944]
8768 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8769 duplicates ADDR->sun_path with sockaddr LEN limitation.
8770 * sysdeps/mach/hurd/connect.c: Include <string.h>
8771 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8772 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8773 * sysdeps/mach/hurd/sendto.c: Likewise.
8774 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8775 implementing it by hand.
8776
8777 2015-02-06 Roland McGrath <roland@hack.frob.com>
8778
8779 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8780 Use sfi_breg on ldr.
8781 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8782 Likewise.
8783
8784 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8785 it's defined.
8786 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8787 Test SIGSETXID only if it's defined.
8788
8789 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8790
8791 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8792 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8793
8794 * nptl/tst-align2.c: Moved ...
8795 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8796 * nptl/Makefile (tests): Remove tst-align2.
8797 * sysdeps/unix/sysv/linux/Makefile
8798 [$(subdir) = nptl] (tests): Add tst-align-clone.
8799 * nptl/tst-getpid1.c: Moved ...
8800 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8801 * nptl/tst-getpid2.c: Moved ...
8802 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8803 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8804 * sysdeps/unix/sysv/linux/Makefile
8805 [$(subdir) = nptl] (tests): ... here.
8806 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8807 * sysdeps/unix/sysv/linux/Makefile
8808 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8809
8810 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8811 Drop trailing \n from perror argument. Use return rather than exit.
8812
8813 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8814 on [SA_SIGINFO].
8815 * nptl/tst-cancel21.c (do_test): Likewise.
8816 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8817 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8818 [!SA_SIGINFO]: Make it a stub test.
8819
8820 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8821 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8822
8823 * posix/tst-getlogin.c: Move to ...
8824 * login/tst-getlogin.c: ... here.
8825 * posix/Makefile (tests): Move tst-getlogin to ...
8826 * login/Makefile (tests): ... here.
8827
8828 * libio/tst-atime.c (do_test): Move local variables SV and E
8829 inside [ST_NOATIME] conditional.
8830
8831 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8832
8833 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8834
8835 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8836 (wait_code): New function replaces macro.
8837 Call nanosleep rather than syscall.
8838
8839 * nptl/pt-system.c: Rewritten. Put everything under
8840 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8841 Use IFUNC to redirect when possible.
8842
8843 * nptl/pt-longjmp.c: Rewritten. Put everything under
8844 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8845 Use IFUNC to redirect when possible.
8846
8847 * nptl/pt-fork.c: Rewritten. Put everything under
8848 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8849 Use IFUNC to redirect when possible.
8850 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8851
8852 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8853 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8854 unconditionally nowadays. This included the only reference to
8855 __vdso_clock_gettime that appears outside libc proper.
8856 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8857 Remove version set (containing only __vdso_clock_gettime).
8858 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8859 Add attribute_hidden.
8860 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8861 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8862 libc_hidden_data_def.
8863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8865
8866 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8867 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8868 setrpcent, and getrpcport to ...
8869 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8870 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8871 getrpcbynumber_r, and getrpcent_r to ...
8872 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8873 * inet/getrpcbyname.c: Moved ...
8874 * sunrpc/getrpcbyname.c: ... here.
8875 * inet/getrpcbyname_r.c: Moved ...
8876 * sunrpc/getrpcbyname_r.c: ... here.
8877 * inet/getrpcbynumber.c: Moved ...
8878 * sunrpc/getrpcbynumber.c: ... here.
8879 * inet/getrpcbynumber_r.c: Moved ...
8880 * sunrpc/getrpcbynumber_r.c: ... here.
8881 * inet/getrpcent.c: Moved ...
8882 * sunrpc/getrpcent.c: ... here.
8883 * inet/getrpcent_r.c: Moved ...
8884 * sunrpc/getrpcent_r.c: ... here.
8885 * inet/Makefile (routines): Move those to ...
8886 * sunrpc/Makefile (routines): ... here.
8887 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8888 the $(subdirs) list.
8889 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8890 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8891 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8892 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8893
8894 * elf/Makefile (routines): Include $(all-dl-routines), not just
8895 $(dl-routines).
8896 (rtld-routines): Likewise. Use = rather than :=.
8897 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8898 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8899 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8900 * sysdeps/arm/Makefile: Likewise.
8901 * sysdeps/i386/Makefile: Likewise.
8902 * sysdeps/x86_64/Makefile: Likewise.
8903 * sysdeps/hppa/Makefile [$(subdir) = elf]
8904 (sysdep_routines, sysdep-rtld-routines): Don't add
8905 $(sysdep-dl-routines) to these.
8906 * sysdeps/ia64/Makefile: Likewise.
8907 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8908 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8909 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8910 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8911 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8912 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8914 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8915 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8916 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8917 these; sysdep-dl-routines alone is enough.
8918
8919 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8920
8921 [BZ #17932]
8922 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8923 where multiplication results in zero and third argument is finite
8924 and nonzero.
8925 * math/auto-libm-test-in: Add more tests of fma.
8926 * math/auto-libm-test-out: Regenerated.
8927
8928 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8929 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8930 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8931 (_FP_CMP_EQ): Likewise.
8932 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8933
8934 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8935 extra argument CHECK_NAN. Redefine as wrapper around
8936 _FP_EXTEND_CNAN.
8937
8938 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8939
8940 * version.h (RELEASE): Set to "stable".
8941 (VERSION): Set to "2.21"
8942 * include/features.h (__GLIBC_MINOR__): Set to 21.
8943
8944 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8945
8946 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8947 Paul Eggert <eggert@cs.ucla.edu>
8948
8949 [BZ #16618]
8950 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8951 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8952 size in bytes. Store needed elements in wpmax. Use needed size
8953 in bytes for extend_alloca.
8954
8955 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8956
8957 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8958 binutls 2.25, and texinfo 5.2.
8959 * INSTALL: Regenerate.
8960 * sysdeps/nios2/configure: Regenerate.
8961 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8962 * manual/contrib.texi: Update.
8963 * po/be.po: Update.
8964 * po/bg.po: Update.
8965 * po/ca.po: Update.
8966 * po/cs.po: Update.
8967 * po/da.po: Update.
8968 * po/de.po: Update.
8969 * po/el.po: Update.
8970 * po/eo.po: Update.
8971 * po/es.po: Update.
8972 * po/fi.po: Update.
8973 * po/fr.po: Update.
8974 * po/gl.po: Update.
8975 * po/hr.po: Update.
8976 * po/hu.po: Update.
8977 * po/ia.po: Update.
8978 * po/id.po: Update.
8979 * po/it.po: Update.
8980 * po/ja.po: Update.
8981 * po/ko.po: Update.
8982 * po/lt.po: Update.
8983 * po/nb.po: Update.
8984 * po/nl.po: Update.
8985 * po/pl.po: Update.
8986 * po/pt_BR.po: Update.
8987 * po/ru.po: Update.
8988 * po/rw.po: Update.
8989 * po/sk.po: Update.
8990 * po/sl.po: Update.
8991 * po/sv.po: Update.
8992 * po/tr.po: Update.
8993 * po/uk.po: Update.
8994 * po/vi.po: Update.
8995 * po/zh_CN.po: Update.
8996 * po/zh_TW.po: Update.
8997
8998 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8999 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9000 * sysdeps/hppa/dl-irel.h: Remove #warning.
9001 * sysdeps/hppa/entry.h: Provide prototype for
9002 __canonicalize_funcptr_for_compare and cast argument.
9003 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9004 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9005 * sysdeps/hppa/sotruss-lib.c: New file.
9006 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9007 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9008 (atomic_compare_and_exchange_bool_acq): Likewise.
9009 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9010 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9011
9012 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9013 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9014 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9015
9016 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9017
9018 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9019 called function in non-PIC case.
9020
9021 2015-01-31 David S. Miller <davem@davemloft.net>
9022
9023 * sysdeps/sparc/sparc32/bits/atomic.h
9024 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9025 unlock not after it.
9026 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9027 volatile register usage warnings from the compiler.
9028
9029 * sysdeps/sparc/nptl/sem_init.c: Delete.
9030 * sysdeps/sparc/nptl/sem_post.c: Delete.
9031 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9032 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9033 * sysdeps/sparc/sparc32/sem_init.c: New file.
9034 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9035 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9036 padding explicitly initialized.
9037 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9038 padding for in-semaphore spinlock.
9039 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9040 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9041 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9042 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9043 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9044 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9045 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9046 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9047 version.
9048 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9049 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9050
9051 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 [BZ #17801]
9054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9055 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9056 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9057 New.
9058 (index_AVX_Fast_Unaligned_Load): Likewise.
9059 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9060 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9061 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9062 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9063 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9064 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9065 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9066 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9067 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9068
9069 2015-01-29 Andreas Schwab <schwab@suse.de>
9070
9071 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9072
9073 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9074
9075 [BZ #17892]
9076 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9077
9078 2015-01-28 Martin Sebor <msebor@redhat.com>
9079
9080 * math/README.libm-test: Clarify. Add "How to read the test output."
9081
9082 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9083
9084 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9085 Define to 0.
9086
9087 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9088
9089 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9090 (__HAVE_64B_ATOMICS): Define to 0.
9091
9092 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9093
9094 [BZ #17885]
9095 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9096 value to set as new flag.
9097
9098 [BZ #16576]
9099 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9100 and use _ARCH_PPCSQ instead.
9101 (__ieee754_sqrt): Likewise.
9102 (__ieee754_sqrtf): Likewise.
9103 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9104 _ARCH_PPCSQ is defined.
9105 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9106 fsqrt instruction.
9107 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9108 _ARCH_PPCSQ is defined.
9109 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9110 fsqrts instruction.
9111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9112
9113 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9114
9115 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9116 bug (GCC BZ #64739).
9117
9118 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9119
9120 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9121 Mark _retval as used.
9122 (lll_futex_wake_unlock): Likewise.
9123 (lll_futex_timed_wait_requeue_pi): Likewise.
9124
9125 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9126 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9127 register variables.
9128
9129 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9130 libm_hidden_def.
9131
9132 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9133 (__bswap_64): Mark as __always_inline.
9134
9135 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9136
9137 [BZ #15378]
9138 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9139 when none of the search directories exist.
9140
9141 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9142
9143 [BZ #17869]
9144 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9145 power8 in .machine directive.
9146
9147 [BZ #17868]
9148 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9149 set dependency from opd value.
9150
9151 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9152
9153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9154 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9155 architecture.
9156
9157 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9158
9159 [BZ #17870]
9160 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9161 with uint64_t.
9162 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9163 (uint64_t) 1.
9164 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9165 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9166 Replace 1UL with (uint64_t) 1.
9167 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9168 int with uint64_t.
9169
9170 2015-01-23 Roland McGrath <roland@hack.frob.com>
9171
9172 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9173 (if_freenameindex): Likewise.
9174
9175 * resource/getrlimit64.c: Add missing libc_hidden_def.
9176
9177 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9178
9179 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9180 __label__.
9181 (_FP_FMA): Likewise.
9182 (_FP_TO_INT_ROUND): Likewise.
9183 (_FP_FROM_INT): Likewise.
9184
9185 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9186
9187 [BZ #16418]
9188 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9189 Make code racy and cancel safe.
9190
9191 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9192
9193 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9194 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9195 attribution.
9196
9197 * pwd/tst-getpw.c: Rewrite.
9198
9199 [BZ #17702]
9200 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9201 (modules-names): Add moddummy1 and moddummy2.
9202 ($(objpfx)tst-rec-dlopen): Define.
9203 * dlfcn/moddummy1.c: New file.
9204 * dlfcn/moddummy2.c: New file.
9205 * dlfcn/tst-rec-dlopen.c: New file.
9206 * elf/dl-cache.c (_dl_load_cache_lookup):
9207 Return char*. Copy result with alloca/strcpy/strdup.
9208 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9209 returns char*. Free cached. If not saving realname
9210 free cached.
9211 * elf/dl-open.c (dl_open_worker): Do not assert that
9212 _r_debug->r_state is RT_CONSISTENT.
9213 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9214 returns char*.
9215
9216 2015-01-21 Torvald Riegel <triegel@redhat.com>
9217 Carlos O'Donell <carlos@redhat.com>
9218
9219 [BZ #12674]
9220 * nptl/sem_waitcommon.c: New file.
9221 * nptl/sem_wait.c: Include sem_waitcommon.c.
9222 (__sem_wait_cleanup, do_futex_wait): Remove.
9223 (__new_sem_wait): Adapt.
9224 (__new_sem_trywait): New function.
9225 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9226 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9227 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9228 (sem_timedwait): Adapt.
9229 * nptl/sem_post.c (__new_sem_post): Adapt.
9230 (futex_wake): New function.
9231 (__old_sem_post): Add release MO fence.
9232 * nptl/sem_open.c (sem_open): Adapt.
9233 * nptl/sem_init.c (__new_sem_init): Adapt.
9234 (futex_private_if_supported): New function.
9235 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9236 (__old_sem_getvalue): Add using previous code.
9237 * sysdeps/nptl/internaltypes.h: Adapt.
9238 * nptl/tst-sem13.c (do_test): Adapt.
9239 * nptl/tst-sem11.c (main): Adapt.
9240 * nptl/sem_trywait.c: Remove.
9241 * nptl/DESIGN-sem.txt: Remove.
9242 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9243 (gen-as-const-headers): Remove structsem.sym.
9244 * nptl/structsem.sym: Remove.
9245 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9246 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9247 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9248 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9249 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9250 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9251 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9252 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9253 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9254 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9255 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9256 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9257 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9258 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9259 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9260 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9261 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9262 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9263 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9264 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9265 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9266 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9267
9268 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9269
9270 * INSTALL: Regenerated.
9271
9272 * po/libc.pot: Regenerated.
9273
9274 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9275 Sandra Loosemore <sandra@codesourcery.com>
9276 Andrew Jenner <andrew@codesourcery.com>
9277 Joseph Myers <joseph@codesourcery.com>
9278 Nathan Sidwell <nathan@codesourcery.com>
9279
9280 * NEWS: Mention new Nios II port.
9281 * sysdeps/nios2/Implies: New file.
9282 * sysdeps/nios2/Makefile: New file.
9283 * sysdeps/nios2/Subdirs: New file.
9284 * sysdeps/nios2/Versions: New file.
9285 * sysdeps/nios2/__longjmp.S: New file.
9286 * sysdeps/nios2/abort-instr.h: New file.
9287 * sysdeps/nios2/backtrace.c: New file.
9288 * sysdeps/nios2/bits/endian.h: New file.
9289 * sysdeps/nios2/bits/fenv.h: New file.
9290 * sysdeps/nios2/bits/link.h: New file.
9291 * sysdeps/nios2/bits/setjmp.h: New file.
9292 * sysdeps/nios2/bsd-_setjmp.S: New file.
9293 * sysdeps/nios2/bsd-setjmp.S: New file.
9294 * sysdeps/nios2/configure: New generated file.
9295 * sysdeps/nios2/configure.ac: New file.
9296 * sysdeps/nios2/crti.S: New file.
9297 * sysdeps/nios2/crtn.S: New file.
9298 * sysdeps/nios2/dl-init.c: New file.
9299 * sysdeps/nios2/dl-machine.h: New file.
9300 * sysdeps/nios2/dl-sysdep.h: New file.
9301 * sysdeps/nios2/dl-tls.h: New file.
9302 * sysdeps/nios2/dl-trampoline.S: New file.
9303 * sysdeps/nios2/gccframe.h: New file.
9304 * sysdeps/nios2/gmp-mparam.h: New file.
9305 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9306 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9307 * sysdeps/nios2/ldsodefs.h: New file.
9308 * sysdeps/nios2/libc-tls.c: New file.
9309 * sysdeps/nios2/libm-test-ulps: New file.
9310 * sysdeps/nios2/machine-gmon.h: New file.
9311 * sysdeps/nios2/math-tests.h: New file.
9312 * sysdeps/nios2/math_private.h: New file.
9313 * sysdeps/nios2/memusage.h: New file.
9314 * sysdeps/nios2/nptl/Makefile: New file.
9315 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9316 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9317 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9318 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9319 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9320 * sysdeps/nios2/nptl/tls.h: New file.
9321 * sysdeps/nios2/preconfigure: New file.
9322 * sysdeps/nios2/s_fma.c: New file.
9323 * sysdeps/nios2/s_fmaf.c: New file.
9324 * sysdeps/nios2/setjmp.S: New file.
9325 * sysdeps/nios2/sfp-machine.h: New file.
9326 * sysdeps/nios2/sotruss-lib.c: New file.
9327 * sysdeps/nios2/stackguard-macros.h: New file.
9328 * sysdeps/nios2/stackinfo.h: New file.
9329 * sysdeps/nios2/start.S: New file.
9330 * sysdeps/nios2/sysdep.h: New file.
9331 * sysdeps/nios2/tls-macros.h: New file.
9332 * sysdeps/nios2/tst-audit.h: New file.
9333 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9334 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9335 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9336 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9337 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9338 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9339 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9340 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9341 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9342 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9343 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9344 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9345 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9346 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9347 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9348 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9349 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9350 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9351 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9352 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9353 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9354 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9355 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9356 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9357 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9358 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9359 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9360 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9361 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9362 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9363 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9364 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9365 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9366 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9367 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9368 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9369 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9370 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9371 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9372 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9373 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9374 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9375 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9376 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9377
9378 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9379
9380 [BZ #17844]
9381 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9382 (getutent): Use weak_alias in non SHARED case
9383 and default_symbol_version in SHARED case.
9384 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9385 (getutent_r, pututline): Likewise.
9386 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9387 (getutid): Likewise.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9389 (getutid_r): Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9391 (getutline): Likewise.
9392 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9393 (getutline_r): Likewise.
9394 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9395 (updwtmp): Likewise.
9396
9397 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9398
9399 [BZ #17848]
9400 * sysdeps/s390/s390-32/memcmp.S
9401 (memcmp_g5): Rename to __memcmp_g5.
9402 * sysdeps/s390/s390-32/memcpy.S
9403 (memcpy_g5): Rename to __memcpy_g5.
9404 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9405 (memcpy_mvcle) Rename to __memcpy_mvcle.
9406 * sysdeps/s390/s390-32/memset.S
9407 (memset_g5): Rename to __memset_g5.
9408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9409 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9410 and use prefixed functions.
9411 * sysdeps/s390/s390-32/multiarch/memcmp.S
9412 (memcmp_z196): Rename to __memcmp_z196.
9413 (memcmp_z10): Rename to __memcmp_z10.
9414 (memcmp): Set alias to __memcmp_g5.
9415 (bcmp): Set alias to __memcmp_g5.
9416 * sysdeps/s390/s390-32/multiarch/memcpy.S
9417 (memcpy_z196): Rename to __memcpy_z196.
9418 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9419 (memcpy_z10): Rename to __memcpy_z10.
9420 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9421 (memcpy): Set alias to __memcpy_g5.
9422 * sysdeps/s390/s390-32/multiarch/memset.S
9423 (memset_z196): Rename to __memset_z196.
9424 Jump to __memset_mvcle instead of memset_mvcle.
9425 (memset_z10): Rename to __memset_z10.
9426 Jump to __memset_mvcle instead of memset_mvcle.
9427 (memset_mvcle) Rename to __memset_mvcle.
9428 (memset): Set alias to __memset_g5.
9429 * sysdeps/s390/s390-64/memcmp.S
9430 (memcmp_z900): Rename to __memcmp_z900.
9431 * sysdeps/s390/s390-64/memcpy.S
9432 (memcpy_z900): Rename to __memcpy_z900.
9433 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9434 (memcpy_mvcle) Rename to __memcpy_mvcle.
9435 * sysdeps/s390/s390-64/memset.S
9436 (memset_z900): Rename to __memset_z900.
9437 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9438 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9439 and use prefixed functions.
9440 * sysdeps/s390/s390-64/multiarch/memcmp.S
9441 (memcmp_z196): Rename to __memcmp_z196.
9442 (memcmp_z10): Rename to __memcmp_z10.
9443 (memcmp): Set alias to __memcmp_z900.
9444 (bcmp): Set alias to __memcmp_z900.
9445 * sysdeps/s390/s390-64/multiarch/memcpy.S
9446 (memcpy_z196): Rename to __memcpy_z196.
9447 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9448 (memcpy_z10): Rename to __memcpy_z10.
9449 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9450 (memcpy): Set alias to __memcpy_z900.
9451 * sysdeps/s390/s390-64/multiarch/memset.S
9452 (memset_z196): Rename to __memset_z196.
9453 Jump to __memset_mvcle instead of memset_mvcle.
9454 (memset_z10): Rename to __memset_z10.
9455 Jump to __memset_mvcle instead of memset_mvcle.
9456 (memset_mvcle) Rename to __memset_mvcle.
9457 (memset): Set alias to __memset_z900.
9458
9459 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #17748]
9462 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9463 __fesetenv instead of fesetenv.
9464
9465 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
9467 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9468 macro.
9469
9470 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471
9472 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9473 regression on LE.
9474
9475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9476 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9477 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9478 strncmp-power8 object.
9479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9480 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9481 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9482 * NEWS: Update.
9483
9484 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9485 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9486
9487 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9488 trailing byte check.
9489
9490 2015-01-13 David S. Miller <davem@davemloft.net>
9491
9492 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9493
9494 2015-01-13 Roland McGrath <roland@hack.frob.com>
9495
9496 * login/logout.c (logout): Use memset rather than bzero.
9497 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9498 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9499 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9500 (_gethtbyaddr): Likewise.
9501 * locale/programs/simple-hash.c (bcopy): Macro removed.
9502
9503 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9504
9505 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9506 Add strcmp-power8 object.
9507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9508 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9509 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9510 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9511 __strcmp_power8 implementation.
9512 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9513 * NEWS: Update.
9514
9515 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9516 Add strncpy-power8 and stpncpy-power8 objects.
9517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9518 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9519 implementations.
9520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9521 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9522 __stpncpy_power8 implementation.
9523 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9524 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9525 __strncpy_power8 implementation.
9526 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9527 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9528 * NEWS: Update.
9529
9530 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9531 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9532 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9533
9534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9535 strncat-power8 object.
9536 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9537 __strcat_power8 implementation.
9538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9539 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9540 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9541 optimized strcat for power8.
9542
9543 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9544 strcpy-power8 and stpcpy-power8 objects.
9545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9546 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9547 implementations.
9548 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9549 multiarch stpcpy implementation for POWER8.
9550 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9551 multiarch strcpy implementation for POWER8.
9552 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9553 __strcpy_power8 function.
9554 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9555 stpcpy for POWER8.
9556 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9557 strcpy for POWER8.
9558 * NEWS: Update.
9559
9560 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9561
9562 [BZ #16009]
9563 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9564 weights and rules. Use do_xfrm_cached if data fits in cache,
9565 do_xfrm otherwise. Moved former main loop to...
9566 * (do_xfrm_cached): New function.
9567 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9568 find_idx, find_position and stack_push.
9569 * (find_idx): New function.
9570 * (find_position): Likewise.
9571 * localedata/sort-test.sh: Added test run for do_xfrm.
9572 * localedata/xfrm-test.c (main): Added command line option
9573 -nocache to run the test with strings that are too large for
9574 the STRXFRM cache.
9575
9576 2015-01-13 Torvald Riegel <triegel@redhat.com>
9577
9578 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9579 variable to lll_futex_wake call, not the value itself.
9580
9581 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9582
9583 [BZ #17803]
9584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9585 twom64. Adjust value to 0x1p-64L.
9586 (__scalblnl): Only return standard underflowing result for K <=
9587 -64 not K <= -63; adjust exponent for underflowing result by 64
9588 not 63.
9589 * math/libm-test.inc (scalbn_test_data): Add more tests.
9590 (scalbln_test_data): Likewise.
9591
9592 [BZ #17834]
9593 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9594 0x1p63L.
9595 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9596 not HX.
9597 * math/libm-test.inc (scalbn_test_data): Add more tests.
9598 (scalbln_test_data): Likewise.
9599
9600 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9601 Stefani Seibold <stefani@seibold.net>
9602
9603 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9604 (sysdep_routines): Add dl-vdso here, ...
9605 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9606 (sysdep_routines): ... not here.
9607 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9608 fallback when vDSO is not presented.
9609 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9610 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9611 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9612 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9613 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9615 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9616 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9617 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9619 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9620 fallback configurable symbol when vDSO is not available.
9621 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9622 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9623 be able to redefine fallback symbol when vDSO is not available.
9624 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9625 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9626
9627 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9628
9629 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9630 (TLS_INIT_TP): Add tm_capable initialization.
9631 (TLS_DEFINE_INIT_TP): Likewise.
9632 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9633 TCB.
9634 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9635 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9636 calculation.
9637 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9638 transactoion is lock elision is built and TCB tm_capable is set.
9639 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9641 (INTERNAL_SYSCALL_NCS): Likewise.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9643 (INTERNAL_SYSCALL_NCS): Likewise.
9644 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9645
9646 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9647 for powerpc.
9648 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9649 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9650 and remove it for 32 bits case.
9651 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9653 initialization.
9654 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9655 Disable lock elision with rdlocks if elision is not available.
9656
9657 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9658 (sysdep_routines): Add lock elision objects.
9659 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9660 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9661 [pthread_mutex_t] (__elision): Add field.
9662 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9663 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9664 elision definitions for powerpc.
9665 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9666 implementation of lock elision for powerpc.
9667 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9668 implementation of timed lock elision for powerpc.
9669 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9670 implementation of trylock with lock elision for powerpc.
9671 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9672 implementaion of unlock for lock elision for powerpc.
9673 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9674 automatic enable lock elision for mutexes.
9675 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9676 transaction execution definitions for powerpc.
9677 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9678 definitions.
9679 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9680 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9681 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9682 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9683 * NEWS: Update.
9684
9685 2015-01-09 Roland McGrath <roland@hack.frob.com>
9686
9687 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9688 for #include of <shm-directory.h>.
9689
9690 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9691
9692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9693 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9694
9695 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9696
9697 [BZ #17791]
9698 * NEWS: Mention bug fix.
9699 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9700 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9701 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9702
9703 2015-01-09 Torvald Riegel <triegel@redhat.com>
9704
9705 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9706
9707 2015-01-09 Torvald Riegel <triegel@redhat.com>
9708
9709 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9710
9711 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9712
9713 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9714 pointer and cast to uintptr_t.
9715
9716 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9717
9718 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9719 removed.
9720 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9721
9722 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9723
9724 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9725 of 0.
9726
9727 2015-01-08 Roland McGrath <roland@hack.frob.com>
9728
9729 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9730 <nptl/pthreadP.h> instead.
9731 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9732
9733 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9734 already defined.
9735 [__SIGRTMIN] (init): Function removed.
9736 [__SIGRTMIN] (initialized): Variable removed.
9737 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9738 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9739 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9740 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9741 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9742 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9743 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9744 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9745 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9746 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9747 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9748 * sysdeps/nptl/allocrtsig.c: New file.
9749 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9750 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9751 * sysdeps/generic/testrtsig.h: File removed.
9752
9753 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9754 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9755
9756 * nptl/nptl-init.c (pthread_functions): Conditionalize
9757 .ptr__nptl_setxid initialization on [SIGSETXID].
9758
9759 * sysdeps/nptl/sys/procfs.h: New file.
9760 * nptl_db/Makefile (headers): Add it.
9761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9762
9763 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9764 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9765 * nptl/pthread_attr_setaffinity.c: Include it.
9766 * nptl/pthread_setattr_default_np.c: Likewise.
9767 * nptl/check-cpuset.h: New file.
9768
9769 2015-01-08 Richard Henderson <rth@redhat.com>
9770
9771 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9772 (CFLAGS-tst-execstack-prog.c): Likewise.
9773 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9774
9775 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9776 Sandra Loosemore <sandra@codesourcery.com>
9777 Andrew Jenner <andrew@codesourcery.com>
9778 Joseph Myers <joseph@codesourcery.com>
9779 Nathan Sidwell <nathan@codesourcery.com>
9780
9781 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9782 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9783 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9784 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9785 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9786 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9787 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9788 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9789 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9790 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9791 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9792 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9793 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9794 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9795 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9796 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9797 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9798
9799 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800
9801 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9802 timespec struct member in syscall macro.
9803 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9804 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9805 first timeval struct member in syscall macro.
9806 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9807
9808 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9809
9810 [BZ #17748]
9811 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9812 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9813 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9814 __feupdateenv and define as weak alias of __feupdateenv. Use
9815 libm_hidden_weak.
9816 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9817 libm_hidden_def.
9818 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9819 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9820 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9821 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9822 libm_hidden_def.
9823 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9824 __feupdateenv and define as weak alias of __feupdateenv. Use
9825 libm_hidden_weak.
9826 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9827 libm_hidden_def.
9828 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9829 __feupdateenv and define as weak alias of __feupdateenv. Use
9830 libm_hidden_weak.
9831 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9832 libm_hidden_def.
9833 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9834 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9835 (__feupdateenv): Likewise.
9836 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9837 __feupdateenv and define as weak alias of __feupdateenv. Use
9838 libm_hidden_weak.
9839 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9840 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9841 libm_hidden_def.
9842 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9843 function.
9844 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9845 libm_hidden_def.
9846 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9847 __feupdateenv instead of feupdateenv.
9848 (default_libc_feupdateenv_test): Likewise.
9849 (libc_feresetround_ctx): Likewise.
9850
9851 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9852
9853 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9854 prototype.
9855
9856 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9857
9858 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9859 COLL_SYM in a couple of places to avoid uninitialized variable
9860 wanings on tilegx gcc 4.8.2.
9861
9862 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9863
9864 * sysdeps/aarch64/strcpy.S: New file.
9865 * sysdeps/aarch64/stpcpy.S: New file.
9866 * NEWS: Updated.
9867
9868 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9869
9870 * sysdeps/aarch64/strrchr.S: New file.
9871 * NEWS: Updated.
9872
9873 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9874
9875 [BZ #17658]
9876 * stdlib/setenv.c: Fix memory leak when setting large,
9877 duplicate string.
9878
9879 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9880
9881 [BZ #17273]
9882 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9883 and tabs from buffer before parsing fstab entry.
9884 * misc/tst-mntent.c (main): Add test for mount entry with
9885 trailing spaces and tabs.
9886
9887 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #17748]
9890 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9891 * math/fesetround.c (fesetround): Rename to __fesetround and
9892 define as weak alias of __fesetround. Use libm_hidden_weak.
9893 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9894 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9895 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9896 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9897 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9898 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9899 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9900 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9901 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9902 __fesetround_inline.
9903 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9904 __fesetround_inline instead of __fesetround.
9905 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9906 __fesetround and define as weak alias of __fesetround. Use
9907 libm_hidden_weak. Call __fesetround_inline instead of
9908 __fesetround.
9909 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9910 __fesetround and define as weak alias of __fesetround. Use
9911 libm_hidden_weak.
9912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9913 Likewise.
9914 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9916 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9917 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9918 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9919 __fesetround and define as weak alias of __fesetround. Use
9920 libm_hidden_weak.
9921 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9922 __fesetround instead of fesetround.
9923 (default_libc_feholdexcept_setround): Likewise.
9924 (libc_feholdsetround_ctx): Likewise.
9925 (libc_feholdsetround_noex_ctx): Likewise.
9926
9927 [BZ #17748]
9928 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9929 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9930 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9931 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9932 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9933 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9934 define as weak alias of __fesetenv. Use libm_hidden_weak.
9935 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9936 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9937 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9938 define as weak alias of __fesetenv. Use libm_hidden_weak.
9939 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9940 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9941 define as weak alias of __fesetenv. Use libm_hidden_weak.
9942 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9943 libm_hidden_def.
9944 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9946 Likewise.
9947 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9948 define as weak alias of __fesetenv. Use libm_hidden_weak.
9949 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9950 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9951 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9952 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9953 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9954 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9955 __fesetenv instead of fesetenv.
9956 (libc_feresetround_noex_ctx): Likewise.
9957 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9958 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9959 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9960 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9961 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9962 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9963 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9964 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9965 (__feupdateenv): Likewise.
9966 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9967 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9968 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9969 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9970
9971 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9972
9973 [BZ #17806]
9974 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9975 addresses have been freed.
9976
9977 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9978
9979 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9980 and nservall.
9981
9982 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9983
9984 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9985 Clean up check_pf allocation pattern. addresses
9986
9987 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9988
9989 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9990 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9991 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9992 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9993 * nptl/pthread_join.c (pthread_join): Likewise.
9994 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9995 * sysdeps/posix/waitid.c (__waitid): Likewise.
9996 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9997 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9998 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9999 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10000 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10001 Likewise.
10002 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10003 (__libc_pread64): Likewise.
10004 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10005 (__libc_pwrite): Likewise.
10006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10007 (__libc_pwrite64): Likewsie.
10008 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10009 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10010 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10011 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10012 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10013 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10014 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10016 Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10018 (__libc_pread64): Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10020 Likewise.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10022 (__libc_pwrite64): Likewise.
10023 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10024 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10025 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10026 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10027 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10028 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10029 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10030 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10031 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10032 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10033 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10034 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10035 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10036 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10037 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10039 Likewise.
10040
10041 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10042
10043 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10044 (CFLAGS-test-double.c): Likewise.
10045 (CFLAGS-test-ldouble.c): Likewise.
10046 (CPPFLAGS-test-ifloat.c): Likewise.
10047 (CPPFLAGS-test-idouble.c): Likewise.
10048 (CPPFLAGS-test-ildoubl.c): Likewise.
10049 (CFLAGS-test-test-fenv.c): Remove variable.
10050 (CFLAGS-test-misc.c): Likewise.
10051
10052 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 [BZ #17797]
10055 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10056 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10057 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10058 CLOCKS_PER_SEC == 1000000.
10059 * time/clocktest.c (main): Replace %ld with %jd and cast to
10060 intmax_t.
10061
10062 2015-01-05 Roland McGrath <roland@hack.frob.com>
10063
10064 * sysdeps/generic/unwind-resume.h: New file.
10065 * sysdeps/gnu/unwind-resume.c: Include it.
10066 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10067 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10068 argument list.
10069 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10070 global rather than static.
10071 (_Unwind_Resume): Update user.
10072 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10073 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10074 rather than static. Add __attribute__ ((cold)).
10075 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10076 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10077 * sysdeps/arm/arm-unwind-resume.S: New file.
10078 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10079 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10080 * sysdeps/arm/Makefile [$(subdir) = csu]
10081 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10082 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10083 Add rt-arm-unwind-resume.
10084 [$(subdir) = nptl]
10085 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10086 Add pt-arm-unwind-resume.
10087 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10088 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10089
10090 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10091
10092 [BZ #17748]
10093 * include/fenv.h (__feholdexcept): Declare. Use
10094 libm_hidden_proto.
10095 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10096 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10097 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10098 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10099 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10100 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10101 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10102 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10103 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10104 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10105 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10106 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10107 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10108 (feholdexcept): Likewise.
10109 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10110 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10111 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10112 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10113 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10114 __feholdexcept instead of feholdexcept.
10115 (default_libc_feholdexcept_setround): Likewise.
10116
10117 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10118
10119 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10120 to avoid using stl/str to align destination.
10121
10122 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10123
10124 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10125
10126 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10127
10128 [BZ #17796]
10129 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10130 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10131 Define as weak alias not strong alias.
10132
10133 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10134
10135 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10136 bltzal with addiupc.
10137 (RTLD_START): Ditto.
10138
10139 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10140
10141 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10142 for __vdso_* functions in declarations.
10143 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10144 definitions.
10145 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10146 INTERNAL_VSYSCALL): Use struct return types to check for error.
10147
10148 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10149 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10150 function with cast from llround().
10151 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10152 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10153 Define.
10154
10155 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10156
10157 [BZ #17793]
10158 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10159 Define as weak alias not strong alias.
10160
10161 [BZ #17635]
10162 * ctype/ctype-c99.c: New file. isblank implementation moved from
10163 ...
10164 * ctype/ctype-extn.c: ... here.
10165 (__isblank_l): Move to ...
10166 * ctype/ctype-c99_l.c: ... here. New file.
10167 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10168 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10169 Remove variable.
10170 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10171 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10172 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10173 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10174 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10175
10176 [BZ #17777]
10177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10178 (posix_fadvise64): Define as weak alias not strong alias.
10179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10180 (posix_fallocate64): Likewise.
10181 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10182 Remove variable.
10183 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10184 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10185 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10186 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10187 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10188
10189 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10190
10191 [BZ #16191]
10192 * NEWS: Mention bug fix.
10193 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10194 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10195 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10196 (HOST_STACK_END_ADDR): Likewise.
10197
10198 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10199
10200 [BZ #17748]
10201 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10202 * math/fegetround.c (fegetround): Rename to __fegetround and
10203 define as weak alias of __fegetround. Use libm_hidden_weak.
10204 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10205 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10206 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10207 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10208 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10209 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10210 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10211 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10212 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10213 Undefine after rather than before function definition; use
10214 parentheses around function name in definition.
10215 (__fegetround): Also undefine macro after function definition.
10216 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10217 __fegetround and define as weak alias of __fegetround. Use
10218 libm_hidden_weak. Do not undefine as macro.
10219 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10220 Likewise.
10221 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10222 __fegetround and define as weak alias of __fegetround. Use
10223 libm_hidden_weak.
10224 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10225 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10226 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10227 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10228 __fegetround and define as weak alias of __fegetround. Use
10229 libm_hidden_weak.
10230 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10231 __fegetround instead of fegetround.
10232
10233 [BZ #17782]
10234 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10235 Condition macro definition on [__USE_MISC].
10236
10237 [BZ #17781]
10238 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10239 (struct sigaction): Change type of sa_flags field to int.
10240
10241 [BZ #17780]
10242 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10243 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10244 __glibc_reserved0.
10245
10246 * nptl/version.c (banner): Use single year in copyright notice.
10247
10248 * NEWS: Update copyright dates.
10249 * catgets/gencat.c (print_version): Likewise.
10250 * csu/version.c (banner): Likewise.
10251 * debug/catchsegv.sh: Likewise.
10252 * debug/pcprofiledump.c (print_version): Likewise.
10253 * debug/xtrace.sh (do_version): Likewise.
10254 * elf/ldconfig.c (print_version): Likewise.
10255 * elf/ldd.bash.in: Likewise.
10256 * elf/pldd.c (print_version): Likewise.
10257 * elf/sotruss.sh: Likewise.
10258 * elf/sprof.c (print_version): Likewise.
10259 * iconv/iconv_prog.c (print_version): Likewise.
10260 * iconv/iconvconfig.c (print_version): Likewise.
10261 * locale/programs/locale.c (print_version): Likewise.
10262 * locale/programs/localedef.c (print_version): Likewise.
10263 * login/programs/pt_chown.c (print_version): Likewise.
10264 * malloc/memusage.sh (do_version): Likewise.
10265 * malloc/memusagestat.c (print_version): Likewise.
10266 * malloc/mtrace.pl: Likewise.
10267 * manual/libc.texinfo: Likewise.
10268 * nptl/version.c (banner): Likewise.
10269 * nscd/nscd.c (print_version): Likewise.
10270 * nss/getent.c (print_version): Likewise.
10271 * nss/makedb.c (print_version): Likewise.
10272 * posix/getconf.c (main): Likewise.
10273 * scripts/test-installation.pl: Likewise.
10274 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10275
10276 2015-01-02 Will Newton <will.newton@linaro.org>
10277
10278 * sysdeps/arm/armv7/configure: Removed.
10279 * sysdeps/arm/armv7/configure.ac: Likewise.
10280
10281 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10282
10283 * All files with FSF copyright notices: Update copyright dates
10284 using scripts/update-copyrights.
10285 * intl/plural.c: Regenerated.
10286 * locale/programs/charmap-kw.h: Likewise.
10287 * locale/programs/locfile-kw.h: Likewise.
10288
10289 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10290
10291 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10292
10293 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #17748]
10296 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10297 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10298 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10299 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10300 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10301 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10302 define as weak alias of __fegetenv. Use libm_hidden_weak.
10303 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10304 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10305 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10306 define as weak alias of __fegetenv. Use libm_hidden_weak.
10307 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10308 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10309 define as weak alias of __fegetenv. Use libm_hidden_weak.
10310 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10311 libm_hidden_def.
10312 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10313 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10314 Likewise.
10315 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10316 define as weak alias of __fegetenv. Use libm_hidden_weak.
10317 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10318 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10319 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10320 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10321 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10322 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10323 __fegetenv instead of fegetenv.
10324 (libc_feholdsetround_noex_ctx): Likewise.
10325
10326 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10327
10328 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10329 (Elf_MIPS_ABIFlags_v0): New structure.
10330 (EF_MIPS_FP64): Define.
10331 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10332 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10333 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10334 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10335 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10336 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10337 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10338 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10339 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10340 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10341 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10342 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10343 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10344 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10345 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10346 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10347 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10348 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10349 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10350 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10351 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10352 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10353 field.
10354 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10355 EF_MIPS_FP64.
10356 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10357 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10358 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10359 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10360 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10361 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10362 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10363 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10364 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10365 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10366 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10367 record the current FP ABI extension.
10368 (mips-mode-switch): Define to show if kernel headers support mode
10369 switching.
10370 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10371 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10372 supported SYSV ABI version to 3.
10373 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10374 feature.
10375
10376 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10377 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10378
10379 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10380 path.
10381 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10382
10383 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10384
10385 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10386 __fegetround and redefine to call __fegetround. Remove condition
10387 on [!__NO_MATH_INLINES].
10388 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10389 function.
10390 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10391 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10392 Remove macro.
10393 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10394 instead of <fenv_libc.h>.
10395 (__llrintl): Call fegetround instead of __fegetround.
10396 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10397 instead of <fenv_libc.h>.
10398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10399 (__lrintl): Call fegetround instead of __fegetround.
10400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10401 instead of <fenv_libc.h>.
10402 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10403 (__rintl): Call fegetround instead of __fegetround.
10404
10405 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10406
10407 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10408 arrays.
10409
10410 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 [BZ #17775]
10413 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10414 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10415 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10416
10417 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10418
10419 * sysdeps/i386/tls-macros.h: Include <features.h>.
10420 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10421 (TLS_IE): Likewise.
10422 (TLS_LD): Likewise.
10423 (TLS_GD): Likewise.
10424 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10425 define for GCC >= 5.0.
10426
10427 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10428
10429 * math/test-fenv.c (test_single_exception, set_single_exc,
10430 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10431 feexcp_mask_test, feenable_test, fe_single_test): Add
10432 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10433 case where they are not used.
10434 * math/libm-test.inc: Likewise.
10435 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10436 unused in the absence of FP rounding/exception support.
10437 * stdio-common/tst-printf-round.c: Likewise.
10438 * stdlib/tst-strtod-round.c: Likewise.
10439 * stdlib/tst-strtod-underflow.c: Likewise.
10440
10441 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10442
10443 [BZ #17723]
10444 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10445 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10446 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10447 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10448 libm_hidden_weak.
10449 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10450 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10451 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10452 libm_hidden_def.
10453 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10454 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10455 libm_hidden_weak.
10456 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10457 Likewise.
10458 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10459 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10460 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10461 libm_hidden_weak.
10462 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10463 libm_hidden_def.
10464 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10465 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10466 (__feraiseexcept): Likewise.
10467 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10468 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10469 libm_hidden_weak.
10470 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10471 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10472 libm_hidden_def.
10473 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10474 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10475 Use libm_hidden_def.
10476 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10477 libm_hidden_def.
10478 (feraiseexcept): Define as weak not strong alias. Use
10479 libm_hidden_weak.
10480 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10481 New inline function. Factored out of ...
10482 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10483 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10484 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10485 feraiseexcept.
10486 * math/w_acos.c (__acos): Likewise.
10487 * math/w_asin.c (__asin): Likewise.
10488 * math/w_ilogb.c (__ilogb): Likewise.
10489 * math/w_j0.c (y0): Likewise.
10490 * math/w_j1.c (y1): Likewise.
10491 * math/w_jn.c (yn): Likewise.
10492 * math/w_log.c (__log): Likewise.
10493 * math/w_log10.c (__log10): Likewise.
10494 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10495 * sysdeps/aarch64/fpu/math_private.h
10496 (libc_feupdateenv_test_aarch64): Likewise.
10497 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10498 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10499 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10500 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10501 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10502 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10503 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10505 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10506 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10507
10508 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10509
10510 [BZ #17732]
10511 * io/test-utime.c (main): Replace %ld with %jd and cast to
10512 intmax_t.
10513 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10514 * nptl/tst-mutex5.c: Include <stdint.h>.
10515 (do_test): Replace %ld with %jd and cast to intmax_t.
10516 * posix/tst-regex.c (run_test): Likewise.
10517 (run_test_backwards): Likewise.
10518 * rt/tst-clock.c: Include <stdint.h>.
10519 (clock_test): Replace %ld with %jd and cast to intmax_t.
10520 * rt/tst-cpuclock1.c: Include <stdint.h>.
10521 (do_test): Replace %lu with %ju and cast to uintmax_t.
10522 * rt/tst-cpuclock2.c: Include <stdint.h>.
10523 (do_test): Replace %lu with %ju and cast to uintmax_t.
10524 * rt/tst-mqueue1.c: Include <stdint.h>.
10525 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10526 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10527 intmax_t.
10528 * rt/tst-mqueue4.c (do_test): Likewise.
10529 * rt/tst-timer4.c: Include <stdint.h>.
10530 (check_ts): Replace %ld with %jd and cast to intmax_t.
10531 (do_test): Likewise.
10532 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10533 and cast to intmax_t.
10534 * sysdeps/pthread/tst-timer.c (main): Likewise.
10535 * time/clocktest.c (main): Likewise.
10536 * time/tst-posixtz.c (do_test): Likewise.
10537 * timezone/tst-timezone.c (main): Likewise.
10538
10539 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10540 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10543 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10547 version if bit_Fast_Unaligned_Load is set.
10548 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10549 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10550 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10552 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10553 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10555 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10556 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10557 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10558 to 4.
10559 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10560 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10561 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10562 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10563
10564 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10565
10566 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10567 instead of #if to avoid a Wundef warning.
10568 * stdlib/tst-limits.c (do_test): Likewise.
10569
10570 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10571 parallel other exception macros.
10572 (fegetenv): Convert from macro to extern inline so that it applies
10573 retroactively to inline functions already seen by the compiler.
10574 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10575
10576 * posix/Makefile (before-compile): Use $(objpfx) for
10577 posix-conf-vars-def.h.
10578
10579 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10580
10581 * posix/getconf.c (main): Use size_t for type of I.
10582 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10583 NSPEC.
10584
10585 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10586 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10587 * posix/posix-envs.def: Likewise.
10588 * sysdeps/posix/sysconf.c: Likewise.
10589 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10590 (specs): Remove array.
10591 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10592 array.
10593
10594 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10595 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10596 (__sysconf): Use CONF_IS_* macros.
10597
10598 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10599 ($(objpfx)posix-conf-vars-def.h): New target.
10600 * posix/posix-conf-vars.list: New file.
10601 * posix/posix-conf-vars.h: New file.
10602 * posix/confstr.c: Include posix-conf-vars.h.
10603 (confstr): Use CONF_IS_* macros.
10604 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10605 CONF_IS_* macros.
10606 * scripts/gen-posix-conf-vars.awk: New file.
10607
10608 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10609
10610 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10611 fegetround): Add no-op macros to avoid linknamespace issues.
10612
10613 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10614 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10615
10616 * sysdeps/unix/sysv/linux/tile/sysdep.h
10617 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10618 assembly-specific section to avoid a redefinition warning.
10619
10620 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10621 long before casting to pointer to avoid a cast warning.
10622
10623 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10624
10625 * sysdeps/tile/tilegx/Implies: New file.
10626
10627 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10628
10629 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10630
10631 2014-12-23 Florian Weimer <fweimer@redhat.com>
10632
10633 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10634
10635 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10636
10637 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10638 not define.
10639 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10640 <kernel-features.h>.
10641 (__utimes) [__NR_utimes]: Make code unconditional.
10642 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10643 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10644 (__ASSUME_UTIMES): Do not undefine.
10645 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10646 (__ASSUME_UTIMES): Likewise.
10647 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10648 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10649 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10650 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10651
10652 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10653
10654 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10655
10656 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10657
10658 [BZ #17747]
10659 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10660 alias to weak alias for j0l, y0l.
10661 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10662 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10663
10664 [BZ #17746]
10665 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10666 conversion.
10667
10668 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10669
10670 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10671 to zero if not already defined.
10672
10673 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10674
10675 [BZ #17724]
10676 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10677 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10678 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10679 (char *) casts added.
10680 * sysdeps/ieee754/k_standardf.c: New file.
10681 * sysdeps/ieee754/k_standardl.c: Likewise.
10682 * math/Makefile (libm-support): Remove k_standard.
10683 (libm-calls): Add k_standard.
10684
10685 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10686
10687 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10688 Optimize to avoid an unnecessary FPCR read.
10689
10690 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10691
10692 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10693 Optimize to reduce FPCR/FPSR accesses.
10694
10695 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10696
10697 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10698 Call libc_fetestexcept_aarch64.
10699
10700 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10701
10702 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10703 Call libc_fesetround_aarch64.
10704
10705 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10706
10707 [BZ #17733]
10708 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10709 (__bind): Do not define as weak alias.
10710 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10711 define.
10712 (__getsockname): Do not define as weak alias.
10713
10714 2014-12-22 Will Newton <will.newton@linaro.org>
10715
10716 * manual/install.texi: Document that we require bison 2.7
10717 or above.
10718 * INSTALL: Regenerate.
10719 * configure.ac: Use AC_CHECK_PROG_VER instead of
10720 AC_PATH_PROG when checking for bison and check for
10721 version 2.7 or above.
10722 * configure: Regenerate.
10723
10724 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10725
10726 [BZ #17745]
10727 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10728 * sysdeps/tile/ffsll.c (ffsll): To here.
10729
10730 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10731
10732 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10735 if not defined.
10736 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10737 definition.
10738 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10739 hidden ___tls_get_addr.
10740 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10741 hidden __tls_get_addr.
10742 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10743 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10744 Likewise.
10745
10746 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10747
10748 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10749 _dl_init call.
10750
10751 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10752
10753 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10754 from "call _dl_init@PLT".
10755 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10756
10757 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10758
10759 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10760 guarantees.
10761
10762 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10763
10764 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10765
10766 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10767
10768 [BZ #17744]
10769 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10770 strnlen.
10771
10772 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10773
10774 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10775 of multu on MIPSr6.
10776 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10777 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10778 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10779 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10780 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10781
10782 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10783
10784 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10785 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10786 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10787 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10788 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10789 mips32r6/mips64r6.
10790 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10791
10792 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10793
10794 * string/strncat.c (STRNCAT): Simplify implementation.
10795
10796 2014-12-19 David S. Miller <davem@davemloft.net>
10797
10798 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10799 access the quad as both a long double and as a series of 4 words.
10800
10801 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10802 link_map->l_info array access.
10803
10804 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10805
10806 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10807
10808 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10809 * math/atest-exp2.c (TIMEOUT): Likewise.
10810 * math/atest-sincos.c (TIMEOUT): Likewise.
10811
10812 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10815 -Wno-error with -fno-builtin-lround.
10816
10817 2014-12-19 Torvald Riegel <triegel@redhat.com>
10818
10819 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10820 Contains futex constants and functions moved over from ...
10821 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10822 <lowlevellock-futex.h>.
10823 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10824 (lll_timedwait_tid): Add comments and parentheses around macro
10825 arguments.
10826
10827 2014-12-19 Torvald Riegel <triegel@redhat.com>
10828
10829 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10830 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10831 (__lll_private_flag): Remove.
10832 (lll_futex_wait): Likewise.
10833 (lll_futex_timed_wait): Likewise.
10834 (lll_futex_wake): Likewise.
10835 (lll_futex_requeue): Likewise.
10836 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10837 (__lll_timedwait_tid): Spell out argument names.
10838 (lll_timedwait_tid): Add comments and parentheses around macro
10839 arguments.
10840 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10841 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10842
10843 2014-12-19 Torvald Riegel <triegel@redhat.com>
10844
10845 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10846 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10847 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10848 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10849 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10850 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10851 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10852 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10853 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10854 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10855 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10856 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10857 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10858 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10859 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10860 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10861 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10862 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10863 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10864
10865 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10866
10867 * sysdeps/x86_64/x32/Makefile: New file.
10868
10869 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10872 1L with (mp_limb_t) 1.
10873
10874 2014-12-17 Roland McGrath <roland@hack.frob.com>
10875
10876 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10877 * nptl/libc_pthread_init.c: ... here.
10878 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10879 * nptl/register-atfork.c: ... here.
10880
10881 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10882 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10883 Use assert_perror to check its return value.
10884 (__gai_create_helper_thread): Likewise.
10885
10886 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10887
10888 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10889
10890 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10891
10892 [BZ #17725]
10893 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10894 __profil_counter.
10895 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10896 Likewise.
10897 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10898 Likewise.
10899 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10900 Likewise.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10902 (profil_counter): Likewise.
10903 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10904 (profil_counter): Likewise.
10905 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10906 Likewise.
10907 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10908 Likewise.
10909 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10910 (profil_counter): Likewise.
10911 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10912 Likewise.
10913 [!__profil_counter] (profil_counter): Define as weak alias of
10914 __profil_counter.
10915 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10916 (profil_counter): Rename to __profil_counter.
10917 [!__profil_counter] (profil_counter): Define as weak alias of
10918 __profil_counter.
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10920 (profil_counter): Rename to __profil_counter.
10921 [!__profil_counter] (profil_counter): Define as weak alias of
10922 __profil_counter.
10923 * sysdeps/posix/profil.c: Update comment referring to
10924 profil_counter.
10925 (__profil): Use __profil_counter instead of profil_counter.
10926 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10927 __profil_counter. Use __profil_counter_ushort and
10928 __profil_counter_uint in definitions.
10929 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10930 instead of profil_counter_uint and profil_counter_ushort.
10931
10932 [BZ #17722]
10933 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10934 define as weak alias of __inet_makeaddr.
10935 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10936 as weak alias of __inet_addr.
10937 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10938 as weak alias of __inet_pton. Use libc_hidden_weak.
10939 * include/arpa/inet.h (__inet_pton): Declare. Use
10940 libc_hidden_proto.
10941 (inet_makeaddr): Don't use libc_hidden_proto.
10942 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10943 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10944 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10945 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10946 Remove variable.
10947 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10948 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10949
10950 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10951
10952 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10953
10954 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10955
10956 * stdio-common/bug-vfprintf-nargs.c (do_test):
10957 Cast value to intptr_t to avoid format warning
10958 for usage with PRIdPTR printing macro.
10959
10960 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10961
10962 * libio/tst-widetext.c (do_test):
10963 Use format type %td instead of %Zd for ptrdiff_t
10964 in order to avoid format warning.
10965
10966 2014-12-17 Andreas Schwab <schwab@suse.de>
10967
10968 * nscd/mem.c (gc): Add size_t cast to match printf format.
10969
10970 2014-12-16 Roland McGrath <roland@hack.frob.com>
10971
10972 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10973 (init): Apply PTR_MANGLE to pointers before storing them.
10974 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10975 before using them.
10976
10977 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #17719]
10980 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10981 define as weak alias of __memrchr.
10982 (__memrchr): Do not define as strong alias of memrchr.
10983 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10984 Remove variable.
10985 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10986 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10987 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10988
10989 [BZ #17717]
10990 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10991 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10992 (if_indextoname): Rename to __if_indextoname and define as weak
10993 alias of __if_indextoname. Use libc_hidden_weak.
10994 (if_freenameindex): Rename to __if_freenameindex and define as
10995 weak alias of __if_freenameindex.
10996 (if_nameindex): Rename to __if_nameindex and define as weak alias
10997 of __if_nameindex.
10998 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10999 __if_nametoindex and define as weak alias of __if_nametoindex.
11000 Use libc_hidden_weak.
11001 (if_freenameindex): Rename to __if_freenameindex and define as
11002 weak alias of __if_freenameindex.
11003 (if_nameindex): Rename to __if_nameindex and define as weak alias
11004 of __if_nameindex.
11005 (if_indextoname): Rename to __if_indextoname and define as weak
11006 alias of __if_indextoname. Use libc_hidden_weak.
11007 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11008 __if_nametoindex and define as weak alias of __if_nametoindex.
11009 Use libc_hidden_weak.
11010 (if_freenameindex): Rename to __if_freenameindex and define as
11011 weak alias of __if_freenameindex. Use libc_hidden_weak.
11012 (if_nameindex_netlink): Use __if_freenameindex instead of
11013 if_freenameindex.
11014 (if_nameindex): Rename to __if_nameindex and define as weak alias
11015 of __if_nameindex. Use libc_hidden_weak.
11016 (if_indextoname): Rename to __if_indextoname and define as weak
11017 alias of __if_indextoname. Use libc_hidden_weak.
11018 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11019 libc_hidden_proto.
11020 [!_ISOMAC] (__if_freenameindex): Likewise.
11021 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11022 if_nametoindex.
11023 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11024 variable.
11025 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11026 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11027 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11028 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11029 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11030 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11031 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11032
11033 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11034 Remove variable.
11035 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11036 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11037
11038 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11039
11040 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11041 subscript above bounds'
11042
11043 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11044 bounds.
11045
11046 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11047
11048 * libio/tst-fopenloc.c: Use test-skeleton.c.
11049
11050 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11051 (entry): Rename to ITEM.
11052 (do_test, comp): Adjust.
11053
11054 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11055
11056 2014-12-16 Torvald Riegel <triegel@redhat.com>
11057
11058 * string/tester.c: Include <libc-internal.h>.
11059 (test_memset): Ignore -Wmemset-transposed-args.
11060
11061 2014-12-16 Torvald Riegel <triegel@redhat.com>
11062
11063 * misc/tst-mntent2.c (do_test): Fix warning.
11064
11065 2014-12-16 Torvald Riegel <triegel@redhat.com>
11066
11067 * elf/tst-unique4lib.cc(a): Mark as used.
11068
11069 2014-12-16 Florian Weimer <fweimer@redhat.com>
11070
11071 [BZ #17630]
11072 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11073 names.
11074
11075 2014-12-16 Allan McRae <allan@archlinux.org>
11076
11077 * stdio-common/Makefile (tests): Re-add bug26.
11078
11079 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11080
11081 [BZ #17657]
11082 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11083 static array.
11084
11085 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11086
11087 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11088 (__lll_lock_wait): Likewise.
11089 (__lll_timedlock_wait): Likewise.
11090 (__lll_timedwait_tid): Likewise.
11091 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11092 (__lll_robust_timedlock_wait): Likewise.
11093 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11094 (lll_cond_trylock): Likewise.
11095 (__lll_lock): Likewise.
11096 (__lll_robust_lock): Likewise.
11097 (__lll_cond_lock): Likewise.
11098 (lll_robust_cond_lock): Likewise.
11099 (__lll_timedlock): Likewise.
11100 (__lll_robust_timedlock): Likewise.
11101 (__lll_unlock): Likewise.
11102 (__lll_robust_unlock): Likewise.
11103 (lll_wait_tid): Likewise.
11104 (lll_timedwait_tid): Likewise.
11105
11106 2014-12-15 Torvald Riegel <triegel@redhat.com>
11107
11108 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11109
11110 2014-12-15 Torvald Riegel <triegel@redhat.com>
11111
11112 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11113
11114 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11115
11116 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11117 * stdio-common/tst-sprintf.c: Likewise.
11118
11119 2014-12-15 Torvald Riegel <triegel@redhat.com>
11120
11121 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11122
11123 2014-12-15 Jeff Law <law@redhat.com>
11124
11125 [BZ #16617]
11126 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11127 on the heap. (CVE-2012-3406)
11128 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11129 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11130 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11131
11132 2014-12-15 Will Newton <will.newton@linaro.org>
11133
11134 * manual/install.texi: Bump required version of texinfo
11135 to 4.7 from 4.5.
11136 * INSTALL: Regenerated.
11137 * configure.ac: Check for makeinfo version 4.7 and above.
11138 * configure: Regenerated.
11139
11140 2014-12-12 Roland McGrath <roland@hack.frob.com>
11141
11142 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11143 PREFIX, string constant to insert between directory and name.
11144 * sysdeps/posix/shm_open.c: Update caller.
11145 * sysdeps/posix/shm_unlink.c: Likewise.
11146 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11147 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11148 (SEM_SHM_PREFIX): New macro.
11149 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11150 [$(have-thread-library) = no].
11151 * nptl/Makefile (libpthread-routines): Add shm-directory.
11152 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11153 * sysdeps/nptl/shm-directory.h: New file.
11154 * sysdeps/posix/shm-directory.c
11155 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11156 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11157 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11158 INTERNAL_SYSCALL.
11159 (__where_is_shmfs): Function removed.
11160 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11161 Variables removed.
11162 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11163 Use SHM_GET_NAME.
11164 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11165
11166 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11167 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11168 unconditional for use inside libpthread.
11169 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11170
11171 2014-12-12 Roland McGrath <roland@hack.frob.com>
11172
11173 * nptl/pthread_getaffinity.c: New file.
11174 * nptl/pthread_setaffinity.c: New file.
11175 * nptl/pthread_getname.c: New file.
11176 * nptl/pthread_setname.c: New file.
11177
11178 * nptl/pthread_create.c (START_THREAD_DEFN)
11179 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11180
11181 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11182 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11183
11184 * resolv/res_send.c (send_vc): Disable warning resplen may
11185 be used uninitialized.
11186
11187 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11188
11189 * nptl/tst-mutex6.c
11190 (ATTR_NULL): New define checks ATTR against NULL.
11191 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11192 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11193
11194 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11195
11196 [BZ #17581]
11197 * malloc/hooks.c
11198 (mem2mem_check): Revert my previous change.
11199 (malloc_check_get_size): Revert my previous change.
11200 (mem2chunk_check): Revert my previous change.
11201
11202 2014-12-11 Roland McGrath <roland@hack.frob.com>
11203
11204 * sysdeps/posix/shm-directory.c: New file.
11205 * sysdeps/posix/shm-directory.h: New file.
11206 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11207 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11208 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11209 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11210 Transmute EPERM to EACCES.
11211 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11212 from ...
11213 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11214 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11215
11216 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11217
11218 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11219 pointer and cast to uintptr_t.
11220 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11221 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11222 Add cast to avoid warning.
11223 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11224
11225 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11226
11227 * nptl/semaphore.h: Move to ...
11228 * sysdeps/pthread/semaphore.h: ... here.
11229 * Makefile (installed-headers): Change nptl/semaphore.h to
11230 sysdeps/pthread/semaphore.h.
11231
11232 2014-12-11 Roland McGrath <roland@hack.frob.com>
11233
11234 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11235 generated error format strings.
11236
11237 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11238 -Wformat-extra-args warnings for scanf formats.
11239 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11240 test of zero-length format (duh).
11241 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11242 corner-case scanf format test.
11243 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11244 generated fprintf format string.
11245 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11246 corner-case sprintf format tests.
11247 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11248 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11249 -Wformat-extra-args warnings throughout.
11250 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11251 (CFLAGS-scanf4.c): Likewise.
11252 (CFLAGS-scanf7.c): Likewise.
11253 (CFLAGS-tst-sprintf.c): Likewise.
11254 (CFLAGS-tst-printf.c): Likewise.
11255 (CFLAGS-tst-printfsz.c): Likewise.
11256
11257 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11258
11259 * include/cpio.h: New file.
11260 * include/fmtmsg.h: Likewise.
11261
11262 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11263 corresponding format argument to size_t.
11264 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11265 arguments.
11266 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11267 corresponding format argument to size_t.
11268 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11269 arguments.
11270 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11271 corresponding format argument to size_t.
11272 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11273 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11274 (CFLAGS-tst-mbswcs2.c): Likewise.
11275 (CFLAGS-tst-mbswcs3.c): Likewise.
11276 (CFLAGS-tst-mbswcs4.c): Likewise.
11277 (CFLAGS-tst-mbswcs5.c): Likewise.
11278 (CFLAGS-tst-trans.c): Likewise
11279
11280 2014-12-11 Roland McGrath <roland@hack.frob.com>
11281
11282 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11283 rather than assuming they won't contain any '%'s.
11284
11285 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11286
11287 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11288 inhibit_loop_to_libcall to avoid recursive calls.
11289 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11290 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11291
11292 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11293
11294 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11295 prototype.
11296
11297 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11298
11299 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11300 integer value instead of boolean.
11301
11302 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11303
11304 * malloc/malloc.c: Fix powerof2 check.
11305
11306 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11307
11308 * locale/programs/locfile.h (maybe_swap_uint32):
11309 Remove inline and add unused attribute.
11310
11311 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11312
11313 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11314 Truncating assembler expression to a .long expression.
11315
11316 2014-12-11 Andreas Schwab <schwab@suse.de>
11317
11318 * elf/rtld.c (struct map_args): Constify str member.
11319 (do_preload): Constify fname argument.
11320
11321 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11322
11323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11324 constants definition.
11325
11326 2014-12-11 Andreas Schwab <schwab@suse.de>
11327
11328 [BZ #16657]
11329 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11330 FORCE_ELISION instead of DO_ELISION.
11331 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11332 Remove.
11333 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11334 Likewise.
11335
11336 * iconvdata/gconv-modules: Remove duplicate entry.
11337
11338 2014-12-11 Will Newton <will.newton@linaro.org>
11339
11340 Merge gettext 0.19.3 into intl/.
11341
11342 This involves a number of cosmetic changes to comments
11343 and ANSI function definitions and prototypes throughout
11344 all the files. The gettext copyright header is used but
11345 with the date ranges taken from the glibc copy.
11346
11347 * NEWS: Add gettext merge to 2.21.
11348 * intl/bindtextdom.c: Switch to gettext copyright.
11349 Use ANSI definitions and prototypes.
11350 Use gl_* locking primitives rather than __libc_* ones.
11351 Use __builtin_expect rather than __glibc_likely/unlikely.
11352 * intl/dcgettext.c: Switch to gettext copyright.
11353 Use ANSI definitions and prototypes.
11354 * intl/dcigettext.c: Switch to gettext copyright.
11355 Use ANSI definitions and prototypes.
11356 (INTDIV0_RAISES_SIGFPE): New define.
11357 Use gl_* locking primitives rather than __libc_* ones.
11358 Include eval-plural.h instead of plural-eval.c.
11359 Use __builtin_expect rather than __glibc_likely/unlikely.
11360 * intl/dcngettext.c: Switch to gettext copyright.
11361 Use ANSI definitions and prototypes.
11362 * intl/dgettext.c: Likewise.
11363 * intl/dngettext.c: Likewise.
11364 * intl/plural-eval.c: Renamed to...
11365 * intl/eval-plural.h: ...this.
11366 * intl/explodename.c: Switch to gettext copyright.
11367 Use ANSI definitions and prototypes.
11368 (_nl_explode_name): Use strchr instead of __rawmemchr.
11369 * intl/finddomain.c: Switch to gettext copyright.
11370 Use ANSI definitions and prototypes.
11371 Use gl_* locking primitives rather than __libc_* ones.
11372 (_nl_find_domain): Use malloc rather than alloca for
11373 allocation of temporary locale name.
11374 * intl/gettext.c: Switch to gettext copyright.
11375 Use ANSI definitions and prototypes.
11376 * intl/gettextP.h: Switch to gettext copyright.
11377 Use ANSI definitions and prototypes.
11378 Use gl_* locking primitives rather than __libc_* ones.
11379 * intl/gmo.h: Switch to gettext copyright.
11380 (struct sysdep_string): Move struct segment_pair outside of
11381 struct definition.
11382 * intl/hash-string.c: Use ANSI definitions and prototypes.
11383 * intl/hash-string.h: Switch to gettext copyright.
11384 Use ANSI definitions and prototypes.
11385 * intl/l10nflist.c: Switch to gettext copyright.
11386 Use ANSI definitions and prototypes.
11387 (_nl_normalize_codeset): Avoid integer overflow.
11388 * intl/loadinfo.h: Switch to gettext copyright.
11389 Use ANSI definitions and prototypes.
11390 (LIBINTL_DLL_EXPORTED): New define.
11391 (PATH_SEPARATOR): New define.
11392 * intl/loadmsgcat.c: Switch to gettext copyright.
11393 * intl/localealias.c: Switch to gettext copyright.
11394 Use ANSI definitions and prototypes.
11395 (_nl_expand_alias): Use PATH_SEPARATOR.
11396 * intl/ngettext.c: Switch to gettext copyright.
11397 Use ANSI definitions and prototypes.
11398 * intl/plural-exp.c: Likewise.
11399 * intl/plural-exp.h: Switch to gettext copyright.
11400 Use ANSI definitions and prototypes.
11401 (struct expression): Move definition of enum operator outside
11402 of struct definition.
11403 * intl/plural.c: Regenerate.
11404 * intl/plural.y: Switch to gettext copyright.
11405 Use ANSI definitions and prototypes.
11406 Port to bison 3.0.
11407 * intl/textdomain.c: Switch to gettext copyright.
11408 Use ANSI definitions and prototypes.
11409 Use gl_* locking primitives rather than __libc_* ones.
11410
11411 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11412
11413 * debug/warning-nop.c: Add used atrribute.
11414
11415 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11416
11417 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11418
11419 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11420 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11421 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11422
11423 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11424 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11425
11426 [BZ #17634]
11427 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11428 Undefine after defining function. Define as weak alias of
11429 __wcschr. Use libc_hidden_weak.
11430 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11431 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11432 (libc_hidden_def): Also define __GI___wcschr alias.
11433 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11434 __wcschr and define as weak alias of __wcschr.
11435 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11436 __wcschr.
11437 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11438 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11439 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11440 libc_hidden_weak. Do not use libc_hidden_def.
11441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11442 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11443 __GI___wcschr alias.
11444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11445 [IS_IN (libc)] (wcschr): Define as macro expanding to
11446 __redirect_wcschr.
11447 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11448 [IS_IN (libc)] (__wcschr_power6): Likewise.
11449 [IS_IN (libc)] (__wcschr_power7): Likewise.
11450 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11451 instead of wcschr.
11452 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11453 __libc_wcschr.
11454 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11455 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11456 __wcschr and define as weak alias of __wcschr. Use
11457 libc_hidden_builtin_def.
11458 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11459 as weak alias of __wcschr. Use libc_hidden_weak.
11460 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11461 wcschr.
11462 * time/era.c (_nl_init_era_entries): Likewise.
11463 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11464 variable.
11465 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11466 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11467
11468 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11469
11470 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11471 format for long int variable.
11472
11473 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11474
11475 [BZ #10672]
11476 * manual/search.texi: (Array Sort Function): Remove claim how to make
11477 qsort stable.
11478
11479 2014-12-10 Andreas Schwab <schwab@suse.de>
11480
11481 [BZ #12847]
11482 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11483 user-controlled locks.
11484
11485 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11486
11487 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11488 register.
11489
11490 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11491
11492 * configure.ac (--disable-werror): New configure option.
11493 (enable_werror): New AC_SUBST.
11494 * configure: Regenerated.
11495 * config.make.in (enable-werror): New variable.
11496 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11497 -Wno-error=undef.
11498 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11499 * manual/install.texi (Configuring and compiling): Document
11500 --disable-werror.
11501 * INSTALL: Regenerated.
11502 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11503 (CFLAGS-tst-chk2.c): Likewise.
11504 (CFLAGS-tst-chk3.c): Likewise.
11505 (CFLAGS-tst-chk4.cc): Likewise.
11506 (CFLAGS-tst-chk5.cc): Likewise.
11507 (CFLAGS-tst-chk6.cc): Likewise.
11508 (CFLAGS-tst-lfschk1.c): Likewise.
11509 (CFLAGS-tst-lfschk2.c): Likewise.
11510 (CFLAGS-tst-lfschk3.c): Likewise.
11511 (CFLAGS-tst-lfschk4.cc): Likewise.
11512 (CFLAGS-tst-lfschk5.cc): Likewise.
11513 (CFLAGS-tst-lfschk6.cc): Likewise.
11514
11515 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11516 (main): Disable -Wdeprecated-declarations around calls to
11517 register_printf_function.
11518
11519 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11520 (do_test): Disable -Wdiv-by-zero around some calls to
11521 fwrite_unlocked and fread_unlocked.
11522
11523 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11524 (DIAG_POP_NEEDS_COMMENT): Likewise.
11525 (_DIAG_STR1): Likewise.
11526 (_DIAG_STR): Likewise.
11527 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11528 * stdio-common/bug21.c: Include <libc-internal.h>.
11529 (do_test): Disable -Wformat around call to sscanf.
11530 * stdio-common/scanf14.c: Include <libc-internal.h>.
11531 (main): Disable -Wformat around some calls to scanf functions.
11532
11533 2014-12-09 Torvald Riegel <triegel@redhat.com>
11534
11535 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11536
11537 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538
11539 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11540 stack variable alignment.
11541
11542 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11543
11544 [BZ #17682]
11545 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11546 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11547 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11548 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11549 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11550 __getrlimit instead of getrlimit.
11551 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11552 __gettimeofday instead of gettimeofday.
11553 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11554 Likewise.
11555 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11556 Likewise.
11557 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11558 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11559 Remove variable.
11560 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11561 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11562
11563 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11564
11565 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11566 for wide-character tests.
11567
11568 2014-12-04 Roland McGrath <roland@hack.frob.com>
11569
11570 * io/openat64.c: #include <libc-internal.h>
11571 (__openat64): Prototypify. Use ignore_value on MODE.
11572 * io/openat.c: Likewise.
11573 * misc/reboot.c: #include <libc-internal.h>
11574 (reboot): Prototypify. Use ignore_value on HOWTO.
11575 * misc/ptrace.c: #include <libc-internal.h>
11576 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11577
11578 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11579
11580 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11581 XPG4, UNIX98 and XOPEN2K.
11582 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11583 Remove variable.
11584 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11585
11586 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11587
11588 * libio/fileops.c: Use ISO C style for function definitions.
11589 * libio/iofopen.c: Likewise.
11590 * libio/wfileops.c: Likewise.
11591
11592 [BZ #17653]
11593 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11594 offset on EOF.
11595 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11596 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11597 (fgets_func): Function pointer to fgets and fgetws.
11598 (do_ftell_test): Add test to verify ftell value after read
11599 EOF.
11600 (do_test): Set fgets_func.
11601
11602 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11603 O_TRUNC flag for w and w+ modes.
11604 (do_rewind_test): Likewise.
11605 (do_ftell_test): Likewise.
11606 (do_write_test): Likewise.
11607
11608 [BZ #17647]
11609 * libio/fileops.c (do_ftell): Seek only when there are
11610 unflushed writes.
11611 * libio/wfileops.c (do_ftell_wide): Likewise.
11612 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11613 test case.
11614 (do_one_test): Call it.
11615
11616 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11617
11618 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11619 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11620 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11621 Remove variable.
11622 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11623 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11624 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11625
11626 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11627
11628 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11629 Remove variable.
11630 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11631
11632 [BZ #17668]
11633 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11634 as weak alias of __getifaddrs. Use libc_hidden_weak.
11635 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11636 __freeifaddrs. Use libc_hidden_weak.
11637 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11638 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11639 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11640 __freeifaddrs. Use libc_hidden_weak.
11641 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11642 __getifaddrs and define as weak alias of __getifaddrs. Use
11643 libc_hidden_weak.
11644 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11645 __freeifaddrs. Use libc_hidden_weak.
11646 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11647 Remove variable.
11648 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11649 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11650
11651 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11652
11653 [BZ #17601]
11654 * sysdeps/mips/start.S (__start): Use indirect jump to call
11655 __libc_start_main.
11656
11657 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11658
11659 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11660
11661 * nptl/tst-mutex1.c: Include <stdbool.h>.
11662 [!ATTR] (ATTR_NULL): New macro.
11663 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11664 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11665 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11666
11667 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11668 to char *.
11669
11670 [BZ #17665]
11671 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11672 Change conditional to [__USE_MISC].
11673
11674 [BZ #17664]
11675 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11676 fgets_unlocked.
11677 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11678 __fgets_unlocked.
11679 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11680 fgets_unlocked.
11681 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11682 Remove variable.
11683 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11684 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11685 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11686 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11687 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11688 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11689 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11690 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11691 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11692
11693 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11694
11695 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696
11697 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11698 Remove strpbrk objects.
11699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11700 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11701 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11702 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11703 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11704 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11705
11706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11707 Remove strcspn objects.
11708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11709 (__libc_ifunc_impl_list): Remove strcspn implementation.
11710 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11711 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11712 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11713 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11714
11715 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11716 Remove strspn objetcs.
11717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11718 (__libc_ifunc_impl_list): Remove strspn implementation.
11719 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11720 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11721 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11722 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11723
11724 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11725
11726 [BZ #17581]
11727 * malloc/hooks.c
11728 (mem2mem_check): Add a terminator to the chain of checking blocks.
11729 (malloc_check_get_size): Use it here.
11730 (mem2chunk_check): Ditto.
11731
11732 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11733
11734 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11735 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11736
11737 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11738
11739 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11740
11741 * nptl/nptl-init.c: Include libc-internal.h.
11742 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11743
11744 * elf/ldconfig.c (search_dir): Expand comment.
11745
11746 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11747
11748 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11749 variable.
11750 (linknamespace-symlist-stdlibs-tests): Likewise.
11751 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11752 instead of $(objpfx)symlist-stdlibs.
11753 (linknamespace-libs-isoc): New variable.
11754 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11755 (linknamespace-libs-ISO): New variable.
11756 (linknamespace-libs-ISO99): Likewise.
11757 (linknamespace-libs-ISO11): Likewise.
11758 (linknamespace-libs-XPG3): Likewise.
11759 (linknamespace-libs-XPG4): Likewise.
11760 (linknamespace-libs-POSIX): Likewise.
11761 (linknamespace-libs-UNIX98): Likewise.
11762 (linknamespace-libs-XOPEN2K): Likewise.
11763 (linknamespace-libs-POSIX2008): Likewise.
11764 (linknamespace-libs-XOPEN2K8): Likewise.
11765 ($(objpfx)symlist-stdlibs): Replace by
11766 $(linknamespace-symlist-stdlibs-tests). Use
11767 $(linknamespace-libs-$*) as set of libraries.
11768 ($(linknamespace-header-tests)): Update dependencies. Use
11769 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11770 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11771 * conform/linknamespace.pl: Remove comment about considering
11772 definitions of symbols from irrelevant libraries.
11773
11774 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 [BZ #13862]
11777 * elf/dl-tls.c: Include <atomic.h>.
11778 (oom): Remove #ifdef SHARED/#endif.
11779 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11780 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11781 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11782 big enough.
11783 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11784 * nptl/Makefile (tests): Add tst-stack4.
11785 (modules-names): Add tst-stack4mod.
11786 ($(objpfx)tst-stack4): New.
11787 (tst-stack4mod.sos): Likewise.
11788 ($(objpfx)tst-stack4.out): Likewise.
11789 ($(tst-stack4mod.sos)): Likewise.
11790 (clean): Likewise.
11791 * nptl/tst-stack4.c: New file.
11792 * nptl/tst-stack4mod.c: Likewise.
11793
11794 2014-11-27 J. Brown <jb999@gmx.de>
11795
11796 * sysdeps/x86/bits/string.h: Add recent CPUs.
11797
11798 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11799
11800 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11801 sigblock.
11802
11803 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11804 feof.
11805
11806 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11807 variable.
11808
11809 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11810
11811 * nscd/connections.c: Include libc-internal.h because of macro
11812 usage ignore_value.
11813
11814 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11815
11816 * string/bits/string3.h (__warn_memset_zero_len): Don't
11817 declare for gcc newer than 5.0.
11818 (memset): Don't test for zero-length __LEN for gcc newer than
11819 5.0.
11820
11821 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11822
11823 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11824 size_t for %zu format.
11825
11826 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11827 difference, not %ju.
11828
11829 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11830
11831 * include/libc-internal.h (ignore_value): New macro.
11832 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11833 with ignore_value.
11834
11835 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11836 definition.
11837
11838 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11839 pthread_cleanup_push to void *.
11840
11841 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11842 Undefine.
11843
11844 [BZ #16619]
11845 [BZ #16740]
11846 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11847 instead of 1L << 52.
11848
11849 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11850 * libio/bug-rewind2.c (do_test): Likewise.
11851
11852 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11853 * debug/test-strcpy_chk-ifunc.c: Likewise.
11854 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11855 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11856 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11857 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11858 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11859 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11860 * Rules [$(multi-arch) = no] (tests): Do not filter out
11861 $(tests-ifunc).
11862 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11863 * debug/Makefile (tests-ifunc): Remove variable.
11864 (tests): Do not add $(tests-ifunc).
11865 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11866 (tests): Do not add $(tests-ifunc).
11867 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11868 [TEST_IFUNC]: Remove conditionals.
11869 * string/test-string.h (TEST_IFUNC): Remove macro.
11870 [TEST_IFUNC]: Remove conditionals.
11871
11872 * string/test-strchr.c [!WIDE] (L): New macro.
11873 [WIDE] (L): Likewise.
11874 (check1): Use CHAR instead of char. Use L on string and character
11875 constants.
11876
11877 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11878
11879 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11880 tests.
11881 * sysdeps/powerpc/bits/atomic.h
11882 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11883 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11884 (atomic_exchange_and_add_acq): Likewise.
11885 (atomic_exchange_and_add_rel): Likewise.
11886 * sysdeps/powerpc/powerpc32/bits/atomic.h
11887 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11888 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11889 * sysdeps/powerpc/powerpc64/bits/atomic.h
11890 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11891 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11892
11893 2014-11-26 Torvald Riegel <triegel@redhat.com>
11894
11895 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11896 Change synchronization of __sched_fifo_min_prio and
11897 __sched_fifo_max_prio.
11898 * nptl/pthread_mutexattr_getprioceiling.c
11899 (pthread_mutexattr_getprioceiling): Likewise.
11900 * nptl/pthread_mutexattr_setprioceiling.c
11901 (pthread_mutexattr_setprioceiling): Likewise.
11902 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11903 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11904 Likewise.
11905
11906 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11907
11908 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11909 void.
11910
11911 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11912
11913 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11914 third argument const.
11915
11916 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11917
11918 fnmatch: work around GCC compiler warning bug with uninit var
11919 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11920 This works around a bug with x86-64 GCC 4.9.2 and earlier
11921 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11922 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11923 used uninitialized in this function [-Wmaybe-uninitialized]".
11924
11925 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11926
11927 * posix/bug-regex31.c (main): Return RES not 0.
11928
11929 2014-11-25 Anton Blanchard <anton@samba.org>
11930
11931 * sysdeps/powerpc/bits/atomic.h
11932 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11933
11934 2014-11-24 Sterling Augustine <saugustine@google.com>
11935
11936 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11937
11938 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11939
11940 [BZ #17608]
11941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11942
11943 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11944
11945 [BZ #17633]
11946 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11947 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11948 variable.
11949 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11950 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11951
11952 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11953
11954 * string/strncpy.c (strncpy): Improve performance by using memset.
11955
11956 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11957
11958 * string/strcpy.c (strcpy):
11959 Improve performance by using strlen and memcpy.
11960
11961 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11962
11963 * string/strcoll_l.c (get_next_seq): __always_inline.
11964 * string/strcoll_l.c (do_compare): __always_inline.
11965
11966 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11967
11968 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11969 defined.
11970 * include/mqueue.h: Likewise.
11971 * include/stdlib.h: Likewise.
11972
11973 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11974 (get_null_defines): Adjust.
11975 * sunrpc/Makefile: Adjust comment.
11976 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11977 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11978 (CFLAGS-interp.c): Likewise.
11979 (CFLAGS-ldconfig.c): Likewise.
11980 (CPPFLAGS-.os): Likewise.
11981 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11982 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11983 * extra-modules.mk (extra-modules.mk): Likewise.
11984 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11985 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11986 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11987 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11988 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11989 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11990 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11991 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11992 * iconvdata/Makefile (CPPFLAGS): Likewise.
11993 (cpp-srcs-left): Add libof for all iconvdata routines.
11994 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11995 * include/assert.h: Likewise.
11996 * include/ctype.h: Likewise.
11997 * include/errno.h: Likewise.
11998 * include/libc-symbols.h: Likewise.
11999 * include/math.h: Likewise.
12000 * include/netdb.h: Likewise.
12001 * include/resolv.h: Likewise.
12002 * include/stdio.h: Likewise.
12003 * include/stdlib.h: Likewise.
12004 * include/string.h: Likewise.
12005 * include/sys/stat.h: Likewise.
12006 * include/wctype.h: Likewise.
12007 * intl/l10nflist.c: Likewise.
12008 * libidn/idn-stub.c: Likewise.
12009 * libio/libioP.h: Likewise.
12010 * nptl/libc_multiple_threads.c: Likewise.
12011 * nptl/pthreadP.h: Likewise.
12012 * posix/regex_internal.h: Likewise.
12013 * resolv/res_hconf.c: Likewise.
12014 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12015 * sysdeps/arm/memmove.S: Likewise.
12016 * sysdeps/arm/sysdep.h: Likewise.
12017 * sysdeps/generic/_itoa.h: Likewise.
12018 * sysdeps/generic/symbol-hacks.h: Likewise.
12019 * sysdeps/gnu/errlist.awk: Likewise.
12020 * sysdeps/gnu/errlist.c: Likewise.
12021 * sysdeps/i386/i586/memcpy.S: Likewise.
12022 * sysdeps/i386/i586/memset.S: Likewise.
12023 * sysdeps/i386/i686/memcpy.S: Likewise.
12024 * sysdeps/i386/i686/memmove.S: Likewise.
12025 * sysdeps/i386/i686/mempcpy.S: Likewise.
12026 * sysdeps/i386/i686/memset.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12057 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12063 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12064 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12065 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12074 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12079 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12080 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12081 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12082 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12084 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12085 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12088 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12089 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12090 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12091 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12092 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12093 * sysdeps/posix/closedir.c: Likewise.
12094 * sysdeps/posix/opendir.c: Likewise.
12095 * sysdeps/posix/readdir.c: Likewise.
12096 * sysdeps/posix/rewinddir.c: Likewise.
12097 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12098 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12099 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12100 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12101 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12120 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12133 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12134 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12135 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12136 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12137 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12142 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12145 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12147 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12148 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12154 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12156 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12157 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12158 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12159 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12160 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12161 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12162 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12164 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12165 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12166 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12167 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12168 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12169 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12170 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12171 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12172 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12173 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12174 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12175 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12176 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12177 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12179 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12180 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12181 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12182 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12183 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12184 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12185 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12187 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12188 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12189 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12193 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12195 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12196 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12197 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12198 * sysdeps/unix/alpha/sysdep.S: Likewise.
12199 * sysdeps/unix/alpha/sysdep.h: Likewise.
12200 * sysdeps/unix/make-syscalls.sh: Likewise.
12201 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12203 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12204 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12205 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12206 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12207 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12208 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12209 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12210 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12212 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12213 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12214 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12215 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12217 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12218 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12219 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12220 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12221 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12222 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12223 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12224 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12225 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12226 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12227 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12230 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12231 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12235 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12239 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12240 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12241 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12242 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12243 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12244 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12245 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12251 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12252 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12253 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12254 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12255 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12259 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12260 * sysdeps/x86_64/memcpy.S: Likewise.
12261 * sysdeps/x86_64/memmove.c: Likewise.
12262 * sysdeps/x86_64/memset.S: Likewise.
12263 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12264 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12265 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12266 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12267 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12268 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12270 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12271 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12272 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12273 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12274 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12275 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12276 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12277 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12278 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12279 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12280 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12281 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12282 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12283 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12284 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12285 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12286 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12289 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12290 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12291 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12292 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12293 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12294 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12295 * sysdeps/x86_64/strcmp.S: Likewise.
12296
12297 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12298
12299 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12300 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12301 * elf/rtld-Rules: Likewise.
12302 * elf/setup-vdso.h: Likewise.
12303 * include/assert.h: Likewise.
12304 * include/bits/stdlib-float.h: Likewise.
12305 * include/errno.h: Likewise.
12306 * include/sys/stat.h: Likewise.
12307 * include/unistd.h: Likewise.
12308 * sysdeps/aarch64/setjmp.S: Likewise.
12309 * sysdeps/alpha/setjmp.S: Likewise.
12310 * sysdeps/arm/__longjmp.S: Likewise.
12311 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12312 * sysdeps/arm/setjmp.S: Likewise.
12313 * sysdeps/arm/sysdep.h: Likewise.
12314 * sysdeps/generic/_itoa.h: Likewise.
12315 * sysdeps/generic/dl-sysdep.h: Likewise.
12316 * sysdeps/generic/ldsodefs.h: Likewise.
12317 * sysdeps/i386/dl-tls.h: Likewise.
12318 * sysdeps/i386/setjmp.S: Likewise.
12319 * sysdeps/m68k/setjmp.c: Likewise.
12320 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12321 * sysdeps/mach/hurd/opendir.c: Likewise.
12322 * sysdeps/posix/getcwd.c: Likewise.
12323 * sysdeps/posix/opendir.c: Likewise.
12324 * sysdeps/posix/profil.c: Likewise.
12325 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12327 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12328 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12329 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12330 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12331 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12332 * sysdeps/s390/dl-tls.h: Likewise.
12333 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12334 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12335 * sysdeps/sh/sh3/setjmp.S: Likewise.
12336 * sysdeps/sh/sh4/setjmp.S: Likewise.
12337 * sysdeps/unix/alpha/sysdep.h: Likewise.
12338 * sysdeps/unix/arm/sysdep.S: Likewise.
12339 * sysdeps/unix/i386/sysdep.S: Likewise.
12340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12341 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12342 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12343 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12345 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12346 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12347 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12348 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12349 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12350 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12351 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12352 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12355 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12358 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12359 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12363 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12364 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12365 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12368 * sysdeps/x86_64/setjmp.S: Likewise.
12369
12370 * include/math.h: Use IS_IN instead of IS_IN_libm.
12371 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12383 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12391 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12392 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12393 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12394 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12395 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12396 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12398 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12399 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12400 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12401 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12402 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12405 Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12407 Likewise.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12409 Likewise.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12411 Likewise.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12413 Likewise.
12414 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12417 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12425 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12426 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12430 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12432 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12433 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12434 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12438 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12440 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12441
12442 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12443 * nptl/pthreadP.h: Likewise.
12444 * nptl_db/structs.def: Likewise.
12445 * sysdeps/arm/sysdep.h: Likewise.
12446 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12447 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12448 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12449 * sysdeps/unix/alpha/sysdep.h: Likewise.
12450 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12452 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12453 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12454 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12455 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12457 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12458 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12459 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12460 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12461 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12462 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12463 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12468 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12471 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12472 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12473 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12474 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12475 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12476
12477 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12478 * nptl/pthreadP.h: Likewise.
12479 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12480 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12481 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12482 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12483 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12484 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12485 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12486 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12487 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12488 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12489 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12490 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12492 Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12494 Likewise.
12495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12497 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12500 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12501 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12502 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12503
12504 * dlfcn/dladdr.c: Use IS_IN.
12505 * dlfcn/dladdr1.c: Likewise.
12506 * dlfcn/dlclose.c: Likewise.
12507 * dlfcn/dlerror.c: Likewise.
12508 * dlfcn/dlinfo.c: Likewise.
12509 * dlfcn/dlmopen.c: Likewise.
12510 * dlfcn/dlopen.c: Likewise.
12511 * dlfcn/dlsym.c: Likewise.
12512 * dlfcn/dlvsym.c: Likewise.
12513
12514 * include/ifaddrs.h: Use IS_IN.
12515 * inet/check_pf.c: Likewise.
12516 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12517 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12518
12519 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12520 IS_IN_ldconfig.
12521 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12522 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12523
12524 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12525 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12526 IS_IN (libc).
12527
12528 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12529
12530 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12531 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12532 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12533 * include/libc-symbols.h (IS_IN_LIB): New macro.
12534 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12535 * include/netdb.h: Likewise.
12536 * include/stap-probe.h: Remove all uses of IN_LIB.
12537
12538 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12539 instead of IN_MODULE.
12540 * include/libc-symbols.h (IN_MODULE): Define using
12541 MODULE_NAME.
12542 (PASTE_NAME, PASTE_NAME1): New macros.
12543 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12544 of IN_LIB.
12545 (STAP_PROBE_ASM): Likewise.
12546
12547 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12548
12549 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12550 __mach_init in dlopened libc.
12551
12552 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12553
12554 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12555 * sysdeps/arm/preconfigure: Regenerate.
12556
12557 2014-11-21 Roland McGrath <roland@hack.frob.com>
12558
12559 * nptl/pthread_create.c (__pthread_create_2_1): Set
12560 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12561 when copying values from IATTR into PD.
12562
12563 2014-11-21 Will Newton <will.newton@linaro.org>
12564 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12565
12566 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12567 Refactor inline-asm. Also add comment.
12568
12569 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12570 ElfW macro instead of hardcoded Elf64 types.
12571 (la_aarch64_gnu_pltenter): Likewise.
12572 * sysdeps/aarch64/dl-machine.h
12573 (elf_machine_runtime_setup): Use ElfW(Addr).
12574
12575 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12576 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12577 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12578 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12579 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12580 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12581 (R_AARCH64_TLS_DTPMOD): This.
12582 (R_AARCH64_TLS_DTPREL64): Rename to ...
12583 (R_AARCH64_TLS_DTPREL): This.
12584 (R_AARCH64_TLS_TPREL64): Rename to ...
12585 (R_AARCH64_TLS_TPREL): This.
12586 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12587 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12588 R_AARCH64_TLS_TPREL64.
12589 (elf_machine_rela): Likewise.
12590
12591 2014-11-21 Torvald Riegel <triegel@redhat.com>
12592
12593 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12594 by setting it to 0. 64b atomics are not supported currently.
12595
12596 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12597
12598 [BZ #16469]
12599 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12600 search domain names.
12601
12602 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12603
12604 [BZ #16469]
12605 * NEWS: Update.
12606 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12607 trailing dot.
12608 * posix/tst-getaddrinfo5.c: New.
12609 * posix/Makefile (tests): Add it.
12610
12611 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12612
12613 [BZ #14498]
12614 * NEWS: Fixed.
12615 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12616 after parsing line but before break_if_match.
12617 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12618 if there is a protocol mismatch.
12619
12620 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12621
12622 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12623 because the potential race is on the user-supplied stream.
12624
12625 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12626
12627 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12628 string literal if not passed a buffer.
12629 * manual/job.texi (ctermid): Update reasoning, note deviation
12630 from posix, suggest mtasurace when not passed a buffer, for
12631 future non-preliminary safety notes.
12632
12633 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12634
12635 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12636 of not passing it a buffer.
12637 Reported by Peng Haitao.
12638
12639 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12640
12641 * manual/Makefile ($(objpfx)stamp-summary): Require
12642 check-safety.sh to pass.
12643 * manual/check-safety.sh: Wish for verification that every
12644 @deftypefn and @deftypefun is followed by a @safety remark.
12645
12646 2014-11-20 Roland McGrath <roland@hack.frob.com>
12647
12648 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12649
12650 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12651 PTHREAD_CANCEL_ASYNCHRONOUS.
12652 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12653 send SIGCANCEL.
12654
12655 * nptl/default-sched.h: New file.
12656 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12657 * nptl/pthread_create.c: Include it.
12658 (__pthread_create_2_1): Use collect_default_sched instead of making
12659 Linux syscalls here directly.
12660
12661 2014-11-20 Torvald Riegel <triegel@redhat.com>
12662
12663 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12664 __pthread_once): Use C11 atomics.
12665
12666 2014-11-20 Torvald Riegel <triegel@redhat.com>
12667
12668 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12669
12670 2014-11-20 Torvald Riegel <triegel@redhat.com>
12671
12672 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12673 atomic_thread_fence_acquire, atomic_thread_fence_release,
12674 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12675 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12676 atomic_compare_exchange_weak_relaxed,
12677 atomic_compare_exchange_weak_acquire,
12678 atomic_compare_exchange_weak_release,
12679 atomic_exchange_acquire, atomic_exchange_release,
12680 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12681 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12682 atomic_fetch_and_acquire,
12683 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12684
12685 2014-11-20 Torvald Riegel <triegel@redhat.com>
12686
12687 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12688 USE_ATOMIC_COMPILER_BUILTINS): Define.
12689 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12691 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12693 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12695 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12697 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12699 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12700 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12701 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12702 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12703 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12704 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12705 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12706 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12707 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12708 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12709 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12710 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12711 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12712 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12713 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12714 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12715 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12716 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12717 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12718 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12719 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12720 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12721 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12723 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12724 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12725 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12727 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12729
12730 2014-11-19 Roland McGrath <roland@hack.frob.com>
12731
12732 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12733 the sched_priority value here. It was already checked when the user
12734 called pthread_attr_setschedparam.
12735
12736 * nptl/tst-bad-schedattr.c: New file.
12737 * nptl/Makefile (tests): Add it.
12738
12739 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12740 Florian Weimer <fweimer@redhat.com>
12741 Joseph Myers <joseph@codesourcery.com>
12742 Adam Conrad <adconrad@0c3.net>
12743 Andreas Schwab <schwab@suse.de>
12744 Brooks <bmoses@google.com>
12745
12746 [BZ #17625]
12747 * wordexp-test.c (__dso_handle): Add prototype.
12748 (__register_atfork): Likewise.
12749 (__app_register_atfork): New function.
12750 (registered_forks): New global.
12751 (register_fork): New function.
12752 (test_case): Add 3 new tests for WRDE_CMDSUB.
12753 (main): Call __app_register_atfork.
12754 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12755 fork count is non-zero fail the test.
12756 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12757 is set.
12758 (parse_dollars): Remove check for WRDE_NOCMD.
12759 (parse_dquote): Likewise.
12760
12761 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 * Makeconfig (built-modules): List non-library modules to be
12764 built.
12765 (module-cppflags): Include libc-modules.h for
12766 everything except shlib-versions.v.i.
12767 (CPPFLAGS): Use it.
12768 (before-compile): Add libc-modules.h.
12769 ($(common-objpfx)libc-modules.h,
12770 $(common-objpfx)libc-modules.stmp): New targets.
12771 (common-generated): Add libc-modules.h and libc-modules.stmp.
12772 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12773 * include/libc-symbols.h: Don't include libc-modules.h.
12774 * include/libc-modules.h: Remove file.
12775 * scripts/gen-libc-modules.awk: New script to generate
12776 libc-modules.h.
12777 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12778 Depend on libc-modules.stmp.
12779
12780 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12781
12782 * Makeconfig (in-module): Get value of libof set for the
12783 translation unit.
12784 (CPPFLAGS): Use $(in-module).
12785 * Makerules: Don't suffix routine names for nonlib.
12786 * include/libc-modules.h: New file.
12787 * include/libc-symbols.h: Include libc-modules.h
12788 (IS_IN): New macro to replace IS_IN_* macros.
12789 * elf/Makefile: Set libof-* for each routine.
12790 * elf/rtld-Rules: Likewise.
12791 * extra-modules.mk: Likewise.
12792 * iconv/Makefile: Likewise.
12793 * iconvdata/Makefile: Likewise.
12794 * locale/Makefile: Likewise.
12795 * malloc/Makefile: Likewise.
12796 * nss/Makefile: Likewise.
12797 * sysdeps/gnu/Makefile: Likewise.
12798 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12799 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12800 * sysdeps/s390/s390-64/Makefile: Likewise.
12801 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12802 CPPFLAGS for nscd instead of nonlib.
12803
12804 2014-11-18 Roland McGrath <roland@hack.frob.com>
12805
12806 * nptl/createthread.c: New file.
12807
12808 * nptl/createthread.c: Moved ...
12809 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12810
12811 * nptl/createthread.c: Add proper top-line comment.
12812 (do_clone): Folded into ...
12813 (create_thread): ... here. Take new arguments STOPPED_START and
12814 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12815 increment __nptl_threads, do event-reporting logic, do
12816 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12817 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12818 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12819 just send SIGCANCEL.
12820 * nptl/pthread_create.c: Forward-declare create_thread before
12821 including createthread.c.
12822 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12823 declaration, and new macro START_THREAD_SELF to replace argument.
12824 Remove return statement.
12825 (report_thread_creation): New function.
12826 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12827 synchronization logic, and __nptl_nthreads increment here, around
12828 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12829 PD->parent_cancelhandling here, before create_thread. When
12830 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12831 __deallocate_stack, and ENOMEM translation here.
12832
12833 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12834
12835 [BZ #17616]
12836 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12837 (mptwo): Rename to __mptwo.
12838 (__inv): Use __mptwo instead of mptwo.
12839 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12840 (mptwo): Rename to __mptwo.
12841 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12842 of mpone and __mptwo instead of mptwo.
12843 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12844 instead of mpone.
12845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12846 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12847 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12848 of mpone and __mptwo instead of mptwo.
12849 (__mpranred): Use __mpone instead of mpone.
12850 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12851 variable.
12852 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12853 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12854 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12855 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12856 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12857 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12858 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12859 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12860 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12861 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12862 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12863 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12864 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12865 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12866 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12867 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12868 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12869 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12870 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12871
12872 2014-11-18 Tom de Vries <tom@codesoucery.com>
12873
12874 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12875 replace BSD Handler xref with BSD Signal Handling.
12876
12877 2014-11-17 Richard Henderson <rth@redhat.com>
12878
12879 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12880 (_FP_PACK_RAW_2): Remove.
12881 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12882 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12883 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12884 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12885 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12886 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12887 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12888 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12889 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12890 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12891 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12892 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12893 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12894 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12895 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12896 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12897
12898 2014-11-14 Roland McGrath <roland@hack.frob.com>
12899
12900 * signal/signal.h [__USE_MISC]
12901 (struct sigvec): Remove type.
12902 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12903 (sigvec): Remove declaration.
12904 * sysdeps/posix/sigvec.c: Moved ...
12905 * signal/sigvec.c: ... here, replacing old file.
12906 (struct sigvec): New type, copied from old signal.h definition.
12907 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12908 (__sigvec): Convert definition to prototype.
12909 (sigvec): Replace weak_alias with compat_symbol.
12910 * signal/Versions (libc: GLIBC_2.21): New version set.
12911 * include/signal.h: Remove __sigvec declaration.
12912 * sysdeps/unix/bsd/sigvec.c: Remove file.
12913 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12914 * manual/signal.texi (BSD Handler): Remove subsection.
12915 Move siginterrupt up to ...
12916 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12917 (Blocking in BSD): Fold subsection into its parent.
12918 * NEWS: Mention sigvec removal.
12919
12920 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12921
12922 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12923 (DLA_FMS): Make definition conditional only on [__FMA4__].
12924 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12925 definition.
12926
12927 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12928 Make definition conditional only on [PROF].
12929 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12930 definition.
12931 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12932 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12933
12934 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12935 !__GNUC__].
12936 * include/signal.h (__sigpause): Move declaration above call to
12937 libc_hidden_proto.
12938 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12939 variable.
12940 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12941 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12942
12943 2014-11-14 David S. Miller <davem@davemloft.net>
12944
12945 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12946 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12947
12948 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12949
12950 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12951 * configure: Regenerated.
12952 * manual/install.texi (Tools for Compilation): Document a
12953 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12954 compiler verified to work.
12955 * INSTALL: Regenerated.
12956
12957 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12958 redeclare with asm name.
12959 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12960 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12961 including <string.h>.
12962 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12963 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12964 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12965 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12966 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12967 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12968 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12969
12970 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12971
12972 * stdlib/strtol.c (__strtol): Use prototype definition.
12973
12974 [BZ #17594]
12975 * stdlib/strtol.c (SYM__): New macro.
12976 (SYM__1): Likewise.
12977 (__strtol): Likewise.
12978 (strtol): Rename to __strtol and define as weak alias of
12979 __strtol. Use libc_hidden_weak.
12980
12981 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12982
12983 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12984 Use numbered labels in inline assembly.
12985
12986 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12987
12988 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12989 Add setjmp LIBC_PROBE.
12990 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12991 Likewise.
12992 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12993 Add longjmp, longjmp_target LIBC_PROBE.
12994 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12995 Likewise.
12996
12997 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12998
12999 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13000 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13001 to get rid of unused variable warning.
13002
13003 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13004
13005 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13006 Check for unwind_backtrace == NULL only in SHARED case.
13007 (__backchain_backtrace): Compile only in SHARED case.
13008 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13009 Likewise.
13010 (__backchain_backtrace): Declare as static.
13011
13012 2014-11-12 Roland McGrath <roland@hack.frob.com>
13013
13014 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13015 (__libc_multiple_threads_ptr): Variable moved ...
13016 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13017
13018 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13019
13020 * conform/GlibcConform.pm: New file.
13021 * conform/conformtest.pl: Use GlibcConform module.
13022 * conform/linknamespace.pl: New file.
13023 * conform/list-header-symbols.pl: Likewise.
13024 * conform/Makefile (linknamespace-symlists-base): New variable.
13025 (linknamespace-symlists-tests): Likewise.
13026 (linknamespace-header-base): Likewise.
13027 (linknamespace-header-tests): Likewise.
13028 (tests-special): Add new tests.
13029 ($(linknamespace-symlists-tests)): New rule.
13030 (linknamespace-libs): New variable.
13031 ($(objpfx)symlist-stdlibs): New rule.
13032 ($(linknamespace-header-tests)): Likewise.
13033 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13034 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13035 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13036 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13037 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13038 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13039 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13040 (test-xfail-ISO/math.h/linknamespace): Likewise.
13041 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13042 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13043 (test-xfail-ISO/time.h/linknamespace): Likewise.
13044 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13045 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13046 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13047 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13048 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13049 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13050 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13051 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13052 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13053 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13054 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13055 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13056 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13057 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13058 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13059 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13060 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13061 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13062 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13063 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13064 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13065 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13066 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13067 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13068 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13069 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13070 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13071 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13072 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13073 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13074 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13075 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13076 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13077 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13078 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13079 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13080 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13081 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13082 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13083 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13084 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13085 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13086 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13087 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13088 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13089 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13090 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13091 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13092 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13093 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13094 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13095 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13096 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13097 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13098 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13099 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13100 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13101 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13102 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13103 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13104 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13105 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13106 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13107 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13108 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13109 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13110 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13111 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13112 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13113 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13114 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13115 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13116 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13117 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13118 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13119 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13120 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13121 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13122 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13123 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13124 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13125 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13126 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13127 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13128 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13129 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13130 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13131 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13132 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13133 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13134 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13135 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13136 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13137 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13138 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13139 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13140 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13141 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13142 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13143 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13144 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13145 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13146 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13147 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13148 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13149 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13150 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13151 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13152 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13153 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13154 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13155 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13156 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13157 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13158 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13159 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13160 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13161 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13162 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13163 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13164 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13165 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13166 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13167 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13168 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13169 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13170 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13171 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13172 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13173 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13174 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13175 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13176 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13177 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13178 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13179 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13180 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13181 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13182 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13183 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13184 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13185 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13186 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13187 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13188 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13189 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13190 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13191 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13192 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13193 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13194
13195 [BZ #17589]
13196 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13197 of fgets_unlocked.
13198
13199 [BZ #17585]
13200 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13201 (memmem): Rename to __memmem and define as weak alias of
13202 __memmem. Use libc_hidden_weak.
13203 (__memmem): Use libc_hidden_def.
13204 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13205 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13206 memmem.
13207
13208 [BZ #17582]
13209 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13210 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13211 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13212 and define as weak alias of __fgets_unlocked. Use
13213 libc_hidden_weak.
13214 (__fgets_unlocked): Use libc_hidden_def.
13215 * include/stdio.h (__fgets_unlocked): Declare. Use
13216 libc_hidden_proto.
13217 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13218 __fgets_unlocked instead of fgets_unlocked.
13219 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13220 (GET_NPROCS_CONF_PARSER): Likewise.
13221 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13222 (GET_NPROCS_CONF_PARSER): Likewise.
13223
13224 [BZ #17574]
13225 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13226 weak alias of __wmemset. Use libc_hidden_weak.
13227 (__wmemset): Use libc_hidden_def.
13228 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13229 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13230 of wmemset.
13231
13232 [BZ #17573]
13233 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13234 with asm name __mempcpy.
13235 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13236
13237 [BZ #17572]
13238 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13239 and define as weak alias of __rawmemchr.
13240 (__rawmemchr): Do not define as strong alias of rawmemchr.
13241
13242 [BZ #17571]
13243 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13244 alias of __qsort_r.
13245 (qsort): Call __qsort_r instead of qsort_r.
13246 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13247 (__qsort_r): Declare. Call libc_hidden_proto.
13248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13249 instead of qsort_r.
13250 * nscd/gai.c (__qsort_r): Define to qsort_r.
13251 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13252 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13253 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13254
13255 [BZ #17570]
13256 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13257 define as weak alias of __malloc_info.
13258
13259 [BZ #17584]
13260 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13261 as weak alias of __rewinddir. Don't use libc_hidden_def.
13262 (__rewinddir): Use libc_hidden_def.
13263 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13264 as weak alias of __rewinddir. Don't use libc_hidden_def.
13265 (__rewinddir): Use libc_hidden_def.
13266 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13267 weak alias of __rewinddir. Don't use libc_hidden_def.
13268 (__rewinddir): Use libc_hidden_def.
13269 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13270 (__rewinddir): Use libc_hidden_proto.
13271 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13272 rewinddir.
13273 (__getcwd): Use __rewinddir instead of rewinddir.
13274
13275 [BZ #17583]
13276 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13277 alias of __fileno. Use libc_hidden_weak.
13278 (__fileno): Use libc_hidden_def.
13279 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13280 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13281 alias of __ftello.
13282 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13283 __ftello.
13284 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13285 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13286 libc_hidden_def.
13287 (fread_unlocked): Don't use libc_hidden_ver.
13288 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13289 and define as weak alias of __fread_unlocked. Don't use
13290 libc_hidden_def.
13291 (__fread_unlocked): Use libc_hidden_def.
13292 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13293 (ftello): Don't use libc_hidden_proto.
13294 (__ftello): Declare. Use libc_hidden_proto.
13295 (fread_unlocked): Don't use libc_hidden_proto.
13296 (__fread_unlocked): Declare. Use libc_hidden_proto.
13297 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13298 and __ftello instead of fileno, fread_unlocked and ftello.
13299
13300 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13301
13302 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13303 GOT12.
13304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13305 Likewise.
13306 (_dl_start_user): Likewise.
13307 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13308
13309 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13310 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13313 Move argv and envp down instead of moving argc up.
13314 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13315
13316 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13317
13318 [BZ #17506]
13319 * test-skeleton.c (main): Return successful if one of
13320 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13321 * string/tst-strcoll-overflow.c: Define expected status.
13322
13323 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13324
13325 [BZ #17475]
13326 * locale/iso-639.def: Define Bhili and Tulu language codes.
13327
13328 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13329
13330 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13331
13332 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13333
13334 [BZ #17555]
13335 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13336
13337 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13338
13339 * configure.ac: Updated check of minimal required version to
13340 2.22.
13341 * manual/install.texi (Tools for Compilation): Updated version
13342 number.
13343 * configure: Regenerated.
13344 * INSTALL: Likewise.
13345
13346 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13347
13348 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13349 __tls_get_addr.
13350
13351 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13352
13353 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13354 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13355 (__waitpid): Don't define as alias. Use libc_hidden_def not
13356 libc_hidden_weak.
13357 (waitpid): Define as alias of __waitpid.
13358 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13359 __waitpid.
13360 (__waitpid): Don't define as alias. Use libc_hidden_def not
13361 libc_hidden_weak.
13362 (waitpid): Define as alias of __waitpid.
13363 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13364 __libc_waitpid alias.
13365 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13367 Likewise.
13368 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13369 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13370 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13371 alias.
13372 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13373 __waitpid.
13374 (__waitpid): Don't define as alias. Use libc_hidden_def not
13375 libc_hidden_weak.
13376 (waitpid): Define as alias of __waitpid.
13377
13378 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13379
13380 * manual/llio.texi: Add comment that write safety has been
13381 fixed in Linux.
13382
13383 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13384 (localplt-build-dso): Add elf/ld.so.
13385 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13386 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13387 and free for ld.so.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13389 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13391 Likewise.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13393 Likewise.
13394 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13395 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13396 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13397 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13398 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13399 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13400 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13401 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13402 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13405
13406 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13407
13408 [BZ #14132]
13409 * include/libc-symbols.h (INTUSE): Remove macro.
13410 (INTDEF): Likewise.
13411 (INTVARDEF): Likewise.
13412 (_INTVARDEF): Likewise.
13413 (INTDEF2): Likewise.
13414 (INTVARDEF2): Likewise.
13415 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13416 rtld_hidden_def instead of INTVARDEF.
13417 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13418 (_dl_starting_up_internal): Remove declaration.
13419 (_dl_starting_up): Use rtld_hidden_proto.
13420 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13421 declaration.
13422 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13423 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13424 _dl_starting_up.
13425 * elf/dl-writev.h (_dl_writev): Likewise.
13426 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13427 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13428 _dl_starting_up_internal.
13429
13430 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13431
13432 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13433 test-skeleton.c.
13434
13435 2014-11-05 Will Newton <will.newton@linaro.org>
13436
13437 * benchtests/Makefile: (bench-malloc): Add malloc thread
13438 scalability benchmark.
13439 * benchtests/bench-malloc-threads.c: New file.
13440
13441 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13442
13443 * sysdeps/aarch64/strchrnul.S: New file.
13444
13445 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13446
13447 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13448 definition.
13449 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13450 Likwise.
13451 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13452 Likewise.
13453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13454 Likewise.
13455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13456 Likewise.
13457 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13458 Likewise.
13459
13460 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13461
13462 * catgets/test-gencat.c: Use test-skeleton.c.
13463 * catgets/tst-catgets.c: Likewise.
13464 * csu/tst-empty.c: Likewise.
13465 * elf/tst-audit2.c: Likewise.
13466 * elf/tst-global1.c: Likewise.
13467 * elf/tst-pathopt.c: Likewise.
13468 * elf/tst-piemod1.c: Likewise.
13469 * elf/tst-tls10.c: Likewise.
13470 * elf/tst-tls11.c: Likewise.
13471 * elf/tst-tls12.c: Likewise.
13472 * gnulib/tst-gcc.c: Likewise.
13473 * iconvdata/tst-e2big.c: Likewise.
13474 * iconvdata/tst-loading.c: Likewise.
13475 * iconv/tst-iconv1.c: Likewise.
13476 * iconv/tst-iconv2.c: Likewise.
13477 * inet/test-inet6_opt.c: Likewise.
13478 * inet/tst-gethnm.c: Likewise.
13479 * inet/tst-network.c: Likewise.
13480 * inet/tst-ntoa.c: Likewise.
13481 * intl/tst-codeset.c: Likewise.
13482 * intl/tst-gettext2.c: Likewise.
13483 * intl/tst-gettext3.c: Likewise.
13484 * intl/tst-ngettext.c: Likewise.
13485 * intl/tst-translit.c: Likewise.
13486 * io/test-stat.c: Likewise.
13487 * libio/test-fmemopen.c: Likewise.
13488 * libio/tst-freopen.c: Likewise.
13489 * libio/tst-sscanf.c: Likewise.
13490 * libio/tst-ungetwc1.c: Likewise.
13491 * libio/tst-ungetwc2.c: Likewise.
13492 * libio/tst-widetext.c: Likewise.
13493 * localedata/tst-ctype.c: Likewise.
13494 * localedata/tst-digits.c: Likewise.
13495 * localedata/tst-leaks.c: Likewise.
13496 * localedata/tst-mbswcs1.c: Likewise.
13497 * localedata/tst-mbswcs2.c: Likewise.
13498 * localedata/tst-mbswcs3.c: Likewise.
13499 * localedata/tst-mbswcs4.c: Likewise.
13500 * localedata/tst-mbswcs5.c: Likewise.
13501 * localedata/tst-setlocale.c: Likewise.
13502 * localedata/tst-trans.c: Likewise.
13503 * localedata/tst-wctype.c: Likewise.
13504 * localedata/tst-xlocale1.c: Likewise.
13505 * login/tst-grantpt.c: Likewise.
13506 * malloc/tst-calloc.c: Likewise.
13507 * malloc/tst-malloc.c: Likewise.
13508 * malloc/tst-mallocstate.c: Likewise.
13509 * malloc/tst-mcheck.c: Likewise.
13510 * malloc/tst-mtrace.c: Likewise.
13511 * malloc/tst-obstack.c: Likewise.
13512 * math/atest-exp2.c: Likewise.
13513 * math/atest-exp.c: Likewise.
13514 * math/atest-sincos.c: Likewise.
13515 * math/test-matherr.c: Likewise.
13516 * math/test-misc.c: Likewise.
13517 * math/test-powl.c: Likewise.
13518 * math/tst-definitions.c: Likewise.
13519 * misc/tst-dirname.c: Likewise.
13520 * misc/tst-efgcvt.c: Likewise.
13521 * misc/tst-fdset.c: Likewise.
13522 * misc/tst-hsearch.c: Likewise.
13523 * misc/tst-mntent2.c: Likewise.
13524 * nptl/tst-sem7.c: Likewise.
13525 * nptl/tst-sem8.c: Likewise.
13526 * nptl/tst-sem9.c: Likewise.
13527 * nss/test-netdb.c: Likewise.
13528 * posix/tst-fnmatch.c: Likewise.
13529 * posix/tst-getlogin.c: Likewise.
13530 * posix/tst-gnuglob.c: Likewise.
13531 * posix/tst-mmap.c: Likewise.
13532 * pwd/tst-getpw.c: Likewise.
13533 * resolv/tst-inet_ntop.c: Likewise.
13534 * rt/tst-timer.c: Likewise.
13535 * stdio-common/test-fseek.c: Likewise.
13536 * stdio-common/test-popen.c: Likewise.
13537 * stdio-common/test-vfprintf.c: Likewise.
13538 * stdio-common/tst-cookie.c: Likewise.
13539 * stdio-common/tst-fileno.c: Likewise.
13540 * stdio-common/tst-gets.c: Likewise.
13541 * stdio-common/tst-obprintf.c: Likewise.
13542 * stdio-common/tst-perror.c: Likewise.
13543 * stdio-common/tst-sprintf2.c: Likewise.
13544 * stdio-common/tst-sprintf3.c: Likewise.
13545 * stdio-common/tst-sprintf.c: Likewise.
13546 * stdio-common/tst-swprintf.c: Likewise.
13547 * stdio-common/tst-tmpnam.c: Likewise.
13548 * stdio-common/tst-unbputc.c: Likewise.
13549 * stdio-common/tst-wc-printf.c: Likewise.
13550 * stdlib/tst-environ.c: Likewise.
13551 * stdlib/tst-fmtmsg.c: Likewise.
13552 * stdlib/tst-limits.c: Likewise.
13553 * stdlib/tst-rand48-2.c: Likewise.
13554 * stdlib/tst-rand48.c: Likewise.
13555 * stdlib/tst-random2.c: Likewise.
13556 * stdlib/tst-random.c: Likewise.
13557 * stdlib/tst-strtol.c: Likewise.
13558 * stdlib/tst-strtoll.c: Likewise.
13559 * stdlib/tst-tls-atexit.c: Likewise.
13560 * stdlib/tst-xpg-basename.c: Likewise.
13561 * string/test-ffs.c: Likewise.
13562 * string/tst-bswap.c: Likewise.
13563 * string/tst-inlcall.c: Likewise.
13564 * string/tst-strtok.c: Likewise.
13565 * string/tst-strxfrm.c: Likewise.
13566 * sysdeps/x86_64/tst-audit10.c: Likewise.
13567 * sysdeps/x86_64/tst-audit3.c: Likewise.
13568 * sysdeps/x86_64/tst-audit4.c: Likewise.
13569 * sysdeps/x86_64/tst-audit5.c: Likewise.
13570 * time/tst-ftime_l.c: Likewise.
13571 * time/tst-getdate.c: Likewise.
13572 * time/tst-mktime3.c: Likewise.
13573 * time/tst-mktime.c: Likewise.
13574 * time/tst-posixtz.c: Likewise.
13575 * time/tst-strptime2.c: Likewise.
13576 * time/tst-strptime3.c: Likewise.
13577 * wcsmbs/tst-btowc.c: Likewise.
13578 * wcsmbs/tst-mbrtowc.c: Likewise.
13579 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13580 * wcsmbs/tst-wchar-h.c: Likewise.
13581 * wcsmbs/tst-wcpncpy.c: Likewise.
13582 * wcsmbs/tst-wcrtomb.c: Likewise.
13583 * wcsmbs/tst-wcsnlen.c: Likewise.
13584 * wcsmbs/tst-wcstof.c: Likewise.
13585
13586 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13587
13588 [BZ #14132]
13589 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13590 INTDEF.
13591 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13592 declaration.
13593 (_dl_mcount): Use rtld_hidden_proto.
13594 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13595 _dl_mcount.
13596 * elf/rtld.c (_rtld_global_ro): Likewise.
13597
13598 [BZ #14132]
13599 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13600 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13601 of _dl_init_internal.
13602 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13603 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13604 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13605 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13606 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13607 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13608 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13609 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13610 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13611 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13612 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13613 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13614 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13615 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13616 * sysdeps/tile/dl-start.S (_start): Likewise.
13617 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13618 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13619
13620 [BZ #14132]
13621 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13622 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13623 (rtld_progname): Make macro definition unconditional.
13624 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13625 INTDEF.
13626 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13627 (dl_main): Likewise.
13628 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13629 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13630 instead of _dl_argv_internal.
13631 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13632 __GI__dl_argv instead of INTUSE(_dl_argv).
13633 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13634 __GI__dl_argv instead of _dl_argv_internal.
13635
13636 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13637 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13638 macro.
13639 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13640 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13641 New macro.
13642 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13643 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13644 macro.
13645 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13646 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13647
13648 2014-11-04 Andreas Schwab <schwab@suse.de>
13649
13650 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13651
13652 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13653
13654 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13655 mtvsrd instruction in binary form.
13656
13657 2014-11-03 Andreas Schwab <schwab@suse.de>
13658
13659 [BZ #17522]
13660 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13661 for less than MB_LEN_MAX use a local buffer of that size.
13662 * libio/tst-fputws.c: New file.
13663 * libio/Makefile (tests): Add tst-fputws.
13664
13665 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13666
13667 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13668 the size of the fpu_fr.fpu_dregs[] array.
13669
13670 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13671
13672 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13673 (__nanosleep): Do not define as alias.
13674 (nanosleep): Define as alias of __nanosleep.
13675 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13676 __libc_nanosleep name.
13677
13678 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13679
13680 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13681 install.texi in comment.
13682
13683 2014-10-31 Torvald Riegel <triegel@redhat.com>
13684
13685 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13686 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13687 ... add here and use lwsync or sync ...
13688 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13689 ... and add here using lwsync.
13690
13691 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13692
13693 * elf/dl-machine-reject-phdr.h: New file.
13694 * elf/dl-load.c: #include that.
13695 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13696 if that returned true.
13697
13698 2014-10-31 Roland McGrath <roland@hack.frob.com>
13699
13700 [BZ #17496]
13701 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13702 gen-as-const-headers chunk. Add a big scare comment after the last
13703 safe place to touch before-compile.
13704
13705 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13706
13707 * manual/install.texi (Tools for Compilation): Update autoconf
13708 version requirements.
13709 * INSTALL: Regenerated.
13710
13711 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13712 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13713 (__libc_pselect): Likewise.
13714
13715 [BZ #14138]
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13720
13721 2014-10-31 Torvald Riegel <triegel@redhat.com>
13722
13723 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13724 correct barrier instruction.
13725 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13726 Likewise.
13727 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13728 Likewise.
13729
13730 2014-10-30 Roland McGrath <roland@hack.frob.com>
13731
13732 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13733 after defining inlines. Instead, just use parens to defeat macro
13734 expansion of __isctype in its declaration.
13735
13736 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13737
13738 * include/sys/uio.h (__libc_readv): Remove declaration.
13739 (__libc_writev): Likewise.
13740 * misc/readv.c (__libc_readv): Rename to __readv.
13741 (__readv): Do not define as alias.
13742 (readv): Define as alias of __readv.
13743 * misc/writev.c (__libc_writev): Rename to __writev.
13744 (__writev): Do not define as alias.
13745 (writev): Define as alias of __writev.
13746 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13747 (__readv): Do not define as alias.
13748 (readv): Define unconditionally as alias of __readv.
13749 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13750 (__writev): Do not define as alias.
13751 (writev): Define unconditionally as alias of __writev.
13752 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13753 name.
13754 (writev): Do not define __libc_writev name.
13755
13756 2014-10-30 Roland McGrath <roland@hack.frob.com>
13757
13758 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13759 (convert_charseq): New function, broken out of ...
13760 (use_from_charmap): ... here. Call it.
13761 (use_to_charmap): Use convert_charseq and free instead of duplicating
13762 its code with a variable-length stack struct.
13763
13764 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13765
13766 * include/fcntl.h (__libc_creat): Remove declaration.
13767 * io/creat.c (__libc_creat): Rename to creat.
13768 (creat): Do not define as alias.
13769 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13770 of creat instead of __libc_creat.
13771 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13772 to creat.
13773 (creat): Do not define as alias.
13774 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13775 __libc_creat.
13776 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13777 __libc_creat name.
13778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13779 Likewise.
13780
13781 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13782
13783 * manual/llio.texi: Add comments discussing why write() may be
13784 considered MT-unsafe on Linux.
13785
13786 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13787
13788 * dl-load.c (local_strdup): Remove.
13789 (expand_dynamic_string_token): Use __strdup.
13790 (decompose_rpath): Likewise.
13791 (_dl_map_object): Likewise.
13792
13793 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13794
13795 [BZ #14132]
13796 * sysdeps/generic/unwind-dw2-fde.c
13797 (__register_frame_info_bases_internal): Do not declare.
13798 (__register_frame_info_table_bases_internal): Likewise.
13799 (__deregister_frame_info_bases_internal): Likewise.
13800 (__register_frame_info_bases): Declare and use hidden_proto before
13801 definition. Use hidden_def instead of INTDEF.
13802 (__register_frame_info_table_bases): Likewise.
13803 (__deregister_frame_info_bases): Likewise.
13804 (__register_frame_info): Do not use INTUSE.
13805 (__register_frame): Likewise.
13806 (__register_frame_info_table): Likewise.
13807 (__register_frame_table): Likewise.
13808 (__deregister_frame_info): Likewise.
13809 (__deregister_frame): Likewise.
13810
13811 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13812
13813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13814 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13815 not undefine.
13816 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13817 Likewise.
13818 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13819 Likewise.
13820
13821 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13822
13823 [BZ #14138]
13824 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13825 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13826 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13827 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13828 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13831 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13832 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13833 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13834 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13836 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13837 syscall.
13838 (setfsuid): Likewise.
13839 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13840 (setfsuid): Likewise.
13841 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13842 (setfsuid): Likewise.
13843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13844 Likewise.
13845 (setfsuid): Likewise.
13846 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13847 (setfsuid): Likewise.
13848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13849 Likewise.
13850 (setfsuid): Likewise.
13851
13852 2014-10-27 Andreas Schwab <schwab@suse.de>
13853
13854 [BZ #17501]
13855 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13856 check for Slow_SSE4_2 feature bit.
13857 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13858 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13859 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13860 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13861
13862 2014-10-24 Roland McGrath <roland@hack.frob.com>
13863
13864 * configure.ac: Validate compiler version with a empirical test of
13865 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13866 $CC -v output.
13867 * configure: Regenerated.
13868
13869 * inet/htons.c (htons): Prototypify.
13870 * inet/htonl.c (htonl): Likewise.
13871
13872 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13873
13874 * string/strncat.c (strncat): Improve performance by using strlen.
13875
13876 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13877
13878 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13879
13880 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13881
13882 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13883 Call libc_fetestexcept_aarch64.
13884
13885 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13886
13887 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13888 Call libc_feholdexcept_aarch64.
13889
13890 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13891
13892 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13893 Call get_rounding_mode.
13894
13895 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13896
13897 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13898 Simplify logic.
13899
13900 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13901
13902 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13903 Simplify logic.
13904
13905 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13906
13907 [BZ #14138]
13908 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13909 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13910 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13911 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13912 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13913 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13914 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13915 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13917 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13918 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13919 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13920 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13921 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13922 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13923 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13924 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13925 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13926 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13927 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13928 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13930 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13932 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13936 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13937 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13938 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13939 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13940 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13941 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13942 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13943 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13948 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13949 syscall.
13950 (geteuid): Likewise.
13951 (getgid): Likewise.
13952 (getuid): Likewise.
13953 (getresgid): Likewise.
13954 (getresuid): Likewise.
13955 (getgroups): Likewise.
13956 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13957 (geteuid): Likewise.
13958 (getgid): Likewise.
13959 (getuid): Likewise.
13960 (getresgid): Likewise.
13961 (getresuid): Likewise.
13962 (getgroups): Likewise.
13963 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13964 (geteuid): Likewise.
13965 (getgid): Likewise.
13966 (getuid): Likewise.
13967 (getresgid): Likewise.
13968 (getresuid): Likewise.
13969 (getgroups): Likewise.
13970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13971 Likewise.
13972 (geteuid): Likewise.
13973 (getgid): Likewise.
13974 (getuid): Likewise.
13975 (getresgid): Likewise.
13976 (getresuid): Likewise.
13977 (getgroups): Likewise.
13978 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13979 (geteuid): Likewise.
13980 (getgid): Likewise.
13981 (getuid): Likewise.
13982 (getresgid): Likewise.
13983 (getresuid): Likewise.
13984 (getgroups): Likewise.
13985 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13986 Likewise.
13987 (geteuid): Likewise.
13988 (getgid): Likewise.
13989 (getuid): Likewise.
13990 (getgroups): Likewise.
13991
13992 [BZ #14138]
13993 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13994 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13995 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13997 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13998 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13999 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14000 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14001 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14002 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14003 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14005 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14006 __chown.
14007 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14008 (lchown): Likewise.
14009 (fchown): Likewise.
14010 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14011 Likewise.
14012 (lchown): Likewise.
14013 (fchown): Likewise.
14014 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14015 (lchown): Likewise.
14016 (fchown): Likewise.
14017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14018 Likewise.
14019 (lchown): Likewise.
14020 (fchown): Likewise.
14021
14022 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14023
14024 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14025 Simplify logic.
14026
14027 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14028
14029 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14030 Cleanup logic.
14031
14032 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14033
14034 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14035 Remove unused include.
14036
14037 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14038
14039 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14040 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14041 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14042 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14043
14044 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14045 Helge Deller <deller@gmx.de>
14046
14047 [BZ #17508]
14048 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14049 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14050 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14051
14052 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14053
14054 [BZ #14132]
14055 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14056 Remove macro definition.
14057 (__ashrdi3_v_glibc20): Likewise.
14058 (__lshrdi3_v_glibc20): Likewise.
14059 (__cmpdi2_v_glibc20): Likewise.
14060 (__ucmpdi2_v_glibc20): Likewise.
14061 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14062 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14063 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14064 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14065 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14066 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14067
14068 2014-10-22 Roland McGrath <roland@hack.frob.com>
14069
14070 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14071 old GNU extension [0] syntax.
14072 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14073 alloca rather than an array member with variable length.
14074 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14075 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14076 (parse_opt): ... here. Likewise use alloca there.
14077 Validate the -i argument before checking for rootness.
14078 (send_shutdown): New function, broken out of ...
14079 (parse_opt): ... here.
14080
14081 2014-10-22 Roland McGrath <roland@hack.frob.com>
14082
14083 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14084 macro to get at the _rt_local_ro field.
14085 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14086 ([PIC] case) or _dl_hwcap ([!PIC] case).
14087 * sysdeps/arm/setjmp.S: Likewise.
14088
14089 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14090 * sysdeps/arm/configure.ac: New check to define it.
14091 * sysdeps/arm/configure: Regenerated.
14092 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14093 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14094 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14095 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14096 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14097 Use move/movt pair instead of a load.
14098 (LDST_GLOBAL): Macro removed.
14099 (LDR_GLOBAL): New macro replaces it.
14100 (LDR_HIDDEN): New macro.
14101 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14102 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14103
14104 * setjmp/tst-setjmp-static.c: New file.
14105 * setjmp/Makefile (tests): Add it.
14106 (tests-static): New variable.
14107
14108 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14109
14110 [BZ #17485]
14111 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14112
14113 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14114
14115 [BZ #14132]
14116 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14117
14118 2014-10-21 Roland McGrath <roland@hack.frob.com>
14119
14120 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14121
14122 2014-10-20 Roland McGrath <roland@hack.frob.com>
14123
14124 * io/fts.c (dirent_not_directory): New function.
14125 (fts_build): Call it.
14126
14127 2014-10-20 Roland McGrath <roland@hack.frob.com>
14128
14129 * nptl/version.c (__nptl_main): Use normal __write rather than
14130 INTERNAL_SYSCALL.
14131 (banner): Update copyright years.
14132
14133 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14134 gettimeofday.
14135 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14136 * nptl/pthread_cond_timedwait.c: Likewise.
14137 * nptl/pthread_mutex_timedlock.c: Likewise.
14138 * nptl/sem_timedwait.c: Likewise.
14139
14140 * sysdeps/nptl/bits/libc-lock.h
14141 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14142 (__libc_lock_init_recursive): Return void, not 0.
14143 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14144 (__libc_rwlock_init): Likewise.
14145 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14146
14147 2014-10-20 Torvald Riegel <triegel@redhat.com>
14148
14149 [BZ #15215]
14150 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14151 (__pthread_once_slow): ... here.
14152 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14153 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14154
14155 2014-10-20 Torvald Riegel <triegel@redhat.com>
14156
14157 [BZ #15215]
14158 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14159 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14160 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14161 * nptl/pthread_once.c (__pthread_once): Likewise.
14162 Update comments.
14163
14164 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14165
14166 [BZ #14138]
14167 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14168 name.
14169 (writev): Use __libc_writev as strong name.
14170 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14171 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14172
14173 2014-10-17 Roland McGrath <roland@hack.frob.com>
14174
14175 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14176
14177 * sysdeps/i386/nptl/tls.h
14178 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14179 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14180 New macros.
14181 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14182 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14183 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14184 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14185 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14186 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14187
14188 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14189 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14190 on [__NR_futex].
14191 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14192 broken out of ...
14193 (__pthread_mutex_init): ... here. Call it.
14194 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14195 Conditionalize PI cases on [__NR_futex].
14196 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14197 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14198 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14199
14200 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14201 conditional on [SIGSETXID].
14202 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14203 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14204 is defined. Likewise for SIGSETXID.
14205 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14206 Conditionalize definitions on [SIGSETXID].
14207 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14208 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14209 unblocking on [SIGCANCEL].
14210
14211 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14212 [__NR_set_robust_list].
14213
14214 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14215
14216 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14217 (do_compare): Likewise.
14218
14219 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14220
14221 [BZ #15884]
14222 * string/strcoll_l.c: Don't include stdio.h.
14223 (coll_seq): Remove members idxarr and rulearr.
14224 (get_next_seq_cached): Remove function.
14225 (get_next_seq): Likewise.
14226 (get_next_seq_nocache): Rename to get_next_seq.
14227 (do_compare): Remove function.
14228 (do_compare_nocache): Rename to do_compare.
14229 (STRCOLL): Remove weight and rules cache.
14230
14231 2014-10-16 Roland McGrath <roland@hack.frob.com>
14232
14233 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14234 * sysdeps/arm/sfp-machine.h: ... to here.
14235 * sysdeps/arm/Implies: Remove arm/soft-fp.
14236
14237 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14238
14239 * conform/data/sys/utsname.h-data (*_t): Allow.
14240 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14241 [POSIX] (WEXITED): Do not expect constant.
14242 [POSIX] (WSTOPPED): Likewise.
14243 [POSIX] (WNOHANG): Likewise.
14244 [POSIX] (WNOWAIT): Likewise.
14245 [POSIX] (siginfo_t): Do not expect type or elements.
14246 [POSIX] (pid_t): Do not expect type.
14247 [POSIX] (signal.h): Do not allow header.
14248 [POSIX] (sys/resource.h): Likewise.
14249 [POSIX] (si_*): Do not allow pattern.
14250 [POSIX] (W*): Likewise.
14251 [POSIX] (P_*): Likewise.
14252 [POSIX] (BUS_*): Likewise.
14253 [POSIX] (CLD_*): Likewise.
14254 [POSIX] (FPE_*): Likewise.
14255 [POSIX] (ILL_*): Likewise.
14256 [POSIX] (POLL_*): Likewise.
14257 [POSIX] (SEGV_*): Likewise.
14258 [POSIX] (SI_*): Likewise.
14259 [POSIX] (TRAP_*): Likewise.
14260 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14261 variable.
14262
14263 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14264
14265 [BZ #12926]
14266 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14267 infinite loop when __recvmsg returns 0.
14268
14269 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14270
14271 * CANCEL-FCT-WAIVE: Remove file.
14272 * CANCEL-FILE-WAIVE: Likewise.
14273
14274 [BZ #14132]
14275 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14276 instead of INTVARDEF.
14277 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14278 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14279 rtld_hidden_data_def instead of INTVARDEF.
14280 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14281 * elf/dl-deps.c (expand_dst): Likewise.
14282 * elf/dl-load.c (_dl_dst_count): Likewise.
14283 (_dl_dst_substitute): Likewise.
14284 (decompose_rpath): Likewise.
14285 (_dl_init_paths): Likewise.
14286 (open_path): Likewise.
14287 (_dl_map_object): Likewise.
14288 * elf/rtld.c (dl_main): Likewise.
14289 (process_dl_audit): Likewise.
14290 (process_envvars): Likewise.
14291 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14292 Remove declaration.
14293 (__libc_enable_secure): Use rtld_hidden_proto.
14294
14295 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14296
14297 * elf/dl-load.c
14298 (add_path): New function broken out of _dl_rtld_di_serinfo.
14299 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14300
14301 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14302
14303 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14304 parentheses around macro arguments.
14305 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14306 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14307 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14308 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14309 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14310 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14311 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14312 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14313 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14314 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14315 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14316 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14317 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14318 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14319 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14320 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14321 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14323 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14325 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14326 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14329 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14330 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14333 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14334 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14335 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14336 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14337 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14338 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14339 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14340 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14341 Likewise.
14342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14344 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14348 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14349 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14350 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14351 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14352 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14353 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14354 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14355 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14356 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14359 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14360 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14361 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14363 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14364 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14365 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14366 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14367 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14368 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14369 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14370 (_FP_FRAC_SRS_1): Likewise.
14371 (_FP_FRAC_CLZ_1): Likewise.
14372 (_FP_MUL_MEAT_1_imm): Likewise.
14373 (_FP_MUL_MEAT_1_wide): Likewise.
14374 (_FP_MUL_MEAT_1_hard): Likewise.
14375 (_FP_SQRT_MEAT_1): Likewise.
14376 (_FP_FRAC_ASSEMBLE_1): Likewise.
14377 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14378 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14379 (__FP_CLZ_2): Likewise.
14380 (_FP_MUL_MEAT_2_wide): Likewise.
14381 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14382 (_FP_MUL_MEAT_2_gmp): Likewise.
14383 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14384 (_FP_SQRT_MEAT_2): Likewise.
14385 (_FP_FRAC_ASSEMBLE_2): Likewise.
14386 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14387 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14388 (_FP_FRAC_CLZ_4): Likewise.
14389 (_FP_MUL_MEAT_4_wide): Likewise.
14390 (_FP_MUL_MEAT_4_gmp): Likewise.
14391 (_FP_SQRT_MEAT_4): Likewise.
14392 (_FP_FRAC_ASSEMBLE_4): Likewise.
14393 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14394 * soft-fp/op-common.h (_FP_CMP): Likewise.
14395 (_FP_CMP_EQ): Likewise.
14396 (_FP_CMP_UNORD): Likewise.
14397 (_FP_TO_INT): Likewise.
14398 (_FP_FROM_INT): Likewise.
14399 [!__FP_CLZ] (__FP_CLZ): Likewise.
14400 (_FP_DIV_HELP_imm): Likewise.
14401 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14402 Likewise.
14403 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14404 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14405 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14406 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14407 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14408 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14409 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14410 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14411 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14412 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14413 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14414 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14415 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14416 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14417 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14418 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14419 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14420 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14421 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14422 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14423 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14424 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14425 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14426 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14427 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14428 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14429 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14430 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14431 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14432 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14433 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14434 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14435 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14436 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14437 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14438 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14439 (FP_UNPACK_RAW_SP): Likewise.
14440 (FP_PACK_RAW_S): Likewise.
14441 (FP_PACK_RAW_SP): Likewise.
14442 (FP_UNPACK_S): Likewise.
14443 (FP_UNPACK_SP): Likewise.
14444 (FP_UNPACK_SEMIRAW_S): Likewise.
14445 (FP_UNPACK_SEMIRAW_SP): Likewise.
14446 (FP_PACK_S): Likewise.
14447 (FP_PACK_SP): Likewise.
14448 (FP_PACK_SEMIRAW_S): Likewise.
14449 (FP_PACK_SEMIRAW_SP): Likewise.
14450 (_FP_SQRT_MEAT_S): Likewise.
14451 (FP_CMP_S): Likewise.
14452 (FP_CMP_EQ_S): Likewise.
14453 (FP_CMP_UNORD_S): Likewise.
14454 (FP_TO_INT_S): Likewise.
14455 (FP_FROM_INT_S): Likewise.
14456
14457 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14458
14459 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14460 (FP_EX_INVALID_IMZ): Likewise.
14461 (FP_EX_INVALID_IMZ_FMA): Likewise.
14462 (FP_EX_INVALID_ISI): Likewise.
14463 (FP_EX_INVALID_ZDZ): Likewise.
14464 (FP_EX_INVALID_IDI): Likewise.
14465 (FP_EX_INVALID_SQRT): Likewise.
14466 (FP_EX_INVALID_CVI): Likewise.
14467 (FP_EX_INVALID_VC): Likewise.
14468 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14469 "invalid" exceptions.
14470 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14471 (_FP_ADD_INTERNAL): Likewise.
14472 (_FP_MUL): Likewise.
14473 (_FP_FMA): Likewise.
14474 (_FP_DIV): Likewise.
14475 (_FP_CMP_CHECK_NAN): Likewise.
14476 (_FP_SQRT): Likewise.
14477 (_FP_TO_INT): Likewise.
14478 (FP_EXTEND): Likewise.
14479
14480 2014-10-09 Allan McRae <allan@archlinux.org>
14481
14482 * po/fr.po: Update French translation from translation project.
14483
14484 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14485
14486 [BZ #14132]
14487 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14488 of INTDEF.
14489 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14490 (__cxa_atexit): Use libc_hidden_proto.
14491 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14492
14493 [BZ #14132]
14494 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14495 declaration.
14496 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14497 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14498 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14499 [!_ISOMAC] (__iswctype_internal): Likewise.
14500 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14501 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14502 alias.
14503 (fcntl): Remove __fcntl_internal alias.
14504 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14505 __connect_internal alias.
14506 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14507 Likewise.
14508
14509 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14510 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14511 FP_DENORM_ZERO.
14512 (_FP_CHECK_FLUSH_ZERO): New macro.
14513 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14514 (_FP_CMP): Likewise.
14515 (_FP_CMP_EQ): Likewise.
14516 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14517 FP_DENORM_ZERO.
14518 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14519 (FP_TRUNC): Likewise.
14520
14521 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14522 treated as invalid conversion, not as normal exponent.
14523
14524 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14525 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14526 (_FP_CMP_EQ): Likewise.
14527 (_FP_CMP_UNORD): Likewise.
14528 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14529 (FP_CMP_EQ_D): Likewise.
14530 (FP_CMP_UNORD_D): Likewise.
14531 * soft-fp/extended.h (FP_CMP_E): Likewise.
14532 (FP_CMP_EQ_E): Likewise.
14533 (FP_CMP_UNORD_E): Likewise.
14534 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14535 (FP_CMP_EQ_Q): Likewise.
14536 (FP_CMP_UNORD_Q): Likewise.
14537 * soft-fp/single.h (FP_CMP_S): Likewise.
14538 (FP_CMP_EQ_S): Likewise.
14539 (FP_CMP_UNORD_S): Likewise.
14540 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14541 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14542 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14543 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14544 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14545 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14546 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14547 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14548 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14549 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14550 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14551 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14552 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14553 to FP_CMP_Q.
14554 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14555 FP_CMP_Q.
14556 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14557 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14558 FP_CMP_EQ_Q.
14559 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14560 FP_CMP_Q.
14561 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14562 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14563 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14564 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14565 FP_CMP_EQ_Q.
14566 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14567 FP_CMP_Q.
14568 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14569 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14570 FP_CMP_EQ_Q.
14571 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14572 FP_CMP_Q.
14573 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14574 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14575 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14576 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14577 FP_CMP_EQ_Q.
14578
14579 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14580 a subnormal result, set the underflow exception if trapping on
14581 underflow is enabled.
14582 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14583 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14584 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14585 redefine to 0.
14586 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14587 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14588 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14589 * soft-fp/extendxftf2.c (__extendxftf2): Use
14590 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14591
14592 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14593 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14594 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14595 FP_HANDLE_EXCEPTIONS.
14596 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14597 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14598 FP_HANDLE_EXCEPTIONS.
14599 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14600 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14601 FP_HANDLE_EXCEPTIONS.
14602 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14603 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14604 FP_HANDLE_EXCEPTIONS.
14605
14606 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14607
14608 [BZ #14132]
14609 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14610 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14611 use INTUSE.
14612 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14613 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14614 Remove alias.
14615 (__adjtimex): Define using libc_hidden_ver.
14616 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14617 Remove declaration.
14618 (ntp_gettime): Call __adjtimex directly.
14619 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14620 Remove declaration.
14621 (ntp_gettimex): Call __adjtimex directly.
14622 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14623 __adjtimex_internal alias.
14624
14625 2014-10-08 Roland McGrath <roland@hack.frob.com>
14626
14627 [BZ #17460]
14628 * nscd/nscd.c (more_help): Rewrite list of tables collection
14629 using xstrdup and asprintf.
14630
14631 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14632
14633 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14634 Roland McGrath <roland@hack.frob.com>
14635
14636 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14637 (do_lookup_unique): ... local function 'enter' here; update callers.
14638
14639 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14640
14641 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14642 compat_symbol calls on [SHARED].
14643 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14644 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14645 Remove.
14646 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14647 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14648 (oldsetrlimit): Remove.
14649 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14651 (lchown): New syscall entry.
14652 (oldsetrlimit): Remove.
14653 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14655 (oldsetrlimit): Remove.
14656 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14657
14658 [BZ #14138]
14659 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14660 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14661 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14662 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14664 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14665 (fchown): Likewise.
14666 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14667 (fchown): Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14669 Likewise.
14670
14671 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14672
14673 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14674 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14675 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14676 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14677 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14678 Likewise.
14679 (__old_sem_post): Likewise.
14680
14681 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14682
14683 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14684 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14685 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14686 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14687 Use INLINE_VSYSCALL macro.
14688 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14689 __vdso_clock_gettime.
14690 * sysdeps/unix/sysv/linux/tile/init-first.c
14691 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14692 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14693 __vdso_clock_gettime.
14694
14695 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14696 to set up frame more cleanly.
14697
14698 * sysdeps/tile/memcmp.c: New file.
14699
14700 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14701
14702 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14703 * sysdeps/tile/tilegx/strcasestr.c: New file.
14704 * sysdeps/tile/tilegx/strnlen.c: New file.
14705 * sysdeps/tile/tilegx/strstr.c: New file.
14706
14707 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14708
14709 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14710
14711 * nptl/tst-setuid3.c: Write errors to stdout.
14712
14713 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14714
14715 * elf/dl-deps.c
14716 (preload): New functions broken out of _dl_map_object_deps.
14717 (_dl_map_object_deps): Remove a nested function. Update call sites.
14718
14719 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #14138]
14722 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14723 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14724
14725 2014-10-01 Steve Ellcey <sellcey@mips.com>
14726
14727 * sysdeps/mips/strcmp.S: New.
14728
14729 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14730
14731 [BZ #14138]
14732 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14733 (linkat): Likewise.
14734 (mkdirat): Likewise.
14735 (readlinkat): Likewise.
14736 (renameat): Likewise.
14737 (symlinkat): Likewise.
14738 (unlinkat): Likewise.
14739 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14740 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14741 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14742 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14743 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14744 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14745 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14746
14747 2014-09-30 Will Newton <will.newton@linaro.org>
14748
14749 * math/math.h: Define long double math functions if
14750 _LIBC_TEST is defined.
14751 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14752
14753 * localedata/Makefile: Move assignment to tests-special
14754 into an ifdef testing run-built-tests.
14755 * timezone/Makefile: Likewise.
14756
14757 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14758
14759 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14760 with $(BASH) not $(SHELL).
14761
14762 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14763 Matthew LeGendre <legendre1@llnl.gov>
14764
14765 [BZ #17411]
14766 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14767 l_reloc_result.
14768
14769 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14770
14771 * stdio-common/printf_fp.c
14772 (hack_digit): New function, broken out of ...
14773 (__printf_fp): ... local function here. Update call sites.
14774 hack_digit now takes an additional parameter that is a pointer
14775 to a struct of the referenced locals. Those locals moved inside
14776 the struct and references updated.
14777
14778 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * aclocal.m4: Require autoconf 2.69.
14781 * configure: Regenerated.
14782 * sysdeps/aarch64/configure: Likewise.
14783 * sysdeps/alpha/configure: Likewise.
14784 * sysdeps/arm/armv7/configure: Likewise.
14785 * sysdeps/arm/configure: Likewise.
14786 * sysdeps/ia64/configure: Likewise.
14787 * sysdeps/mach/configure: Likewise.
14788 * sysdeps/mips/configure: Likewise.
14789 * sysdeps/s390/configure: Likewise.
14790 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14792
14793 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14794 file.
14795 * sysdeps/ia64/configure.ac: Likewise.
14796
14797 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14798
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14800 specify symbol version for ld.so. Do not include entry for
14801 libpthread.
14802 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14803 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14804 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14805
14806 [BZ #14171]
14807 * Makeconfig [$(build-shared) = yes]
14808 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14809 makefiles.
14810 [$(build-shared) = yes && $(soversions.mk-done) = t]
14811 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14812 [$(build-shared) = yes && $(soversions.mk-done) = t]
14813 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14814 to Makerules.
14815 [$(build-shared) = yes && $(soversions.mk-done) = t]
14816 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14817 here.
14818 [$(build-shared) = yes && $(soversions.mk-done) = t]
14819 (common-generated): Don't append gnu/lib-names.h and
14820 gnu/lib-names.stmp here.
14821 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14822 (lib-names-h-abi): New variable.
14823 [$(build-shared) = yes && $(soversions.mk-done) = t]
14824 (lib-names-stmp-abi): Likewise.
14825 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14826 abi-variants] (before-compile): Append
14827 $(common-objpfx)$(lib-names-h-abi).
14828 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14829 abi-variants] (common-generated): Append gnu/lib-names.h.
14830 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14831 abi-variants] (install-others-nosubdir): Depend on
14832 $(inst_includedir)/$(lib-names-h-abi).
14833 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14834 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14835 [$(build-shared) = yes && $(soversions.mk-done) = t]
14836 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14837 [$(build-shared) = yes && $(soversions.mk-done) = t]
14838 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14839 [$(build-shared) = yes && $(soversions.mk-done) = t]
14840 (common-generated): Append $(lib-names-h-abi) and
14841 $(lib-names-stmp-abi).
14842 * scripts/lib-names.awk: Do not handle multi being set.
14843 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14844 Remove variable.
14845 (abi-lp64_be-ld-soname): Likewise.
14846 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14847 Likewise.
14848 (abi-hard-ld-soname): Likewise.
14849 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14850 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14851 Remove variable.
14852 (abi-o32_hard-ld-soname): Likewise.
14853 (abi-o32_soft_2008-ld-soname): Likewise.
14854 (abi-o32_hard_2008-ld-soname): Likewise.
14855 (abi-n32_soft-ld-soname): Likewise.
14856 (abi-n32_hard-ld-soname): Likewise.
14857 (abi-n32_soft_2008-ld-soname): Likewise.
14858 (abi-n32_hard_2008-ld-soname): Likewise.
14859 (abi-n64_soft-ld-soname): Likewise.
14860 (abi-n64_hard-ld-soname): Likewise.
14861 (abi-n64_soft_2008-ld-soname): Likewise.
14862 (abi-n64_hard_2008-ld-soname): Likewise.
14863 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14864 Likewise.
14865 (abi-64-v2-ld-soname): Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14867 ld.so entries.
14868 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14869 variable.
14870 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14871 entry.
14872 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14873 variable.
14874 (abi-64-ld-soname): Likewise.
14875 (abi-x32-ld-soname): Likewise.
14876 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14877 entry.
14878 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14879
14880 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14881
14882 [BZ #14138]
14883 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14884 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14885 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14886 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14887 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14888 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14889 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14890 syscall entry for GLIBC_2.2 symbol version.
14891 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14892 Likewise.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14894 (setrlimit): Likewise.
14895 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14896 Likewise.
14897
14898 2014-09-23 Will Newton <will.newton@linaro.org>
14899
14900 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14901 _LINUX_ARM_SYSDEP_H include guard too.
14902 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14903 define.
14904
14905 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14906
14907 * sysdeps/unix/sysv/linux/eventfd.c:
14908 Make first argument unsigned.
14909 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14910 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14911
14912 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14913
14914 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14915 * socket/sys/socket.h: Likewise
14916 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14917
14918 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14919
14920 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14921
14922 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14923
14924 * time/tst-ftime.c: New test.
14925 * time/Makefile (tests): Add tst-ftime.
14926
14927 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14928
14929 * soft-fp/extended.h: Fix comment formatting.
14930 * soft-fp/op-1.h: Likewise.
14931 * soft-fp/op-2.h: Likewise.
14932 * soft-fp/op-4.h: Likewise.
14933 * soft-fp/op-8.h: Likewise.
14934 * soft-fp/op-common.h: Likewise.
14935 * soft-fp/soft-fp.h: Likewise.
14936
14937 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14938
14939 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14940
14941 [BZ #6652]
14942 * Makeconfig (soversions-default-setname): Remove variable.
14943 ($(common-objpfx)soversions.i): Don't pass default_setname to
14944 soversions.awk.
14945 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14946 oldest_abi to abi-versions.awk.
14947 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14948 * config.make.in (oldest-abi): Remove variable.
14949 * configure.ac (--enable-oldest-abi): Remove configure option.
14950 * configure: Regenerated.
14951 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14952 text.
14953 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14954 * scripts/soversions.awk: Do not handle default_setname variable.
14955 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14956 variable.
14957 * sysdeps/mach/hurd/configure: Regenerated.
14958 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14959 variable.
14960 * sysdeps/unix/sysv/linux/configure: Regenerated.
14961
14962 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14963
14964 * elf/Makefile (CFLAGS-interp.c): Remove.
14965 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14966 path string.
14967 * elf/interp.c: Include generated runtime-linker.h
14968
14969 * Makerules (lib%.so): Don't include $(+interp) in
14970 prerequisites.
14971 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14972 * dlfcn/eval.c: Remove file.
14973
14974 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14975 macros.
14976
14977 [BZ #17266]
14978 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14979 4.2 and newer.
14980
14981 [BZ #17370]
14982 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14983
14984 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14985 Jakub Jelinek <jakub@redhat.com>
14986
14987 [BZ #17266]
14988 * libio/stdio.h: Check definition of __fortify_function
14989 instead of __extern_always_inline to include bits/stdio2.h.
14990 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14991 check if __extern_always_inline is defined.
14992 [__USE_MISC || __USE_XOPEN]: Likewise.
14993 [__USE_ISOC99] Likewise.
14994 * misc/sys/cdefs.h (__fortify_function): Define only if
14995 __extern_always_inline is defined.
14996 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14997 __extern_always_inline and __extern_inline only for g++-4.3
14998 and newer or a compatible gcc.
14999
15000 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15001
15002 [BZ #17371]
15003 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15004 last change to handle zero prefix length.
15005
15006 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15007
15008 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15009 _SC_REGEX_VERSION.
15010
15011 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15012 _POSIX_RAW_SOCKETS.
15013
15014 2014-09-13 Allan McRae <allan@archlinux.org>
15015
15016 * po/ru.po: Update Russian translation from translation project.
15017
15018 2014-09-12 Roland McGrath <roland@hack.frob.com>
15019
15020 * locale/programs/locale.c (show_locale_vars): Inline local function
15021 into its sole call site. Clean up some style nits.
15022 (print_item): New function, broken out of ...
15023 (show_info): ... local function here. Clean up style nits.
15024
15025 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15026 out of ...
15027 (set_class_defaults): ... local function set_default here.
15028 Define set_default as a macro locally to pass constant parameters.
15029 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15030 rather than a shared local.
15031
15032 * stdlib/rpmatch.c (try): New function, broken out of ...
15033 (rpmatch): ... local function here. Also, prototypify definition.
15034
15035 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15036
15037 * scripts/soversions.awk: Do not handle configuration names.
15038 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15039 vendor and os variables to soversions.awk.
15040 * configure.ac: Do not modify gnu-* host_os.
15041 * configure: Regenerated
15042 * shlib-versions: Remove first column with configuration names.
15043 * nptl/shlib-versions: Likewise.
15044 * nptl_db/shlib-versions: Likewise.
15045 * sysdeps/hppa/shlib-versions: Likewise.
15046 * sysdeps/m68k/shlib-versions: Likewise.
15047 * sysdeps/mach/hurd/shlib-versions: Likewise.
15048 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15049 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15050 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15051 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15052 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15053 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15054 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15055 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15057 Likewise.
15058 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15059 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15060 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15061 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15063 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15064 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15065 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15066
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15068 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15070 Regenerated.
15071 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15073 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15074
15075 * shlib-versions: Remove OS-specific entries. Moved to files in
15076 sysdeps.
15077 * sysdeps/mach/hurd/shlib-versions: New file.
15078 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15079
15080 * nptl/shlib-versions: Remove architecture-specific entries.
15081 Moved to files in sysdeps.
15082 * shlib-versions: Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15084 file.
15085 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15086 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15087 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15089
15090 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15091 (UDP_NO_CHECK6_RX): Likewise.
15092
15093 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15094
15095 * sysdeps/posix/sysconf.c (__sysconf): Spell
15096 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15097
15098 2014-08-12 Florian Weimer <fweimer@redhat.com>
15099
15100 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15101 loading.
15102 * iconv/Versions (__gconv_transliterate): Export for use from
15103 gconv modules.
15104 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15105 (struct __gconv_trans_data, __gconv_trans_fct,
15106 __gconv_trans_context_fct, __gconv_trans_query_fct,
15107 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15108 definitions.
15109 (struct __gconv_step_data): Remove __trans member.
15110 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15111 longer hidden. Remove unused trans_data argument.
15112 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15113 (__gconv_translit_find): Remove declaration.
15114 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15115 prototype.
15116 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15117 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15118 trans_data argument. Add hidden definition.
15119 (__gconv_translit_find): Remove.
15120 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15121 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15122 * iconv/skeleton.c: Remove transliteration initialization.
15123 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15124 __gconv_step_data initialization.
15125 * libio/iofwide.c (__libio_translit_): Remove.
15126 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15127 * wcsmbs/btowc.c (__btowc): Likewise.
15128 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15129 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15130 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15131 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15132 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15133 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15134 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15135 * wcsmbs/wctob.c (wctob): Likewise.
15136
15137 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15138
15139 [BZ #16194]
15140 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15141 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15142 register usage.
15143 * sysdeps/x86/Makefile: Adjust.
15144
15145 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15146 Roland McGrath <roland@hack.frob.com>
15147
15148 * locale/weight.h: Add include guard.
15149 (findidx): Make static rather than auto; take new parameters
15150 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15151 * locale/weightwc.h: Likewise.
15152 * posix/fnmatch_loop.c
15153 (FCT): Change type of EXTRA from int32_t to wint_t.
15154 Don't include either header inside the function.
15155 Call FINDIDX rather than findidx, and pass new arguments.
15156 #undef FINDIDX at the end of the file.
15157 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15158 FINDIDX before including fnmatch_loop.c for the non-wide version.
15159 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15160 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15161 for the wide version.
15162 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15163 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15164 Pass new arguments to findidx.
15165 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15166 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15167 Don't #include it inside the function. Pass new arguments to findidx.
15168 * posix/regex_internal.h
15169 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15170 (re_string_elem_size_at): Don't #include it inside the function.
15171 Pass new arguments to findidx.
15172 * string/strcoll_l.c: #include WEIGHT_H at top level.
15173 (get_next_seq): Don't #include it inside the function.
15174 Pass new arguments to findidx.
15175 (get_next_seq_nocache): Likewise.
15176 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15177 (STRXFRM): Don't #include it inside the function.
15178 Pass new arguments to findidx.
15179
15180 2014-09-11 Florian Weimer <fweimer@redhat.com>
15181
15182 [BZ #17344]
15183 * malloc/malloc.c (unlink): Turn asserts into a call to
15184 malloc_printerr.
15185
15186 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15187
15188 [BZ #17370]
15189 * libio/wfileops (do_ftell_wide): Free OUT.
15190
15191 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15192
15193 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15194
15195 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15196
15197 [BZ #17363]
15198 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15199 group if the current group is empty.
15200
15201 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15202
15203 * benchtests/bench-memset.c (test_main): Add more test from size
15204 from 32 to 512 bytes.
15205 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15206 Add POWER8 memset object.
15207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15208 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15209 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15210 implementation.
15211 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15212 Likewise.
15213 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15214 multiarch POWER8 memset optimization.
15215 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15216 POWER8 memset optimization.
15217
15218 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15219 Remove bzero multiarch objects.
15220 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15221 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15222 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15223 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15224 Remove define.
15225 [__bzero]: Redefine to specific name.
15226 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15227 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15228 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15229 define.
15230 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15231 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15232
15233 2014-09-10 Florian Weimer <fweimer@redhat.com>
15234
15235 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15236 warnings into errors.
15237
15238 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15239 __cxa_thread_atexit_impl prototype.
15240
15241 2014-09-09 Steve Ellcey <sellcey@mips.com>
15242
15243 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15244 Fix capitalization of error message.
15245
15246 2014-09-09 Steve Ellcey <sellcey@mips.com>
15247
15248 * sysdeps/mips/preconfigure: Modify ABI tests.
15249
15250 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15251
15252 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15253
15254 2014-09-07 Roland McGrath <roland@hack.frob.com>
15255 Carlos O'Donell <carlos@systemhalted.org>
15256
15257 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15258 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15259 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15260 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15261 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15262 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15263 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15264 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15265 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15266 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15267 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15268 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15269 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15270 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15271 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15272 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15273 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15274 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15275 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15276 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15277 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15278 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15279 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15280 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15281 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15282 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15283 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15284 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15285 Deconditionalize the code that was previously under [RESET_PID].
15286 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15287 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15288 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15289 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15290 include sysdep.h.
15291
15292 2014-09-08 Allan McRae <allan@archlinux.org>
15293
15294 * version.h (RELEASE): Set to "development".
15295 (VERSION): Set to "2.20.90"
15296
15297 2014-09-07 Allan McRae <allan@archlinux.org
15298
15299 * version.h (RELEASE): Set to "stable".
15300 (VERSION): Set to "2.20"
15301 * include/features.h (__GLIBC_MINOR__): Set to 20.
15302
15303 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15304 Liebler.
15305
15306 * po/ko.po: Update Korean translation from translation project.
15307
15308 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15309
15310 [BZ #17354]
15311 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15312 macro for handling signed relocations.
15313
15314 2014-09-03 Florian Weimer <fweimer@redhat.com>
15315
15316 [BZ #17325]
15317 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15318 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15319 assert.
15320 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15321 * iconvdata/ibm935.c (BODY): Likewise.
15322 * iconvdata/ibm937.c (BODY): Likewise.
15323 * iconvdata/ibm939.c (BODY): Likewise.
15324 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15325 assert.
15326 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15327 script.
15328 * iconvdata/run-iconv-test.sh: New test loop for checking for
15329 decoder crashers.
15330
15331 2014-09-02 Khem Raj <raj.khem@gmail.com>
15332
15333 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15334 libm_hidden_ver.
15335
15336 2014-09-01 Allan McRae <allan@archlinux.org>
15337
15338 * po/eo.po: Update Esperanto translation from translation project.
15339
15340 * po/ca.po: Update Catalan translation from translation project.
15341
15342 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343
15344 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15345 __proc_dostop call.
15346
15347 2014-08-27 Mark Wielaard <mjw@redhat.com>
15348
15349 [BZ #17319]
15350 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15351 to call set_thread_area instead of hand written asm.
15352 (__NR_set_thread_area): Removed define.
15353 (TLS_FLAG_WRITABLE): Likewise.
15354 (__ASSUME_SET_THREAD_AREA): Remove check.
15355 (TLS_EBX_ARG): Remove define.
15356 (TLS_LOAD_EBX): Likewise.
15357
15358 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15359
15360 Simplify atomicity of socket creation in bind.
15361
15362 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15363 looking up the name after linking the file.
15364
15365 2014-08-27 Allan McRae <allan@archlinux.org>
15366
15367 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15368
15369 2014-08-26 Florian Weimer <fweimer@redhat.com>
15370
15371 [BZ #17187]
15372 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15373 trans_compare, open_translit, __gconv_translit_find):
15374 Remove module loading code.
15375
15376 2014-08-26 Allan McRae <allan@archlinux.org>
15377
15378 * po/vi.po: Update Vietnamese translation from translation project.
15379
15380 * po/uk.po: Update Ukrainian translation from translation project.
15381
15382 * po/fr.po: Update French translation from translation project.
15383
15384 * po/ru.po: Update Russian translation from translation project.
15385
15386 * po/pl.po: Update Polish translation from translation project.
15387
15388 * po/cs.po: Update Czech translation from translation project.
15389
15390 * po/de.po: Update German translation from translation project.
15391
15392 * po/bg.po: Update Bulgarian translation from translation project.
15393
15394 * po/sv.po: Update Sweedish translation from translation project.
15395
15396 * po/nl.po: Update Dutch translation from translation project.
15397
15398 * po/es.po: Update Spanish translation from translation project.
15399
15400 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15401
15402 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15403
15404 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15405 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15406 (CPPFLAGS-iconvconfig): Likewise.
15407 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15408
15409 * include/libc-symbols.h: Remove unnecessary check for
15410 NOT_IN_libc.
15411 * nptl/pthreadP.h: Likewise.
15412 * sysdeps/aarch64/setjmp.S: Likewise.
15413 * sysdeps/alpha/setjmp.S: Likewise.
15414 * sysdeps/arm/sysdep.h: Likewise.
15415 * sysdeps/i386/setjmp.S: Likewise.
15416 * sysdeps/m68k/setjmp.c: Likewise.
15417 * sysdeps/posix/getcwd.c: Likewise.
15418 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15420 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15421 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15422 * sysdeps/sh/sh3/setjmp.S: Likewise.
15423 * sysdeps/sh/sh4/setjmp.S: Likewise.
15424 * sysdeps/unix/alpha/sysdep.h: Likewise.
15425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15427 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15428 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15433 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15436 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15438 * sysdeps/x86_64/setjmp.S: Likewise.
15439
15440 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15441
15442 [BZ #17263]
15443 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15444 <stdint.h>.
15445 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15446 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15447
15448 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15449
15450 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15451
15452 [BZ #17262]
15453 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15454 and __x86_64__ when disabling x87 inline functions.
15455
15456 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15457
15458 [BZ #17259]
15459 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15460 asm statement with __cpuid_count.
15461
15462 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15463
15464 * configure.ac: Change __ehdr_start code to dereference the struct.
15465 Run readelf on the output to look for relocations.
15466 * configure: Regenerated.
15467
15468 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15469
15470 [BZ #17261]
15471 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15472 value to 0.
15473 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15474
15475 2014-08-12 Roland McGrath <roland@hack.frob.com>
15476
15477 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15478
15479 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15480
15481 [BZ #16892]
15482 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15483 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15484
15485 2014-08-12 Sean Anderson <seanga2@gmail.com>
15486
15487 * malloc/malloc.c: Fix typo in comment.
15488
15489 2014-08-09 Allan McRae <allan@archlinux.org>
15490
15491 * Regenerate libc.po.
15492
15493 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15494
15495 * intl/tst-gettext2.sh: Check every lang file for creation.
15496
15497 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15498
15499 * sysdeps/aarch64/fpu/math_private.h
15500 (libc_feholdsetround_noex_aarch64_ctx): New function.
15501
15502 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15503
15504 * sysdeps/arm/armv6/strcpy.S (strcpy):
15505 Fix performance issue in misaligned cases.
15506
15507 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15508
15509 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15510 Move definition from termios.h.
15511 (struct termio): Likewise.
15512 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15513 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15514 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15515 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15516 Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15518 Move definition to ioctl-types.h
15519 (struct termio): Likewise.
15520 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15521 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15522 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15523 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15524 Likewise.
15525
15526 2014-08-05 Richard Henderson <rth@redhat.com>
15527
15528 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15529 exceptions.
15530 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15531 Add fraiseexcpt.
15532 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15533 Use __feraiseexcept.
15534 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15535 Protect libm symbols with IS_IN_libm.
15536
15537 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15538
15539 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15540
15541 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15542
15543 2014-08-04 Will Newton <will.newton@linaro.org>
15544
15545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15546 file.
15547
15548 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15549
15550 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15551 variants for each function.
15552
15553 2014-08-04 Roland McGrath <roland@hack.frob.com>
15554
15555 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15556 appended ...
15557 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15558 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15559 appended ...
15560 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15561 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15562 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15563 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15564 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15565 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15566 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15567 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15568 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15569 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15570 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15571 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15572 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15574 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15575 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15576 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15577 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15578 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15580 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15581 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15582 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15583 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15584 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15585 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15586 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15587 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15588 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15589 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15590 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15591 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15592 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15593 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15594 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15595 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15596 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15597 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15598 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15599 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15600 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15601 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15602 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15603 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15604 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15605 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15606 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15608 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15610 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15611 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15612 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15613 Update #include.
15614 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15615 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15616
15617 2014-08-04 Roland McGrath <roland@hack.frob.com>
15618
15619 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15620 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15621 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15622 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15623 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15624 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15625
15626 2014-08-04 Roland McGrath <roland@hack.frob.com>
15627
15628 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15629 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15630 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15631 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15632
15633 2014-08-04 Roland McGrath <roland@hack.frob.com>
15634
15635 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15636 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15637 (__libc_vfork): Define function under this name.
15638 (__vfork): Define as an alias.
15639 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15640 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15641
15642 2014-08-04 Roland McGrath <roland@hack.frob.com>
15643
15644 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15645 that was previously under [RESET_PID].
15646 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15647
15648 2014-08-04 Andreas Schwab <schwab@suse.de>
15649
15650 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15651
15652 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15653
15654 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15655 (main): Likewise.
15656
15657 2014-08-01 Roland McGrath <roland@hack.frob.com>
15658
15659 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15660
15661 2014-08-01 Richard Henderon <rth@redhat.com>
15662
15663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15664 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15665 typo in exact zero test.
15666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15668 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15669
15670 2014-08-01 Roland McGrath <roland@hack.frob.com>
15671
15672 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15673 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15674 * sysdeps/arm/sysdep.h: ... here.
15675 [!__ASSEMBLER__]: Include <stdint.h>.
15676
15677 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15678
15679 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15680 (HAVE_WCTYPE_H): Likewise.
15681 (HAVE_ISWCTYPE): Likewise.
15682 (ENABLE_NLS): Likewise.
15683 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15684 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15685
15686 * posix/regex_internal.c: Check if DEBUG is defined and is
15687 set.
15688
15689 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15690 (HAVE_MBSRTOWCS): Likewise.
15691 * posix/fnmatch.c: Include string.h unconditionally.
15692
15693 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15694
15695 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15696 reversal.
15697
15698 2014-07-31 Roland McGrath <roland@hack.frob.com>
15699
15700 * sysdeps/generic/safe-fatal.h: New file.
15701 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15702 * nptl/forward.c: Include it.
15703 (__pthread_unwind): Use __safe_fatal as default action, rather
15704 than a bogus use of INTERNAL_SYSCALL that could never work.
15705
15706 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15707 * configure.ac (libc_cv_builtin_trap): New test.
15708 * configure: Regenerated.
15709 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15710 (ABORT_INSTRUCTION): Define using __builtin_trap.
15711
15712 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15713 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15714 * sysdeps/nptl/nptl-signals.h: New file.
15715 * nptl/pthreadP.h: Include <nptl-signals.h>.
15716
15717 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15718
15719 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15720 (ONE_DIRECTION): Define.
15721 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15722 (ONE_DIRECTION): Define.
15723 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15724 (ONE_DIRECTION): Define.
15725
15726 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15727
15728 * sysdeps/s390/Makefile: Delete file.
15729 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15730 * sysdeps/s390/__longjmp.c: Delete file.
15731 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15732 Remove fields __flags and __reserved.
15733 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15734 and add versioning.
15735 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15736 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15737 * sysdeps/s390/rtld-setjmp.S: Likewise.
15738 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15739 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15740 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15741 * sysdeps/s390/s390-32/setjmp.S: ... here.
15742 Add versioning.
15743 (__sigsetjmp): Remove setting __flags field.
15744 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15745 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15746 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15747 * sysdeps/s390/s390-64/setjmp.S: ... here.
15748 Add versioning.
15749 (__sigsetjmp): Remove setting __flags field.
15750 * sysdeps/s390/setjmp.S: Delete file.
15751 * sysdeps/s390/sigjmp.c: Likewise.
15752 * sysdeps/s390/v1-longjmp.c: Likewise.
15753 * sysdeps/s390/v1-setjmp.h: Likewise.
15754 * sysdeps/s390/v1-sigjmp.c: Likewise.
15755 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15756 Remove v1-longjmp_chk.
15757 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15758 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15759 Include debug/longjmp_chk.c and add versioning.
15760 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15761 Include nptl/pt-longjmp.c and add versioning.
15762 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15763 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15764 Include __longjmp.c.
15765 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15766 Move to ...
15767 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15768 (__getcontext): Remove setting __flags field.
15769 Add versioning.
15770 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15771 Don't restore upper high grps.
15772 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15773 Likewise.
15774 (__swapcontext): Remove setting uc_flags field.
15775 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15776 Delete file.
15777 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15778 Include __longjmp.c.
15779 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15780 Move to ...
15781 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15782 (__getcontext): Remove setting __flags field.
15783 Add versioning.
15784 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15785 (__swapcontext): Remove setting uc_flags field.
15786 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15788 Remove fields uc_high_gprs and __reserved.
15789 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15790 New file with reverted content.
15791 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15792 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15793 Regenerated.
15794 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15795 Regenerated.
15796
15797 2014-07-31 Andreas Schwab <schwab@suse.de>
15798
15799 * config.h.in (HAVE_IFUNC): Define to 0.
15800 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15801 definedness.
15802
15803 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15804
15805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15806 memmove-avx-unaligned, memcpy-avx-unaligned and
15807 mempcpy-avx-unaligned.
15808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15809 Add tests for AVX memcpy functions.
15810 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15811 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15812 memcpy_chk.
15813 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15814 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15815 memmove_chk.
15816 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15817 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15818 mempcpy_chk.
15819 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15820 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15821 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15822
15823 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824
15825 [BZ #17213]
15826 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15827 powerpc64le.
15828
15829 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15830
15831 [BZ #16839]
15832 * manual/llio.texi: Add section about open file description locks.
15833 * manual/examples/ofdlocks.c: Example of open file description
15834 lock usage.
15835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15836 F_OFD_SETLK, and F_OFD_SETLKW.
15837
15838 2014-07-23 Allan McRae <allan@archlinux.org>
15839
15840 * po/es.po: Update Spanish translation from translation project.
15841
15842 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15843
15844 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15845
15846 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15847
15848 [BZ #17078]
15849 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15850 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15851 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15852
15853 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15854
15855 [BZ #17088]
15856 * math/fesetenv.c (__fesetenv)
15857 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15858 * math/feupdateenv.c (__feupdateenv)
15859 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15860
15861 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15862 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15863 (__ASSUME_SOCKETCALL): Do not define.
15864
15865 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15866 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15867 (__ASSUME_SOCKETCALL): Do not define.
15868 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15869 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15870 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15871 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15872 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15873 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15874 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15875 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15876
15877 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15878 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15879 (__ASSUME_SOCKETCALL): Do not define.
15880 (__ASSUME_IPC64): Define unconditionally.
15881 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15882 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15883 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15884 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15885 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15886 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15887 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15888 Likewise.
15889
15890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15891 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15892 (__ASSUME_SOCKETCALL): Do not define.
15893 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15894 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15895 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15896 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15897 (__ASSUME_REQUEUE_PI): Define unconditionally.
15898 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15899 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15900 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15901 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15902 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15903 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15904
15905 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15906 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15907 (__ASSUME_SOCKETCALL): Do not define.
15908 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15909 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15910 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15911 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15912 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15913 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15914
15915 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15916 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15917 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15918 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15919 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15920 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15921 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15922 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15923 (__ASSUME_GETCPU_SYSCALL): Likewise.
15924
15925 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15926 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15927 cases for individual architectures.
15928 * sysdeps/gnu/configure: Regenerated.
15929 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15930 LIBC_SLIBDIR_RTLDDIR.
15931 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15932 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15933 LIBC_SLIBDIR_RTLDDIR.
15934 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15936 LIBC_SLIBDIR_RTLDDIR.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15938 Regenerated.
15939 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15940 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15941 file.
15942 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15943 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15944 file.
15945 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15946 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15947 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15949
15950 * sysdeps/aarch64/shlib-versions: Move to ...
15951 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15952 * sysdeps/alpha/shlib-versions: Move to ...
15953 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15954 * sysdeps/arm/shlib-versions: Move to ...
15955 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15956 * sysdeps/hppa/shlib-versions: Move all contents except for
15957 libgcc_s entry to ...
15958 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15959 entry from ...
15960 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15961 * sysdeps/ia64/shlib-versions: Move to ...
15962 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15963 entry from ...
15964 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15965 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15966 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15967 * sysdeps/microblaze/shlib-versions: Move to ...
15968 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15969 * sysdeps/mips/shlib-versions: Move to ...
15970 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15971 entry from ...
15972 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15973 * sysdeps/tile/shlib-versions: Move to ...
15974 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15975 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15976 from ...
15977 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15978 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15979 entry from ...
15980 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15981
15982 2014-07-17 Will Newton <will.newton@linaro.org>
15983
15984 * sysdeps/arm/bits/atomic.h
15985 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15986 (__arch_compare_and_exchange_bool_16_int): Likewise.
15987 (__arch_compare_and_exchange_bool_64_int): Likewise.
15988
15989 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15990 into an #else block.
15991
15992 2014-07-16 Roland McGrath <roland@hack.frob.com>
15993
15994 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15995 just Linux configurations. Test empirically that the compiler sets
15996 __ARM_EABI__, rather than using the tuple to decide.
15997 * sysdeps/arm/preconfigure: Regenerated.
15998 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15999 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16000 contents appended ...
16001 * sysdeps/arm/configure.ac: ... here.
16002 * sysdeps/arm/configure: Regenerated.
16003
16004 2014-07-15 Roland McGrath <roland@hack.frob.com>
16005
16006 * nptl/pthread_kill.c: New file.
16007 * nptl/pthread_sigmask.c: New file.
16008 * nptl/pthread_sigqueue.c: New file.
16009
16010 * sysdeps/nptl/lowlevellock.h: New file.
16011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16012 * sysdeps/nptl/lowlevellock-futex.h: New file.
16013
16014 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16015 Remove dead declarations.
16016
16017 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16018
16019 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16020 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16021 config-cflags-avx2.
16022 * sysdeps/x86_64/configure.ac: Likewise.
16023 * sysdeps/i386/configure: Regenerated.
16024 * sysdeps/x86_64/configure: Likewise.
16025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16026 memset-avx2 only if config-cflags-avx2 is yes.
16027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16028 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16029 defined.
16030 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16031 only if HAVE_AVX2_SUPPORT is defined.
16032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16033
16034 2014-07-14 Alan Modra <amodra@gmail.com>
16035
16036 [BZ #17153]
16037 * elf/elf.h (DT_PPC64_NUM): Correct value.
16038 * NEWS: Add to fixed bug list.
16039
16040 2014-07-13 Jim Meyering <meyering@fb.com>
16041
16042 [BZ 17150]
16043 regex: don't deref NULL upon heap allocation failure
16044 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16045 failure in one more place.
16046 To trigger the segfault, configure grep -with-included-regex,
16047 build it, and run these commands:
16048 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16049
16050 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16051
16052 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16053
16054 2014-07-11 Richard Henderson <rth@redhat.com>
16055
16056 * sysdeps/aarch64/libm-test-ulps: Update.
16057
16058 2014-07-10 Florian Weimer <fweimer@redhat.com>
16059
16060 [BZ #17135]
16061 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16062 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16063 (__nptl_setxid): Initialize error member. Call
16064 __nptl_setxid_error.
16065 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16066 * nptl/descr.h (struct xid_command): Add error member.
16067 * nptl/tst-setuid3.c: New file.
16068 * nptl/Makefile (tests): Add it.
16069
16070 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16071
16072 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16073 New define.
16074 (__lll_trylock): Use __lll_base_trylock.
16075 (__lll_cond_trylock): Likewise.
16076
16077 2014-07-10 Roland McGrath <roland@hack.frob.com>
16078
16079 * nptl/pthread_create.c (start_thread): Use atomic_or and
16080 lll_futex_wake directly rather than lll_robust_dead.
16081 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16082 (lll_robust_dead): Macro removed.
16083 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16084 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16085 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16086 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16087 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16088 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16089 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16090 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16091 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16093 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16094 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16095 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16096 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16097 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16098
16099 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16100 Use atomic_compare_and_exchange_val_acq directly rather than
16101 lll_robust_trylock.
16102 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16103 (__lll_robust_trylock, lll_robust_trylock): Removed.
16104 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16105 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16106 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16107 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16108 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16109 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16110 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16111 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16112 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16114 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16115 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16116 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16118
16119 2014-07-02 Florian Weimer <fweimer@redhat.com>
16120
16121 * manual/locale.texi (Locale Names): New section documenting
16122 locale name syntax. Adjust menu and node chaining accordingly.
16123 (Choosing Locale): Reference Locale Names, Locale Categories.
16124 Mention setting LC_ALL=C. Reflect that name syntax is now
16125 documented.
16126 (Locale Categories): New section title. Reference Locale Names.
16127 LC_ALL is an environment variable, but not a category.
16128 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16129 description, now in Locale Name. Reference that section. Locale
16130 name syntax is now documented.
16131
16132 2014-07-02 Florian Weimer <fweimer@redhat.com>
16133
16134 [BZ #17137]
16135 * locale/findlocale.c (name_present, valid_locale_name): New
16136 functions.
16137 (_nl_find_locale): Use the loc_name variable to store name
16138 candidates. Call name_present and valid_locale_name to check and
16139 validate locale names. Return an error if the locale is invalid.
16140
16141 2014-07-02 Florian Weimer <fweimer@redhat.com>
16142
16143 * locale/setlocale.c (setlocale): Use strdup for allocating
16144 composite name copy.
16145
16146 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16147
16148 Sync up with gnulib.
16149 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16150 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16151 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16152 and _GL_ARG_NONNULL.
16153 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16154 [!_LIBC]: Include code for Windows and Cygwin.
16155 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16156 Include prototype for int strerror_r.
16157 [!_LIBC] (is_open): New function.
16158 (flush_stdout): New function.
16159 (print_errno_message): Use it.
16160 (error): Likewise.
16161 (error_at_line): Likewise.
16162 (error_tail) Add function attribute macros. Use
16163 __builtin_expect.
16164
16165 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16166
16167 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16168
16169 * io/ftw.c: Include sys/param.h unconditionally.
16170
16171 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16172
16173 [BZ #17125]
16174 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16175 libc_freeres_ptr.
16176 (freecache): New function to free CACHE on exit.
16177
16178 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16179 initialization.
16180
16181 2014-07-09 David S. Miller <davem@davemloft.net>
16182
16183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16184
16185 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16186 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16187 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16188 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16189 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16190 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16191 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16192 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16193 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16194 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16195 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16196 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16197 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16198
16199 2014-07-09 Andreas Schwab <schwab@suse.de>
16200
16201 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16202 output.
16203 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16204 (do_test): Likewise.
16205
16206 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16207
16208 2014-07-09 Will Newton <will.newton@linaro.org>
16209
16210 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16211 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16212 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16213 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16214 * sysdeps/hppa/start.S (_start): Likewise.
16215
16216 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16217
16218 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16219
16220 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16221 defined.
16222
16223 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16224
16225 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16226 after checking that it is non-NULL.
16227
16228 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16229
16230 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16231
16232 * sysdeps/powerpc/memmove.c: Remove file.
16233 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16234 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16235 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16236 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16237 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16238 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16239 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16240 string memmove instead of removed powerpc one.
16241
16242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16243 [weak_alias]: Fix compiler warning due trailing data.
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16245 [weak_alias]: Likewise.
16246 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16247 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16248
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16250 (__libc_ifunc_impl_list): Add memmove functions.
16251
16252 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16253
16254 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16255 Remove code.
16256 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16257 Likewise
16258 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16259 Likewise
16260 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16261 Likewise
16262 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16263 Likewise
16264 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16265 Likewise
16266 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16267 Likewise
16268 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16269 Likewise
16270 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16271 Likewise
16272 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16273 Likewise
16274 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16275 Likewise
16276 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16277 Likewise
16278 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16279 Likewise
16280 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16281 Likewise
16282 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16283 Likewise
16284 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16285 Likewise
16286 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16287 Likewise
16288
16289 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290
16291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16292 to avoid alignment traps in non-cacheable memory.
16293 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16294
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16296 multiarch objects.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16298 file: multiarch power7 memmove.
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16300 multiarch default memmove.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16302 multiarch memove for powerpc32/power4.
16303
16304 * string/bcopy.c: Use full path to include memmove.c.
16305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16306 multiarch objects.
16307 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16308 bcopy for powerpc64.
16309 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16310 bcopy for powerpc64.
16311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16312 and memmove implementations.
16313 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16314 optimized multiarch memmove for POWER7/powerpc64.
16315 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16316 default multiarch memmove for powerpc64.
16317 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16318 multiarch for powerpc64.
16319 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16320 for POWER7/powerpc64.
16321 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16322 memmove for POWER7/powerpc64.
16323
16324 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16325 glibc default one.
16326
16327 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16328 __ELF_NATIVE_CLASS equal to 64.
16329
16330 2014-07-07 Roland McGrath <roland@hack.frob.com>
16331
16332 * sysdeps/nptl/lowlevellock.h: File removed.
16333
16334 * NEWS: NPTL is no longer an add-on!
16335 * nptl/internaltypes.h: Moved ...
16336 * sysdeps/nptl/internaltypes.h: ... here.
16337 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16338 * sysdeps/nptl/fork.c: Likewise.
16339 * sysdeps/nptl/gai_misc.h: Likewise.
16340 * sysdeps/nptl/librt-cancellation.c: Likewise.
16341 * sysdeps/nptl/jmp-unwind.c: Likewise.
16342 * sysdeps/nptl/setxid.h: Likewise.
16343 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16344 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16345 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16346 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16347 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16348 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16349 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16350 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16351 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16352 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16353 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16354 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16355 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16356 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16357 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16358 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16359 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16360 * nptl/Makeconfig: Moved ...
16361 * sysdeps/nptl/Makeconfig: ... here.
16362 * nptl/configure: File removed.
16363 * nptl/ANNOUNCE: File removed.
16364 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16365 * sysdeps/unix/sysv/linux/configure: Regenerated.
16366
16367 * nptl/Makefile (routines): Add libc_pthread_init,
16368 libc_multiple_threads, register-atfork and unregister-atfork.
16369 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16370 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16371 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16372 pthread-pi-defines.sym, structsem.sym.
16373 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16374 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16375 [$(subdir) = nptl] (tests): Add tst-setgetname.
16376 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16377 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16378 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16379 [!LIBC_SIGACTION]: Remove aliases.
16380 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16381 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16382 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16383 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16384 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16385 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16389 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16390 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16391 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16392 __libc_allocate_rtsig_private.
16393 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16395 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16396 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16397 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16398 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16399 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16400 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16401 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16402 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16403 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16404 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16405 * nptl/internaltypes.h: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16407 * sysdeps/nptl/jmp-unwind.c: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16409 * nptl/libc-lowlevellock.c: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16411 * nptl/libc_multiple_threads.c: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16413 * nptl/libc_pthread_init.c: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16415 * nptl/lowlevelbarrier.sym: ... here.
16416 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16417 * nptl/lowlevelcond.sym: ... here.
16418 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16419 * nptl/lowlevellock.c: ... here.
16420 * nptl/lowlevellock.h: Moved ...
16421 * sysdeps/nptl/lowlevellock.h: ... here.
16422 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16423 * nptl/lowlevelrobustlock.c: ... here.
16424 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16425 * nptl/lowlevelrobustlock.sym: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16427 * nptl/lowlevelrwlock.sym: ... here.
16428 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16429 * nptl/pt-fork.c: ... here.
16430 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16431 * nptl/pthread-pi-defines.sym: ... here.
16432 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16433 * nptl/pthread_attr_getaffinity.c: ... here.
16434 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16435 * nptl/pthread_attr_setaffinity.c: ... here.
16436 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16437 * nptl/pthread_mutex_cond_lock.c: ... here.
16438 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16439 Update #include.
16440 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16441 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16442 * nptl/pthread_once.c: ... here, replacing old file.
16443 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16444 * nptl/pthread_yield.c: ... here.
16445 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16446 * nptl/register-atfork.c: ... here.
16447 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16448 * nptl/sem_post.c: ... here.
16449 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16450 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16451 * nptl/sem_timedwait.c: ... here.
16452 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16453 * nptl/sem_trywait.c: ... here.
16454 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16455 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16456 * nptl/sem_wait.c: ... here.
16457 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16458 * nptl/structsem.sym: ... here.
16459 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16460 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16461 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16462 * nptl/unregister-atfork.c: ... here.
16463 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16464 * nptl/unwindbuf.sym: ... here.
16465 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16466 * sysdeps/nptl/fork.c: ... here.
16467 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16468 * sysdeps/nptl/fork.h: ... here.
16469 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16470 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16471 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16472 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16473 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16474 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16475 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16476 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16477 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16478 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16479 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16480 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16481 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16482 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16483 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16484 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16485 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16486 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16487 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16488 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16489 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16490 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16491 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16492 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16493 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16494 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16495 * sysdeps/unix/sysv/linux/raise.c: ... here.
16496 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16497 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16498 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16499 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16500 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16501 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16502 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16503 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16504 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16505 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16506 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16507 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16508 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16509 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16510 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16511
16512 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16513
16514 * sysdeps/generic/memcopy.h: Add comment for
16515 MEMCPY_OK_FOR_FWD_MEMMOVE.
16516
16517 2014-07-04 Will Newton <will.newton@linaro.org>
16518
16519 * string/memchr.c: Merge from gnulib.
16520 [_LIBC]: Remove conditionals.
16521 (__ptr_t): Remove define.
16522 (LONG_MAX_32_BITS): Likewise.
16523 (LONG_MAX): Likewise.
16524 (MEMCHR): Use ANSI prototype and optimize algorithm.
16525
16526 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16527
16528 2014-07-03 Roland McGrath <roland@hack.frob.com>
16529
16530 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16531 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16532
16533 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16534 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16535 in a bare environment with no <stdlib.h> installed.
16536 * sysdeps/nptl/configure: Regenerated.
16537
16538 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16539
16540 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16541 AC_EGREP_CPP for kernel header checks, so they only succeed if
16542 including <linux/version.h> actually works right.
16543 * sysdeps/unix/sysv/linux/configure: Regenerated.
16544
16545 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16546 value so it's not diagnosed as unused.
16547
16548 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16549 thing) with "ifeq ($(subdir),rt)".
16550
16551 2014-07-03 Richard Henderson <rth@redhat.com>
16552
16553 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16554 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16555 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16556
16557 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16558 (math_force_eval): New.
16559
16560 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16561 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16562
16563 * sysdeps/alpha/fpu/s_round.c: Remove file.
16564 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16565
16566 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16567 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16568 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16569 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16570 (_dl_start, print_statistics): Likewise.
16571 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16572 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16573
16574 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16575 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16576 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16577 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16579 (HP_SMALL_TIMING_AVAIL): Define.
16580 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16582 (HP_SMALL_TIMING_AVAIL): Define.
16583 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16584 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16585
16586 * sysdeps/aarch64/hp-timing.h: New file.
16587
16588 * sysdeps/generic/hp-timing.h: Remove dead comment.
16589 * sysdeps/generic/hp-timing-common.h: New file.
16590 * sysdeps/alpha/hp-timing.h: Include it.
16591 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16592 * sysdeps/i386/i686/hp-timing.h: Likewise.
16593 * sysdeps/ia64/hp-timing.h: Likewise.
16594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16595 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16597 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16598 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16599 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16600 (hp_timing_t): New.
16601
16602 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16603 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16604 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16605 * elf/rtld.c (_dl_start_final): Likewise.
16606 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16607 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16608 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16609 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16610 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16612 (HP_TIMING_DIFF_INIT): Remove.
16613 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16614 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16615 (HP_TIMING_DIFF_INIT): Remove.
16616 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16617 * sysdeps/i386/i686/hp-timing.c: Remove file.
16618 * sysdeps/x86_64/hp-timing.c: Remove file.
16619 * sysdeps/ia64/hp-timing.c: Remove file.
16620 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16621 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16622 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16623 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16624
16625 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16626 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16627 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16628 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16629 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16630 (HP_TIMING_ACCUM): Remove.
16631 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16632 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16633 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16634
16635 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16636 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16637 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16638 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16639 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16640 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16641 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16642 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16643
16644 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16645
16646 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16647
16648 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16649
16650 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16651
16652 Sync up with gettext.
16653 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16654 [_MSC_VER]: Include malloc.h
16655 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16656 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16657 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16658 TEMP_FAILURE_RETRY. Cast return of alloca.
16659 [!_LIBC] Call gl_rwlock_init.
16660 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16661
16662 2014-07-02 Roland McGrath <roland@hack.frob.com>
16663
16664 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16665 before checking its value.
16666
16667 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16668
16669 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16670
16671 * debug/memcpy_chk.c: Don't include pagecopy.h.
16672 * debug/mempcpy_chk.c: Likewise.
16673 * string/memcpy.c: Likewise.
16674 * string/memmove.c: Likewise.
16675 * sysdeps/powerpc/memmove.c: Likewise.
16676 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16677 definition of PAGE_COPY_FWD_MAYBE here...
16678 * sysdeps/generic/pagecopy.h: ... from here.
16679 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16680
16681 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16682 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16683
16684 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16686 optimizations.
16687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16688 (__libc_ifunc_impl_list): Likewise.
16689 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16690 multiarch strcat for PPC64.
16691 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16692 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16693
16694 2014-07-02 Roland McGrath <roland@hack.frob.com>
16695
16696 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16697
16698 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16699
16700 * intl/loadmsgcat.c: Remove declaration of
16701 get_sysdep_segment_value.
16702 (get_sysdep_segment_value): Use ISO C style.
16703 (_nl_load_domain): Use ISO C style. Get rid of redundant
16704 semicolon. Fix typo and formatting in comment.
16705 (_nl_unload_domain): Use ISO C style.
16706
16707 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16708
16709 2014-07-02 Will Newton <will.newton@linaro.org>
16710
16711 * malloc/obstack.c: Merge from gnulib master.
16712 [HAVE_CONFIG_H]: Remove conditional code.
16713 [!_LIBC]: Include config.h.
16714 [!ELIDE_CODE]: Don't include inttypes.h, include
16715 stdint.h unconditionally.
16716 (print_and_abort): Mark as _Noreturn.
16717 (_obstack_allocated_p): Mark as __attribute_pure__.
16718 (obstack_free): Rename to __obstack_free.
16719 [!__attribute__]: Remove conditional code.
16720 * malloc/obstack.h: Merge from gnulib master.
16721 [__cplusplus]: Move conditional down.
16722 [!__attribute_pure__]: Define __attribute_pure__ here
16723 if it is not already defined.
16724 (_obstack_memory_used): Mark as __attribute_pure__.
16725 [!__obstack_free]: Define as obstack_free.
16726 [__GNUC__]: Remove check for ancient NeXT gcc.
16727
16728 2014-07-02 Will Newton <will.newton@linaro.org>
16729 Paul Eggert <eggert@cs.ucla.edu>
16730
16731 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16732
16733 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16734
16735 * resolv/gethnamaddr.c: Add comment warning that the file is
16736 not maintained.
16737
16738 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16739
16740 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16741 entries.
16742
16743 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16744 entry for aio_cancel and aio_cancel64.
16745 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16746 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16747 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16748 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16749 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16750 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16751 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16752 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16753 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16754 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16755 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16756 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16757 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16758
16759 2014-07-01 Roland McGrath <roland@hack.frob.com>
16760
16761 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16762 * nptl/pthread_mutex_lock.c: Likewise.
16763 * nptl/pthread_mutex_timedlock.c: Likewise.
16764 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16765
16766 2014-07-01 Richard henderson <rth@redhat.com>
16767
16768 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16769 (__isnan, __isnanl): Remove.
16770 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16771
16772 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16773
16774 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16775
16776 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16777
16778 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16779
16780 * resolv/nss_dns/dns-host.c (getanswer_r)
16781 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16782
16783 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16784
16785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16786 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16787 undefine.
16788 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16789 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16790
16791 2014-07-01 Roland McGrath <roland@hack.frob.com>
16792
16793 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16794 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16795
16796 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16797 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16798
16799 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16800 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16801 ... here.
16802 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16803 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16804
16805 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16806 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16807 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16808 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16809
16810 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16811 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16812 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16813 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16814 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16815 Moved ...
16816 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16817 ... here.
16818 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16819 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16820 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16821 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16822 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16823 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16824 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16825 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16827 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16828 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16829 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16830 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16831 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16832 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16833 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16834 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16835 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16836 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16837 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16838 ... here.
16839 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16840 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16841 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16842 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16843 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16844 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16845 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16846 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16847
16848 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16849
16850 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16851 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16852 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16853 Add sysdep.
16854
16855 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16856
16857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16858
16859 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16860
16861 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16862 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16863
16864 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16865
16866 * sysdeps/arm/libm-test-ulps: Regenerated.
16867
16868 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16869 Roland McGrath <roland@hack.frob.com>
16870
16871 * test-skeleton.c (signal_handler): Kill the whole process group
16872 before killing the child individually.
16873 (main): Report any failure on `setpgid'.
16874
16875 2014-06-30 Roland McGrath <roland@hack.frob.com>
16876
16877 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16878 from _TLS_H to _ARM_NPTL_TLS_H.
16879 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16880 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16881
16882 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16883
16884 [BZ #16539]
16885 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16886 (__expm1l): Return argument unchanged when small but not
16887 subnormal.
16888
16889 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16890 include macro name.
16891 (_FP_UNPACK_RAW_1_P): Likewise.
16892 (_FP_PACK_RAW_1): Likewise.
16893 (_FP_PACK_RAW_1_P): Likewise.
16894 (_FP_MUL_MEAT_1_wide): Likewise.
16895 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16896 (_FP_MUL_MEAT_1_hard): Likewise.
16897 (_FP_DIV_MEAT_1_imm): Likewise.
16898 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16899 (_FP_DIV_MEAT_1_udiv): Likewise.
16900 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16901 (_FP_UNPACK_RAW_2): Likewise.
16902 (_FP_UNPACK_RAW_2_P): Likewise.
16903 (_FP_PACK_RAW_2): Likewise.
16904 (_FP_PACK_RAW_2_P): Likewise.
16905 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16906 (_FP_MUL_MEAT_2_wide): Likewise.
16907 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16908 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16909 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16910 (_FP_MUL_MEAT_2_gmp): Likewise.
16911 (_FP_DIV_MEAT_2_udiv): Likewise.
16912 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16913 (_FP_FRAC_SRL_4): Likewise.
16914 (_FP_FRAC_SRST_4): Likewise.
16915 (_FP_FRAC_SRS_4): Likewise.
16916 (_FP_UNPACK_RAW_4): Likewise.
16917 (_FP_UNPACK_RAW_4_P): Likewise.
16918 (_FP_PACK_RAW_4): Likewise.
16919 (_FP_PACK_RAW_4_P): Likewise.
16920 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16921 (_FP_MUL_MEAT_4_wide): Likewise.
16922 (_FP_MUL_MEAT_4_gmp): Likewise.
16923 (umul_ppppmnnn): Likewise.
16924 (_FP_DIV_MEAT_4_udiv): Likewise.
16925 (__FP_FRAC_ADD_4): Likewise.
16926 (__FP_FRAC_SUB_3): Likewise.
16927 (__FP_FRAC_SUB_4): Likewise.
16928 (__FP_FRAC_DEC_3): Likewise.
16929 (__FP_FRAC_DEC_4): Likewise.
16930 (__FP_FRAC_ADDI_4): Likewise.
16931 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16932 (_FP_FRAC_SRL_8): Likewise.
16933 (_FP_FRAC_SRS_8): Likewise.
16934
16935 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16936 include macro name.
16937 (FP_UNPACK_RAW_EP): Likewise.
16938 (FP_PACK_RAW_E): Likewise.
16939 (FP_PACK_RAW_EP): Likewise.
16940 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16941 (_FP_ISSIGNAN): Likewise.
16942 (_FP_ADD_INTERNAL): Likewise.
16943 (_FP_FMA): Likewise.
16944 (_FP_CMP): Likewise.
16945 (_FP_SQRT): Likewise.
16946 (_FP_TO_INT): Likewise.
16947 (_FP_FROM_INT): Likewise.
16948 (FP_EXTEND): Likewise.
16949 (_FP_DIV_MEAT_N_loop): Likewise.
16950
16951 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16952
16953 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16954 throughout.
16955
16956 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16957
16958 [BZ #17097]
16959 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16960 result with correct sign in case of exponents that produce
16961 overflow except for X very close to 1.
16962
16963 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16964
16965 mktime: merge #if/#ifdef usage from glibc
16966 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16967 as that works with both Glibc's and Gnulib's style.
16968 See thread starting at Siddhesh Poyarekar's bug report at:
16969 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16970
16971 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16972
16973 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16974 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16975 * sysdeps/tile/tilegx/memmove.c: Remove file.
16976
16977 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16978
16979 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16980 abi-name definition.
16981 * scripts/soversions.awk: Do not handle or generate ABI lines.
16982 * shlib-versions: Remove ABI entries.
16983 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16984 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16985
16986 2014-06-27 Roland McGrath <roland@hack.frob.com>
16987
16988 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16989 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16990 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16991 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16993 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16995 Moved ...
16996 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16997 ... here.
16998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16999 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17001 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17003 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17005 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17009 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17011 Moved ...
17012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17014 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17016 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17018 Moved ...
17019 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17021 Moved ...
17022 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17024 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17026 Moved ...
17027 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17029 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17031 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17033 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17035 Moved ...
17036 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17038 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17039 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17040 Moved ...
17041 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17042 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17043 Moved ...
17044 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17045 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17046 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17048 Moved ...
17049 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17050 ... here.
17051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17052 Identical file removed.
17053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17054 Moved ...
17055 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17056 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17057 Identical file removed.
17058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17059 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17061 Moved ...
17062 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17064 Identical file removed.
17065 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17066 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17068 Identical file removed.
17069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17070 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17072 Identical file removed.
17073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17074 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17075 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17076 Identical file removed.
17077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17078 Moved ...
17079 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17081 Identical file removed.
17082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17083 Moved ...
17084 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17086 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17088 Identical file removed.
17089 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17090 Moved ...
17091 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17092 ... here.
17093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17094 Identical file removed.
17095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17096 Moved ...
17097 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17099 Identical file removed.
17100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17101 Moved ...
17102 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17103 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17104 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17108 Moved ...
17109 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17110 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17111 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17112
17113 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17114 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17115 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17116 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17117 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17118
17119 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17120
17121 [BZ #17092]
17122 * nscd/nscd.c (monitor_child): Return exit status of child
17123 instead of return value from wait syscall.
17124
17125 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17126
17127 * configure.ac (libc_commonpagesize): Remove variable.
17128 (libc_relro_required): Likewise.
17129 (libc_cv_z_relro): Remove configure test.
17130 * configure: Regenerated.
17131 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17132 variable.
17133 (libc_relro_required): Likewise.
17134 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17135 (libc_relro_required): Likewise.
17136 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17137 (libc_relro_required): Likewise.
17138 * sysdeps/arm/preconfigure: Regenerated.
17139 * sysdeps/ia64/preconfigure: Remove file.
17140 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17141 variable.
17142 (libc_relro_required): Likewise.
17143
17144 [BZ #16561]
17145 [BZ #16562]
17146 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17147 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17148 recompute overflowing results in original rounding mode.
17149 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17150 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17151 recompute overflowing results in original rounding mode.
17152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17153 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17154 recompute overflowing results in original rounding mode.
17155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17156 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17157 recompute overflowing results in original rounding mode.
17158 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17159 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17160 recompute overflowing results in original rounding mode.
17161 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17162 (libc_feholdsetround_ctx): New macro.
17163 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17165 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17166
17167 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17168
17169 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17170 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17171 corresponding .cpsetup call.
17172
17173 2014-06-26 Roland McGrath <roland@hack.frob.com>
17174
17175 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17176 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17177 * sysdeps/arm/Makefile [$(subdir) = csu]
17178 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17179 (static-only-routines): Add aeabi_read_tp here.
17180 (shared-only-routines): Add libc-aeabi_read_tp here.
17181 (CFLAGS-libc-start.c): Add -fexceptions here.
17182 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17183 (sysdep_routines, static-only-routines, shared-only-routines):
17184 Don't add to these here.
17185 (CFLAGS-libc-start.c): Likewise.
17186
17187 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17188 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17189 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17190 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17191 * sysdeps/arm/Makefile [$(subdir) = rt]
17192 (librt-sysdep_routines, librt-shared-only-routines):
17193 Append rt-aeabi_unwind_cpp_pr1 here.
17194 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17195 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17196 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17197 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17198 Append nptl-aeabi_unwind_cpp_pr1 here.
17199 (tests): Filter out tst-cleanupx4 here.
17200 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17201 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17202 Don't do those here.
17203
17204 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17205
17206 * scripts/list-sources.sh: Do not handle ports specially.
17207
17208 2014-06-26 Roland McGrath <roland@hack.frob.com>
17209
17210 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17211 * sysdeps/arm/feupdateenv.c: Likewise.
17212
17213 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17214
17215 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17216
17217 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17218 trailing whitespace removed.
17219 * scripts/config.guess: Update to version 2014-03-23.
17220 * scripts/config.sub: Update to version 2014-05-01
17221 * scripts/install-sh: Update to version 2013-12-25.23.
17222 * scripts/move-if-change: Update from gnulib.
17223
17224 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17225
17226 * debug/memmove_chk.c: Remove pagecopy.h include.
17227
17228 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17229
17230 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17231 identical to gnulib mktime.
17232
17233 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17234
17235 * configure.ac: Do not test for machine being rs6000. Do not test
17236 for powerpc*-*soft.
17237 * configure: Regenerated.
17238
17239 [BZ #11505]
17240 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17241 test.
17242 * configure: Regenerated.
17243 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17244 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17245 Remove configure test.
17246 * sysdeps/arm/configure: Regenerated.
17247 * sysdeps/nptl/configure.ac: Do not check
17248 libc_cv_asm_cfi_directives.
17249 * sysdeps/nptl/configure: Regenerated.
17250 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17251 * sysdeps/x86_64/nptl/configure: Remove generated file.
17252 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17253 unconditional.
17254 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17255
17256 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17257
17258 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17259 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17260 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17261 it is defined.
17262
17263 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17264 instead of whether it is defined.
17265 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17266 * sysdeps/hppa/dl-machine.h: Likewise.
17267 * sysdeps/ia64/dl-machine.h: Likewise.
17268 * sysdeps/m68k/dl-machine.h: Likewise.
17269 * sysdeps/microblaze/dl-machine.h: Likewise.
17270 * sysdeps/mips/dl-machine.: Likewise.
17271 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17272 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17273 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17274 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17275 * sysdeps/sh/dl-machine.h: Likewise.
17276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17277 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17278 * sysdeps/tile/dl-machine.h: Likewise.
17279 * sysdeps/x86_64/dl-machine.h: Likewise.
17280
17281 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17282 code.
17283 (verify_persistent_db): Likewise.
17284
17285 2014-06-26 Roland McGrath <roland@hack.frob.com>
17286
17287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17288 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17290 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17292 Moved ...
17293 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17294 ... here.
17295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17296 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17298 Identical file removed.
17299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17300 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17302 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17304 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17306 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17308 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17310 Moved ...
17311 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17313 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17315 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17317 Moved ...
17318 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17320 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17322 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17324 Identical file removed.
17325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17326 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17328 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17330 Moved ...
17331 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17332 ... here.
17333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17334 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17336 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17338 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17340 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17342 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17344 Moved ...
17345 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17347 Moved ...
17348 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17350 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17352 Moved ...
17353 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17355 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17356
17357 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17358 folded into ...
17359 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17360 * sysdeps/unix/sysv/linux/s390/Versions
17361 (libpthread: GLIBC_2.19): New version set.
17362 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17363 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17364 (librt: GLIBC_2.3.3): New version set.
17365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17366 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17367 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17368 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17369 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17370 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17371 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17373 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17375 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17377 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17378 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17379 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17381 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17382 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17384 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17385 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17387 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17388 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17389 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17390 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17391 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17392 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17393 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17394 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17395 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17396 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17401 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17403 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17405 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17407 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17409 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17410
17411 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17412 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17413 (__libc_vfork): Define the function under this name.
17414 [!NOT_IN_libc] (__vfork): Make this an alias.
17415 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17417 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17418 (__libc_vfork): Define the function under this name.
17419 [!NOT_IN_libc] (__vfork): Make this an alias.
17420 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17421 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17422 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17424 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17425 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17426
17427 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17428 code that was previously under [RESET_PID].
17429 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17430 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17432
17433 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17434 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17435 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17436 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17438 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17439 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17440 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17441 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17442 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17444 Moved ...
17445 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17446 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17447 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17448 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17449 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17450 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17451 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17452 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17453 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17454 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17455 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17456 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17457 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17458 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17459 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17460 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17461 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17462 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17463 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17464 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17465 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17466 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17469 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17470 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17471 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17473 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17474
17475 2014-06-25 Roland McGrath <roland@hack.frob.com>
17476
17477 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17478 that was previously under [RESET_PID].
17479 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17480
17481 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17482
17483 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17484 not undefine and redefine.
17485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17486 [O_CLOEXEC]: Make code unconditional.
17487 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17488 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17489 <kernel-features.h>.
17490 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17491 conditional variable definition.
17492 (shm_open) [O_CLOEXEC]: Make code unconditional.
17493 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17494 code.
17495
17496 * configure.ac (USE_REGPARMS): Don't define here.
17497 * configure: Regenerated.
17498 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17499 * sysdeps/i386/configure: Regenerated.
17500
17501 * nptl/createthread.c: Don't include kernel-features.h.
17502 * nptl/pthread_cancel.c: Likewise.
17503 * nptl/pthread_condattr_setclock.c: Likewise.
17504 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17505 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17506 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17507 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17508 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17509 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17510 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17513 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17514 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17515 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17516 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17517 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17518 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17519 * nscd/gai.c: Likewise.
17520 * nss/nss_db/db-open.c: Likewise.
17521 * sysdeps/generic/ldsodefs.h: Likewise.
17522 * sysdeps/sh/nptl/tls.h: Likewise.
17523 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17524 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17525 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17526 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17527 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17528 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17529 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17530 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17532 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17533 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17534 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17535 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17536 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17537 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17538 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17539 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17540 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17541 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17542 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17543 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17544 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17545 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17546 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17547 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17548 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17549 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17550 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17551 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17552 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17553 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17554 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17555 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17556 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17557 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17558 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17559 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17560 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17561 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17562 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17563 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17564 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17565 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17566 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17567 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17568 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17569 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17570 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17571 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17572 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17573 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17574 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17575 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17576 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17577 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17578 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17579 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17580 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17603 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17604 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17605 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17606 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17607 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17608 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17609 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17610 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17611 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17612 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17613 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17614 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17615 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17616 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17617 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17618 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17619 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17620 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17621 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17622 * sysdeps/unix/sysv/linux/system.c: Likewise.
17623 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17624 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17625 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17626 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17627 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17629 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17630
17631 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17632 * configure: Regenerated.
17633 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17634
17635 * configure.ac (base_machine): Do not set specially for particular
17636 machines here.
17637 * configure: Regenerated.
17638 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17639 settings from configure.ac.
17640 * sysdeps/i386/preconfigure: New file.
17641 * sysdeps/s390/preconfigure: Likewise.
17642 * sysdeps/sh/preconfigure: Likewise.
17643 * sysdeps/sparc/preconfigure: Likewise.
17644
17645 2014-06-25 Roland McGrath <roland@hack.frob.com>
17646
17647 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17648 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17649 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17650 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17651 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17652 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17653 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17654 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17655 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17656 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17657 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17658 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17659 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17660 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17661 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17662 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17663 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17664 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17665 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17666
17667 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17668 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17669 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17670 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17671 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17672 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17673 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17674 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17675 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17676 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17677 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17678 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17679 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17680 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17681 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17682 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17683 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17684 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17685 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17686 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17687 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17688 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17690 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17691 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17692 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17693 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17694 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17696 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17697 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17698 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17699 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17700 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17701 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17702 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17703 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17704 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17705
17706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17707 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17709 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17711 Moved ...
17712 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17713 ... here.
17714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17715 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17719 Moved ...
17720 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17722 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17726 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17728 Moved ...
17729 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17731 Moved ...
17732 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17734 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17736 Moved ...
17737 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17739 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17741 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17743 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17745 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17747 Moved ...
17748 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17749 ... here.
17750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17751 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17753 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17755 Moved ...
17756 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17758 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17764 Moved ...
17765 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17767 Moved ...
17768 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17770 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17772 Moved ...
17773 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17775 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17777 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17778
17779 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17780
17781 * timezone/checktab.awk: Update from tzcode 2014e.
17782 * timezone/private.h: Likewise.
17783 * timezone/tzfile.h: Likewise.
17784 * timezone/zdump.c: Likewise.
17785 * timezone/zic.c: Likewise.
17786
17787 * sysdeps/unix/sysv/linux/kernel-features.h
17788 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17790 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17791 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17792 Remove conditional code.
17793
17794 2014-06-25 Will Newton <will.newton@linaro.org>
17795
17796 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17797 (_dl_arm_cap_flags): Add HWCAP2 values.
17798 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17799 (_DL_HWCAP_COUNT): Increase to 37.
17800 (_DL_HWCAP_LAST): New define.
17801 (_DL_HWCAP2_LAST): New define.
17802 (_dl_procinfo): Add support for printing
17803 AT_HWCAP2 entries.
17804 (_dl_string_hwcap): Use _dl_hwcap_string.
17805
17806 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17807
17808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17809
17810 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17811
17812 * README: Do not mention ports directory.
17813
17814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17815 Remove macro.
17816 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17817 <kernel-features.h>.
17818 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17819 conditional variable definition.
17820 (__futimes): Update comment.
17821 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17822 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17823
17824 [BZ #16560]
17825 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17826 arguments close to 0.
17827 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17828 Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17830 Likewise.
17831 * math/auto-libm-test-in: Add more tests of exp10.
17832 * math/auto-libm-test-out: Regenerated.
17833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17834
17835 * sysdeps/unix/sysv/linux/kernel-features.h
17836 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17837 * sysdeps/unix/sysv/linux/readv.c: Do not include
17838 <kernel-features.h>.
17839 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17840 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17841 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17842 unconditional.
17843 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17844 conditional code.
17845 * sysdeps/unix/sysv/linux/writev.c: Do not include
17846 <kernel-features.h>.
17847 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17848 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17849 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17850 unconditional.
17851 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17852 conditional code.
17853
17854 2014-06-25 Will Newton <will.newton@linaro.org>
17855
17856 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17857 comment changes throughout the file. Remove checks
17858 for HAVE_*_H definitions that are not required.
17859 (__gen_tempname): Call abort if an unknown kind value is
17860 passed.
17861
17862 2014-06-25 Andreas Schwab <schwab@suse.de>
17863
17864 [BZ #17086]
17865 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17866 scalbln, scalblnf, scalblnl in libc.
17867
17868 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17869
17870 [BZ #17086]
17871 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17872 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17873 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17874
17875 2014-06-24 Roland McGrath <roland@hack.frob.com>
17876
17877 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17878 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17879 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17880 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17881 Update #include.
17882 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17883 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17884 Update #include.
17885 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17886 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17887 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17888 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17889 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17890 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17891 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17892 * sysdeps/x86/bits/semaphore.h: ... here.
17893 * sysdeps/x86/nptl/elide.h: Moved ...
17894 * sysdeps/x86/elide.h: ... here.
17895 * sysdeps/x86_64/nptl/Implies: File removed.
17896 * sysdeps/i386/nptl/Implies: File removed.
17897
17898 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17899
17900 [BZ #16539]
17901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17902 return the argument for normal arguments with exponent below -64.
17903 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17904 Likewise.
17905 * math/auto-libm-test-in: Add another test of expm1.
17906 * math/auto-libm-test-out: Regenerated.
17907
17908 [BZ #16287]
17909 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17910 calling __erfcl for arguments at least 16.
17911 * math/auto-libm-test-in: Add more tests of erf.
17912 * math/auto-libm-test-out: Regenerated.
17913
17914 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17915 individual architectures.
17916 * sysdeps/unix/sysv/linux/configure: Regenerated.
17917 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17918 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17919 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17920 (ldd_rewrite_script): Define variable.
17921 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17923 file.
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17925 generated file.
17926 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17927 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17928 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17929 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17930 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17931 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17932 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17933 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17934
17935 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17936
17937 [BZ #17084]
17938 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17939 Rename member __data.d to __data.__elision_data.
17940
17941 2014-06-24 Wilco <wdijkstr@arm.com>
17942
17943 * NEWS: Add 16918 to fixed bug list.
17944
17945 2014-06-24 Wilco <wdijkstr@arm.com>
17946
17947 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17948
17949 2014-06-24 Wilco <wdijkstr@arm.com>
17950
17951 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17952 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17953 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17954 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17955 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17956 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17957 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17958 Use _FPU_MASK_RM.
17959
17960 2014-06-24 Wilco <wdijkstr@arm.com>
17961
17962 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17963
17964 2014-06-24 Wilco <wdijkstr@arm.com>
17965
17966 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17967 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17968 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17969 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17970
17971 2014-06-24 Wilco <wdijkstr@arm.com>
17972
17973 [BZ #16918]
17974 * sysdeps/arm/feupdateenv.c (feupdateenv):
17975 Rewrite to reduce FPSCR accesses and fix return value.
17976
17977 2014-06-24 Wilco <wdijkstr@arm.com>
17978
17979 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17980 Optimize to avoid unnecessary FPSCR writes.
17981 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17982 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17983 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17984 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17985
17986 2014-06-24 Wilco <wdijkstr@arm.com>
17987
17988 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17989 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17990 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17991 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17992 Call libc_fetestexcept_vfp.
17993 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17994 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17995 __SOFTFP__ ifdef so that they can be built for softfp.
17996
17997 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17998
17999 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18000 argument type signed char.
18001
18002 * Makerules (check-abi): Dump diff of symlist if the test
18003 fails.
18004
18005 2014-06-23 Roland McGrath <roland@hack.frob.com>
18006
18007 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18008 using abort.
18009
18010 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18011 Remove unused variable ST.
18012
18013 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18014
18015 [BZ #16354]
18016 [BZ #17061]
18017 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18018 small arguments before calling __expm1.
18019 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18020 small arguments before calling __expm1f.
18021 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18022 small arguments before calling __expm1l.
18023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18024 Likewise.
18025 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18026 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18027 spurious underflow for some cosh tests.
18028 * math/auto-libm-test-out: Regenerated.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030
18031 [BZ #17050]
18032 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18033 (__ieee754_y1): Set errno if return value overflows.
18034 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18035 (__ieee754_y1f): Set errno if return value overflows.
18036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18037 (__ieee754_y1l): Set errno if return value overflows.
18038 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18039 (__ieee754_y1l): Set errno if return value overflows.
18040 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18041 * math/auto-libm-test-out: Regenerated.
18042
18043 * math/gen-auto-libm-tests.c: Document use of
18044 ignore-zero-inf-sign.
18045 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18046 (input_flags): Add ignore-zero-inf-sign.
18047 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18048 * math/gen-libm-test.pl (generate_testfile): Handle
18049 ignore-zero-inf-sign.
18050 * math/auto-libm-test-in: Mark some cpow tests with
18051 ignore-zero-inf-sign and some with xfail-rounding.
18052 * math/auto-libm-test-out: Regenerated.
18053 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18054 * sysdeps/i386/fpu/libm-test-ulps: Update.
18055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18056
18057 [BZ #16315]
18058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18059 overflowing or underflowing operations take place with sign of
18060 result.
18061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18062 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18063 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18064 (__ieee754_pow): Recompute overflowing and underflowing results in
18065 original rounding mode.
18066 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18067 (__powl_helper): Allow negative argument X and scale negated value
18068 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18069 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18070 overflowing or underflowing operations take place with sign of
18071 result.
18072 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18073 Include <math.h>.
18074 * math/auto-libm-test-in: Add more tests of pow.
18075 * math/auto-libm-test-out: Regenerated.
18076 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18077 (pow_tonearest_test_data): Remove.
18078 (pow_test_tonearest): Likewise.
18079 (pow_towardzero_test_data): Likewise.
18080 (pow_test_towardzero): Likewise.
18081 (pow_downward_test_data): Likewise.
18082 (pow_test_downward): Likewise.
18083 (pow_upward_test_data): Likewise.
18084 (pow_test_upward): Likewise.
18085 (main): Don't call removed functions.
18086 * sysdeps/i386/fpu/libm-test-ulps: Update.
18087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18088
18089 2014-06-23 Roland McGrath <roland@hack.frob.com>
18090
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18092 Moved ...
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18095 Moved ...
18096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18098 Moved ...
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18101 Moved ...
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18104 File removed.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18106 File removed.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18108 File removed.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18110 File removed.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18112 File removed.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18114 File removed.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18116 File removed.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18118 File removed.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18120 File removed.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18122 File removed.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18124 File removed.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18126 File removed.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18128 Moved ...
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18131 Moved ...
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18133 ... here.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18135 Moved ...
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18138 Moved ...
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18141 Moved ...
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18144 Moved ...
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18147 Moved ...
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18150 Moved ...
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18153 Moved ...
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18157 ... here.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18159 Moved ...
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18162 Moved ...
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18164 ... here.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18166 Moved ...
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18168 ... here.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18170 Moved ...
18171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18172 ... here.
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18174 Moved ...
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18177 Moved ...
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18182 Moved ...
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18184 ... here.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18186 Moved ...
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18188 ... here.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18190 Moved ...
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18193 Moved ...
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18196 Moved ...
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18199 Moved ...
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18202 Moved ...
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18204 ... here.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18206 Moved ...
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18209 Moved ...
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18212 Moved ...
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18215 Moved ...
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18220 Moved ...
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18223 Moved ...
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18226 Moved ...
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18228 ... here.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18230 Moved ...
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18232 ... here.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18234 Moved ...
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18236 ... here.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18238 Moved ...
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18241 Moved ...
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18244 Moved ...
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18247 Moved ...
18248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18249 ... here.
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18251 Moved ...
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18253 ... here.
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18255 Moved ...
18256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18257 ... here.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18259 Moved ...
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18262 Moved ...
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18264
18265 2014-06-23 Will Newton <will.newton@linaro.org>
18266 Wilco <wdijkstr@arm.com>
18267
18268 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18269 implementation. Include get-rounding-mode.h.
18270 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18271 [!libc_feholdsetround_noex_ctx]: Define
18272 libc_feholdsetround_noex_ctx.
18273 [!libc_feholdsetround_noexf_ctx]: Define
18274 libc_feholdsetround_noexf_ctx.
18275 [!libc_feholdsetround_noexl_ctx]: Define
18276 libc_feholdsetround_noexl_ctx.
18277 (libc_feholdsetround_ctx): New function.
18278 (libc_feresetround_ctx): New function.
18279 (libc_feholdsetround_noex_ctx): New function.
18280 (libc_feresetround_noex_ctx): New function.
18281
18282 2014-06-23 Roland McGrath <roland@hack.frob.com>
18283
18284 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18285 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18286 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18287 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18288 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18289 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18290
18291 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18292 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18293 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18294 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18295 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18296 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18298 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18299 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18300 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18302 Moved ...
18303 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18304 ... here.
18305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18306 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18307 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18308 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18309 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18310 Moved ...
18311 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18312 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18313 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18315 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18316 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18317 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18318 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18319 Moved ...
18320 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18322 Moved ...
18323 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18325 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18327 Moved ...
18328 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18330 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18331 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18332 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18333 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18334 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18338 Moved ...
18339 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18340 ... here.
18341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18342 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18344 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18346 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18347 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18348 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18350 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18352 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18354 Moved ...
18355 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18361 Moved ...
18362 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18363 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18364 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18365 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18366 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18367
18368 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18369 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18371 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18372 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18373 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18374 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18375 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18377 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18378 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18379 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18380 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18381 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18382 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18383 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18384 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18385 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18386 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18387 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18389 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18390 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18391 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18392 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18393 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18394 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18395 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18396
18397 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18398
18399 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18400 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18401 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18402 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18403 (IPV6_PMTUDISC_INTERFACE): Likewise.
18404 (IPV6_PMTUDISC_OMIT): Likewise.
18405
18406 2014-06-23 Andreas Schwab <schwab@suse.de>
18407
18408 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18409 Remove unused errout label.
18410
18411 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18412
18413 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18414 macro: hardware supports Vector Crypto instructions.
18415
18416 2014-06-23 Will Newton <will.newton@linaro.org>
18417
18418 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18419 rather than __builtin_expect.
18420
18421 * elf/dl-lookup.c (undefined_msg): Remove variable.
18422 (_dl_lookup_symbol_x): Replace undefined_msg with string
18423 literal.
18424
18425 * elf/dl-lookup.c (do_lookup_unique): New function.
18426 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18427 to a separate function.
18428
18429 2014-06-23 Andreas Schwab <schwab@suse.de>
18430
18431 [BZ #17079]
18432 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18433 before reading the next line.
18434
18435 2014-06-23 Will Newton <will.newton@linaro.org>
18436
18437 * test-skeleton.c (signal_handler): Use printf and %m
18438 rather than perror. Use printf rather than fprintf to
18439 stderr. Use puts rather than fputs to stderr.
18440 (main): Likewise.
18441
18442 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18443
18444 * nscd/nscd.c (thread_info_t): Remove typedef.
18445 (thread_info): Remove variable.
18446
18447 2014-06-21 Allan McRae <allan@archlinux.org>
18448
18449 * NEWS: Mention CVE-2014-4043.
18450
18451 2014-06-20 Roland McGrath <roland@hack.frob.com>
18452
18453 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18454 * nptl/smp.h: ... here.
18455
18456 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18457
18458 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18459 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18460 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18461 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18462
18463 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18464 * nptl/stack-aliasing.h: New file.
18465 * sysdeps/i386/i686/stack-aliasing.h: New file.
18466 * sysdeps/i386/i686/nptl/Makefile: File removed.
18467 * sysdeps/x86_64/stack-aliasing.h: New file.
18468 * sysdeps/x86_64/nptl/Makefile
18469 (CFLAGS-pthread_create.c): Variable removed.
18470
18471 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18472 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18473 old file.
18474 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18475 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18476 old file.
18477
18478 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18479
18480 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18481 (__ASSUME_SIGFRAME_V2): Remove macro.
18482 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18483 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18484 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18485 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18486 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18487 Declare as function. Remove conditional macro definitions.
18488 (__default_rt_sa_restorer): Likewise.
18489 (__default_sa_restorer_v1): Remove declaration.
18490 (__default_sa_restorer_v2): Likewise.
18491 (__default_rt_sa_restorer_v1): Likewise.
18492 (__default_rt_sa_restorer_v2): Likewise.
18493 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18494 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18495 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18496
18497 2014-06-20 Roland McGrath <roland@hack.frob.com>
18498
18499 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18500 (libpthread-routines): Add sysdep.
18501 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18502 * sysdeps/unix/sysv/linux/sparc/Versions
18503 (libpthread: GLIBC_2.3.3): New version set.
18504 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18505 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18506 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18507 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18508 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18509 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18510 Moved ...
18511 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18512 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18513 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18514 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18515 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18516 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18517 * sysdeps/sparc/nptl/sem_init.c: ... here.
18518 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18519 * sysdeps/sparc/nptl/sem_post.c: ... here.
18520 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18521 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18522 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18523 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18524 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18525 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18526 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18527 (libpthread-routines): Add cpu_relax.
18528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18529 File removed.
18530 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18531 (librt: GLIBC_2.3.3): New version set.
18532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18533 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18535 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18538 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18540 Moved ...
18541 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18543 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18545 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18547 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18549 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18551 Moved ...
18552 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18553 Update #include.
18554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18555 Moved ...
18556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18557 Update #include.
18558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18559 Moved ...
18560 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18561 Update #include.
18562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18563 Moved ...
18564 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18565 Update #include.
18566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18567 Moved ...
18568 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18569 Update #include.
18570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18571 Moved ...
18572 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18573 Update #include.
18574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18575 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18581 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18583 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18585 Moved ...
18586 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18588 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18590 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18591
18592 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18593
18594 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18595 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18596 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18597 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18598 * nscd/nscd.c: Likewise.
18599 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18600 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18601 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18602 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18603
18604 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18605 <kernel-features.h>.
18606 (init_mq_netlink): Remove conditional have_sock_cloexec
18607 definitions. Remove code conditional on have_sock_cloexec < 0.
18608 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18609 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18610 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18611 <kernel-features.h>.
18612 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18613 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18614
18615 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18618 Add tests for memset_chk and memset.
18619
18620 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18621 with AVX2_Usable.
18622
18623 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18624
18625 [BZ #16046]
18626 * elf/tst-dl-iter-static.c: New file.
18627 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18628
18629 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18630 error.
18631
18632 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18633
18634 * sysdeps/unix/sysv/linux/kernel-features.h
18635 (__ASSUME_F_GETOWN_EX): Remove macro.
18636 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18637 <kernel-features.h>.
18638 (miss_F_GETOWN_EX): Remove variable or macro.
18639 (do_fcntl): Do not check miss_F_GETOWN_EX.
18640 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18641
18642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18643 Remove macro.
18644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18645 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18646 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18647
18648 * sysdeps/unix/sysv/linux/kernel-features.h
18649 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18650 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18651 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18652 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18653
18654 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18655
18656 [BZ #17075]
18657 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18658 Fix calculation of the symbol's value.
18659 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18660 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18661 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18662 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18663 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18664 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18665 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18666 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18667 (modules-names): Add `tst-armtlsdescmod',
18668 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18669 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18670 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18671 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18672 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18673 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18674 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18675 ($(objpfx)tst-armtlsdescloc): New dependency.
18676 ($(objpfx)tst-armtlsdescextnow): Likewise.
18677 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18678 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18679 TLS scheme support.
18680 * sysdeps/arm/configure: Regenerate.
18681
18682 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18683
18684 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18685 (__atfct_seterrno_2): Likewise.
18686 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18687 <kernel-features.h>.
18688 (__ASSUME_ATFCTS): Do not undefine and redefine.
18689 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18690 (__have_atfcts): Remove conditional definition.
18691 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18692 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18693 unreachable if [__ASSUME_ATFCTS].
18694 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18695 not undefine and redefine.
18696 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18697 <kernel-features.h>.
18698 (faccessat) [__NR_faccessat]: Make code unconditional.
18699 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18700 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18701 <kernel-features.h>.
18702 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18703 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18704 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18705 <kernel-features.h>.
18706 (fchownat) [__NR_fchownat]: Make code unconditional.
18707 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18708 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18709 <kernel-features.h>.
18710 (futimesat) [__NR_futimesat]: Make code unconditional.
18711 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18712 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18713 <kernel-features.h>.
18714 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18715 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18716 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18717 <kernel-features.h>.
18718 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18719 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18720 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18721 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18722 <kernel-features.h>.
18723 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18724 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18725 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18726 <kernel-features.h>.
18727 (linkat) [__NR_linkat]: Make code unconditional.
18728 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18729 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18730 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18731 <kernel-features.h>.
18732 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18733 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18734 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18735 <kernel-features.h>.
18736 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18737 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18738 * sysdeps/unix/sysv/linux/openat.c: Do not include
18739 <kernel-features.h>.
18740 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18741 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18742 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18743 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18744 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18745 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18746 <kernel-features.h>.
18747 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18748 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18749 result of INLINE_SYSCALL directly, not via int variable.
18750 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18751 <kernel-features.h>.
18752 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18753 (renameat) [__NR_renameat]: Make code unconditional.
18754 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18755 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18756 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18757 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18759 (__ASSUME_ATFCTS): Do not undefine and redefine.
18760 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18761 <kernel-features.h>.
18762 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18763 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18764 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18765 <kernel-features.h>.
18766 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18767 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18768 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18769 (__ASSUME_ATFCTS): Do not undefine and redefine.
18770 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18771 <kernel-features.h>.
18772 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18773 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18774 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18775 <kernel-features.h>.
18776 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18777 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18778
18779 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18782
18783 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18784
18785 [BZ #17069]
18786 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18787 constructed tree before returning error.
18788 * posix/bug-regexp36.c: Expand test case.
18789
18790 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18791
18792 [BZ #6803]
18793 * math/libm-test.inc (scalbln_test_date):
18794 Add errno expectations.
18795 * math/w_scalblnf.c: New File.
18796 Add wrapper which checks for setting errno to ERANGE.
18797 Add weak_alias for corresponding scalbln function.
18798 * math/w_scalbln.c: Likewise.
18799 * math/w_scalblnl.c: Likewise.
18800 * math/Makefile (libm-calls): Add w_scalbln.
18801 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18802 Remove weak_alias for corresponding scalbln function.
18803 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18807 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18808 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18809 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18810 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18811 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18812 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18813 Remove long_double_symbol for scalblnl function in libm, libc.
18814 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18815 Add wrapper which checks for setting errno to ERANGE.
18816 Add long_double_symbol for scalblnl function in libm, libc.
18817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18818 Remove long_double_symbol for scalblnl in libm.
18819 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18820 Add wrapper which checks for setting errno to ERANGE.
18821 Add long_double_symbol for scalblnl function in libm.
18822 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18823 Do not use wrapper because of own implementation.
18824
18825 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18828 3 bytes for __pad1 for x32.
18829 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18830
18831 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18832 H.J. Lu <hongjiu.lu@intel.com>
18833
18834 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18835 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18838 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18839
18840 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18841
18842 [BZ #17069]
18843 * posix/regcomp.c (parse_expression): Deallocate partially
18844 constructed tree before returning error.
18845 * posix/Makefile.c (tests): Add bug-regex36.
18846 (generated): Add bug-regex36.mtrace.
18847 (tests-special): Add $(objpfx)bug-regex36-mem.out
18848 (bug-regex36-ENV): New variable.
18849 ($(objpfx)bug-regex36-mem.out): New rule.
18850 * posix/bug-regex36.c: New file.
18851
18852 2014-06-19 Will Newton <will.newton@linaro.org>
18853
18854 * malloc/malloc.c (systrim): If extra is zero then return
18855 early.
18856
18857 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18858
18859 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18860
18861 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18862
18863 * sysdeps/aarch64/strchr.S: New file.
18864
18865 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18866
18867 [BZ #17022]
18868 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18869 from arguments -2 or below.
18870 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18871 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18872
18873 2014-06-18 Andreas Schwab <schwab@suse.de>
18874
18875 [BZ #17062]
18876 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18877 of a bracket expr not to run off the end of the string.
18878 * posix/Makefile (tests): Add tst-fnmatch3.
18879 * posix/tst-fnmatch3.c: New file.
18880
18881 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18882
18883 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18884 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18885 [$(cross-compiling) = no]: Likewise.
18886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18887 [$(cross-compiling) = no]: Likewise.
18888
18889 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18890
18891 [BZ #17031]
18892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18893 double, adjusted for any remainder from the high double.
18894 * math/libm-test.inc (nearbyint): Add tests.
18895 (rint): Likewise.
18896
18897 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898
18899 * nptl/sysdeps/powerpc/Makefile: Moved ...
18900 * sysdeps/powerpc/nptl/Makefile: ... here.
18901 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18902 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18903 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18904 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18905 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18906 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18907 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18908 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18909 * nptl/sysdeps/powerpc/tls.h: Moved ...
18910 * sysdeps/powerpc/nptl/tls.h: ... here.
18911
18912 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18913
18914 [BZ #16681]
18915 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18916 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18917 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18918 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18919 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18920 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18921 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18922 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18923 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18924
18925 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18926
18927 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18928
18929 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18930
18931 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18932 defined operator.
18933
18934 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18935 $TIMEOUTFACTOR.
18936
18937 2014-06-16 Florian Weimer <fweimer@redhat.com>
18938
18939 [BZ #17058]
18940 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18941 non-executed part of the test.
18942
18943 2014-06-16 Andreas Schwab <schwab@suse.de>
18944
18945 * string/bits/string2.h (strdup, strndup): Update feature guard.
18946
18947 2014-06-14 David S. Miller <davem@davemloft.net>
18948
18949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18950
18951 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18952
18953 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18954 that was previously under [RESET_PID].
18955 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18956
18957 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18958 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18959 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18960 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18961 (__libc_vfork): New strong alias.
18962 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18963
18964 2014-06-14 Andi Kleen <ak@linux.intel.com>
18965
18966 * sysdeps/generic/elide.h: New file.
18967
18968 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18969
18970 * Makefile (installed-headers): Adjust path of pthread.h header.
18971
18972 2014-06-13 Roland McGrath <roland@hack.frob.com>
18973
18974 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18975 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18976 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18977 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18978
18979 * nptl/sysdeps/s390/Makefile: Moved ...
18980 * sysdeps/s390/nptl/Makefile: ... here.
18981 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18982 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18983 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18984 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18985 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18986 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18987 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18988 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18989 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18990 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18991 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18992 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18993 * nptl/sysdeps/s390/tls.h: Moved ...
18994 * sysdeps/s390/nptl/tls.h: ... here.
18995
18996 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18997 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18998
18999 2014-06-13 David S. Miller <davem@davemloft.net>
19000
19001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19004 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19008 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19009 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19010 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19012 Remove RESET_PID cpp guards.
19013 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19014 Remove RESET_PID cpp guards.
19015 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19016
19017 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19018
19019 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19020 __sp to uintptr_t.
19021
19022 2014-06-13 Andi Kleen <ak@linux.intel.com>
19023
19024 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19025 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19026 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19027 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19029 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19030 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19031 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19032 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19035 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19037 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19039 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19040 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19042 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19043 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19044
19045 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19046 (pthread_rwlock_rdlock): Add elision.
19047 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19048 (pthread_rwlock_wrlock): Add elision.
19049 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19050 (pthread_rwlock_trywrlock): Add elision.
19051 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19052 (pthread_rwlock_tryrdlock): Add elision.
19053 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19054 (pthread_rwlock_tryrdlock): Add elision unlock.
19055 * nptl/sysdeps/pthread/pthread.h:
19056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19057 (PTHREAD_RWLOCK_INITIALIZER,
19058 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19059 Handle new elision field.
19060 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19061 * sysdeps/arm/nptl/bits/pthreadtypes.h
19062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19063 * sysdeps/sh/nptl/bits/pthreadtypes.h
19064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19065 * sysdeps/tile/nptl/bits/pthreadtypes.h
19066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19067 * sysdeps/a/nptl/bits/pthreadtypes.h
19068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19069 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19071 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19073 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19075 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19077 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19079 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19081 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19083 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19085 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19086 (elision_init): Set try_xbegin to zero when no RTM.
19087 * sysdeps/x86/nptl/bits/pthreadtypes.h
19088 (pthread_rwlock_t): Change __pad1 to __rwelision.
19089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19090
19091 2014-06-13 Andi Kleen <ak@linux.intel.com>
19092
19093 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19094 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19095 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19096 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19097
19098 2014-06-13 Meador Inge <meadori@codesourcery.com>
19099
19100 [BZ #16996]
19101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19102 that the cached result has been set before returning it.
19103
19104 2014-06-12 Roland McGrath <roland@hack.frob.com>
19105
19106 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19107 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19108 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19109 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19110 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19111 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19112
19113 * nptl/sysdeps/sparc/Makefile: Moved ...
19114 * sysdeps/sparc/nptl/Makefile: ... here.
19115 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19116 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19117 * nptl/sysdeps/sparc/tls.h: Moved ...
19118 * sysdeps/sparc/nptl/tls.h: ... here.
19119 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19120 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19121 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19122 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19123 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19124 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19125 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19126 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19127 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19128 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19129 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19130 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19131 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19132 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19133 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19134 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19135 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19137 Update #include.
19138 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19139 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19140 Update #include.
19141 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19143 Update #include.
19144 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19146 Update #include.
19147
19148 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19149
19150 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19151 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19152
19153 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19154 (struct list_links): Type removed.
19155 (struct thread_node, struct timer_node): Replace struct list_links
19156 with struct list_head.
19157 (list_unlink_ip): Likewise.
19158 * sysdeps/pthread/timer_routines.c
19159 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19160 (list_append, list_insbefore): Likewise.
19161 (list_init): Function removed.
19162 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19163 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19164 * sysdeps/pthread/Makefile: ... here, new file.
19165
19166 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19167 * sysdeps/nptl/Implies: ... here.
19168 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19169 * nptl/sysdeps/pthread/list.h: Moved ...
19170 * include/list.h: ... here.
19171 * nptl/sysdeps/pthread/createthread.c: Moved ...
19172 * nptl/createthread.c: ... here.
19173 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19174 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19175 * nptl/pt-longjmp.c: ... here.
19176 * nptl/sysdeps/pthread/Makefile: Moved ...
19177 * sysdeps/nptl/Makefile: ... here.
19178 * nptl/sysdeps/pthread/Subdirs: Moved ...
19179 * sysdeps/nptl/Subdirs: ... here.
19180 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19181 * sysdeps/nptl/aio_misc.h: ... here.
19182 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19183 * sysdeps/nptl/bits/libc-lock.h: ... here.
19184 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19185 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19186 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19187 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19188 * nptl/sysdeps/pthread/configure: Moved ...
19189 * sysdeps/nptl/configure: ... here.
19190 * nptl/sysdeps/pthread/configure.ac: Moved ...
19191 * sysdeps/nptl/configure.ac: ... here.
19192 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19193 * sysdeps/nptl/gai_misc.h: ... here.
19194 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19195 * sysdeps/nptl/librt-cancellation.c: ... here.
19196 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19197 * sysdeps/nptl/malloc-machine.h: ... here.
19198 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19199 * sysdeps/nptl/pthread-functions.h: ... here.
19200 * nptl/sysdeps/pthread/pthread.h: Moved ...
19201 * sysdeps/nptl/pthread.h: ... here.
19202 * nptl/sysdeps/pthread/setxid.h: Moved ...
19203 * sysdeps/nptl/setxid.h: ... here.
19204 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19205 * sysdeps/nptl/sigfillset.c: ... here.
19206 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19207 * sysdeps/nptl/tcb-offsets.h: ... here.
19208 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19209 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19210 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19211 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19212 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19213 * sysdeps/pthread/allocalim.h: ... here.
19214 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19215 * sysdeps/pthread/bits/sigthread.h: ... here.
19216 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19217 * sysdeps/pthread/flockfile.c: ... here.
19218 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19219 * sysdeps/pthread/ftrylockfile.c: ... here.
19220 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19221 * sysdeps/pthread/funlockfile.c: ... here.
19222 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19223 * sysdeps/pthread/posix-timer.h: ... here.
19224 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19225 * sysdeps/pthread/timer_create.c: ... here.
19226 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19227 * sysdeps/pthread/timer_delete.c: ... here.
19228 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19229 * sysdeps/pthread/timer_getoverr.c: ... here.
19230 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19231 * sysdeps/pthread/timer_gettime.c: ... here.
19232 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19233 * sysdeps/pthread/timer_routines.c: ... here.
19234 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19235 * sysdeps/pthread/timer_settime.c: ... here.
19236 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19237 * sysdeps/pthread/tst-timer.c: ... here.
19238 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19239 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19240
19241 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19242 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19243
19244 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19245 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19246 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19247 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19248 Update #include target.
19249 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19250 * sysdeps/i386/i686/nptl/Makefile: ... here.
19251 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19252 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19253 Update #include target.
19254 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19255 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19256 * nptl/sysdeps/i386/Makefile: Moved ...
19257 * sysdeps/i386/nptl/Makefile: ... here.
19258 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19259 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19260 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19261 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19262 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19263 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19264 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19265 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19266 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19267 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19268 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19269 * nptl/sysdeps/i386/tls.h: Moved ...
19270 * sysdeps/i386/nptl/tls.h: ... here.
19271
19272 * sysdeps/sh/Makefile [$(subdir) = csu]
19273 (gen-as-const-headers): Add tcb-offsets.sym.
19274 * nptl/sysdeps/sh/Makefile: File removed.
19275 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19276 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19277 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19278 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19279 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19280 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19281 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19282 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19283 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19284 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19285 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19286 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19287 * nptl/sysdeps/sh/tls.h: Moved ...
19288 * sysdeps/sh/nptl/tls.h: ... here.
19289 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19290 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19291 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19292 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19293 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19294 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19295 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19296 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19297 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19298 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19299 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19300 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19302 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19304 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19306 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19307 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19308 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19310 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19311 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19312 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19313 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19314 Moved ...
19315 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19316 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19317 Moved ...
19318 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19319 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19320 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19322 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19323 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19324 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19325 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19326 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19327 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19328 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19329 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19330 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19331 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19332 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19333 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19334 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19335 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19336 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19337
19338 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19339
19340 * posix/spawn_faction_addopen.c: Include string.h.
19341
19342 2014-06-11 Roland McGrath <roland@hack.frob.com>
19343
19344 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19345 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19346 * nptl/sysdeps/x86_64/Makefile: Moved ...
19347 * sysdeps/x86_64/nptl/Makefile: ... here.
19348 * nptl/sysdeps/x86_64/configure: Moved ...
19349 * sysdeps/x86_64/nptl/configure: ... here.
19350 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19351 * sysdeps/x86_64/nptl/configure.ac: ... here.
19352 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19353 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19354 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19355 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19356 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19357 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19358 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19359 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19360 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19361 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19362 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19363 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19364 * nptl/sysdeps/x86_64/tls.h: Moved ...
19365 * sysdeps/x86_64/nptl/tls.h: ... here.
19366 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19367 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19368 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19369 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19370
19371 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19372
19373 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19374
19375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19376
19377 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19378
19379 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19380 type.
19381 [POSIX] (off_t): Likewise.
19382 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19383 [POSIX] (S_ISBLK): Require macro.
19384 [POSIX] (S_ISCHR): Likewise.
19385 [POSIX] (S_ISDIR): Likewise.
19386 [POSIX] (S_ISFIFO): Likewise.
19387 [POSIX] (S_ISREG): Likewise.
19388 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19389 optional-macro.
19390 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19391 type.
19392 [POSIX] (time_t): Likewise.
19393 [POSIX] (timer_t): Likewise.
19394
19395 2014-06-11 Florian Weimer <fweimer@redhat.com>
19396
19397 [BZ #17048]
19398 * posix/spawn_int.h (struct __spawn_action): Make the path string
19399 non-const to support deallocation.
19400 * posix/spawn_faction_addopen.c
19401 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19402 * posix/spawn_faction_destroy.c
19403 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19404 path in all spawn_do_open actions.
19405 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19406 posix_spawn_file_actions_addopen.
19407
19408 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19409
19410 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19411 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19412 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19413 conditional code always true.
19414 (__libc_vfork): New alias.
19415
19416 2014-06-11 Roland McGrath <roland@hack.frob.com>
19417
19418 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19419 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19420
19421 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19422
19423 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19424 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19425
19426 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19427 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19428
19429 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19430 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19431
19432 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19433
19434 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19435 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19436 multiarch strcmp for PPC64.
19437 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19438 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19440 multiarch optimizations.
19441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19442 (__libc_ifunc_impl_list): Likewise.
19443
19444 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19445
19446 * benchtests/scripts/validate_benchout.py: New script.
19447 * benchtests/Makefile (bench-func): Call it.
19448 * benchtests/scripts/benchout.schema.json: New file.
19449
19450 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19451
19452 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19453 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19454 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19455 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19456 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19457 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19458 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19459 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19460 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19461 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19462 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19463 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19464 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19465 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19466 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19469 Moved ...
19470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19471 ... here.
19472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19473 Moved ...
19474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19476 Moved ...
19477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19478 ... here.
19479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19480 Moved ...
19481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19482 ... here.
19483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19484 Moved ...
19485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19487 Moved ...
19488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19489 ... here.
19490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19491 Moved ...
19492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19493 ... here.
19494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19495 Moved ...
19496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19498 Moved ...
19499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19500 ... here.
19501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19502 Moved ...
19503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19504 ... here.
19505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19506 Moved ...
19507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19508 ... here.
19509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19510 Moved ...
19511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19513 Moved ...
19514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19515 ... here.
19516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19517 Moved ...
19518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19519 ... here.
19520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19523 ... here.
19524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19525 Moved ...
19526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19528 Moved ...
19529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19530 ... here.
19531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19532 Moved ...
19533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19534 ... here.
19535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19536 Moved ...
19537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19539 Moved ...
19540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19541 ... here.
19542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19543 Moved ...
19544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19546 Moved ...
19547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19549 Moved ...
19550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19551 ... here.
19552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19553 Moved ...
19554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19555 ... here.
19556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19557 Moved ...
19558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19559 ... here.
19560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19561 Moved ...
19562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19564 Moved ...
19565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19566 ... here.
19567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19568 Moved ...
19569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19570 ... here.
19571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19572 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19574 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19576 Moved ...
19577 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19578 ... here.
19579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19580 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19582 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19584 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19585 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19586 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19588 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19590 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19592 Moved ...
19593 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19594 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19595 Moved ...
19596 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19598 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19600 Moved ...
19601 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19603 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19604 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19605 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19606 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19607 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19608
19609 2014-06-10 Wilco <wdijkstr@arm.com>
19610
19611 * math/test-fenv-return.c: New file.
19612 * math/Makefile: Add new test test-fenv-return.
19613
19614 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19615
19616 [BZ #17042]
19617 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19618 when x - 1 is zero.
19619 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19620 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19621 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19622 0.0L for an argument of 1.0L.
19623 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19624 Likewise.
19625 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19626 value when x - 1 is zero.
19627 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19628 * sysdeps/i386/fpu/libm-test-ulps: Update.
19629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19630
19631 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19632
19633 [BZ #15119]
19634 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19635
19636 2014-06-09 Roland McGrath <roland@hack.frob.com>
19637
19638 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19639 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19640
19641 2014-06-09 Roland McGrath <roland@hack.frob.com>
19642
19643 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19644 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19645
19646 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19647 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19648
19649 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19650 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19651
19652 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19653 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19654
19655 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19656 if not already defined.
19657 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19658 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19659 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19660 (TLS_INIT_TP): Use it.
19661 (TLS_DEFINE_INIT_TP): New macro.
19662 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19663
19664 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19665
19666 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19667 constant.
19668 [POSIX] (IXANY): Likewise.
19669 [POSIX] (OLCUC): Likewise.
19670 [POSIX || POSIX2008] (CBAUD): Do not allow.
19671 [POSIX || POSIX2008] (DEFECHO): Likewise.
19672 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19673 [POSIX || POSIX2008] (ECHOKE): Likewise.
19674 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19675 [POSIX || POSIX2008] (EXTA): Likewise.
19676 [POSIX || POSIX2008] (EXTB): Likewise.
19677 [POSIX || POSIX2008] (FLUSHO): Likewise.
19678 [POSIX || POSIX2008] (LOBLK): Likewise.
19679 [POSIX || POSIX2008] (PENDIN): Likewise.
19680 [POSIX || POSIX2008] (SWTCH): Likewise.
19681 [POSIX || POSIX2008] (VDISCARD): Likewise.
19682 [POSIX || POSIX2008] (VDSUSP): Likewise.
19683 [POSIX || POSIX2008] (VLNEXT): Likewise.
19684 [POSIX || POSIX2008] (VREPRINT): Likewise.
19685 [POSIX || POSIX2008] (VSTATUS): Likewise.
19686 [POSIX || POSIX2008] (VWERASE): Likewise.
19687 (B*): Change to B[0123456789]*.
19688 * conform/data/time.h-data [POSIX || UNIX98]
19689 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19690 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19691 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19692 [POSIX] (tm_*): Do not allow.
19693
19694 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19695
19696 * Makefile (install): Don't set LANGUAGE.
19697 * Makefile.in (install): Likewise.
19698 * assert/Makefile (test-assert-ENV): Remove variable.
19699 (test-assert-perr-ENV): Likewise.
19700 * elf/Makefile (neededtest4-ENV): Likewise.
19701 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19702 [$(cross-compiling) = no]: Don't set LANGUAGE.
19703 * io/ftwtest-sh (LANG): Remove variable.
19704 * libio/Makefile (tst-widetext-ENV): Likewise.
19705 * manual/install.texi (Running make install): Don't refer to
19706 environment settings for make install.
19707 * INSTALL: Regenerated.
19708 * nptl/tst-tls6.sh: Don't set LANG.
19709 * posix/globtest.sh (LANG): Remove variable.
19710 * string/Makefile (tester-ENV): Likewise.
19711 (inl-tester-ENV): Likewise.
19712 (noinl-tester-ENV): Likewise.
19713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19714 [$(cross-compiling) = no]: Don't set LANGUAGE.
19715 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19716 without explicit environment settings.
19717
19718 2014-06-06 Roland McGrath <roland@hack.frob.com>
19719
19720 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19721 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19722 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19723 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19724
19725 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19726
19727 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19728 other files in the crypt directory.
19729 * crypt/crypt.c: Remove duplicate includes.
19730 * crypt/crypt-entry.c: Likewise.
19731 * crypt/crypt_util.c: Likewise.
19732
19733 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19734
19735 * Makeconfig (run-program-env): New variable.
19736 (run-program-prefix-before-env): Likewise.
19737 (run-program-prefix-after-env): Likewise.
19738 (run-program-prefix): Define in terms of new variables.
19739 (built-program-cmd-before-env): New variable.
19740 (built-program-cmd-after-env): Likewise.
19741 (built-program-cmd): Define in terms of new variables.
19742 (test-program-prefix-before-env): New variable.
19743 (test-program-prefix-after-env): Likewise.
19744 (test-program-prefix): Define in terms of new variables.
19745 (test-program-cmd-before-env): New variable.
19746 (test-program-cmd-after-env): Likewise.
19747 (test-program-cmd): Define in terms of new variables.
19748 * Rules (make-test-out): Use $(run-program-env).
19749 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19750 (help): Do not mention environment variables. Mention
19751 --timeoutfactor option.
19752 (timeoutfactor): New variable.
19753 (blacklist_exports): Remove function.
19754 (exports): Remove variable.
19755 (command): Do not include ${exports}.
19756 * manual/install.texi (Configuring and compiling): Do not mention
19757 test wrappers preserving environment variables. Mention that last
19758 assignment to a variable must take precedence.
19759 * INSTALL: Regenerated.
19760 * benchtests/Makefile (run-bench): Use $(run-program-env).
19761 * catgets/Makefile ($(objpfx)test1.cat): Use
19762 $(built-program-cmd-before-env), $(run-program-env) and
19763 $(built-program-cmd-after-env).
19764 ($(objpfx)test2.cat): Do not specify environment variables
19765 explicitly.
19766 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19767 $(run-program-env) and $(built-program-cmd-after-env).
19768 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19769 $(run-program-env) and $(test-program-cmd-after-env).
19770 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19771 explicitly.
19772 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19773 run_program_env and test_program_cmd_after_env arguments.
19774 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19775 * elf/tst-pathopt.sh: Use run_program_env argument.
19776 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19777 $(test-wrapper-env) and $(run-program-env).
19778 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19779 run_program_env arguments.
19780 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19781 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19782 $(test-program-prefix-before-env), $(run-program-env) and
19783 $(test-program-prefix-after-env).
19784 ($(objpfx)tst-gettext2.out): Likewise.
19785 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19786 run_program_env and test_program_prefix_after_env arguments.
19787 * intl/tst-gettext2.sh: Likewise.
19788 * intl/tst-gettext4.sh: Do not set environment variables
19789 explicitly.
19790 * intl/tst-gettext6.sh: Likewise.
19791 * intl/tst-translit.sh: Likewise.
19792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19793 $(test-program-prefix-before-env), $(run-program-env) and
19794 $(test-program-prefix-after-env).
19795 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19796 run_program_env and test_program_prefix_after_env arguments.
19797 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19798 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19799 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19800 explicitly with each use of ${test_wrapper_env}.
19801 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19802 $(test-program-prefix-before-env), $(run-program-env) and
19803 $(test-program-prefix-after-env).
19804 * posix/tst-getconf.sh: Do not set environment variables
19805 explicitly.
19806 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19807 run_program_env and test_program_prefix_after_env arguments.
19808 * stdio-common/tst-printf.sh: Do not set environment variables
19809 explicitly.
19810 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19811 $(test-program-prefix-before-env), $(run-program-env) and
19812 $(test-program-prefix-after-env).
19813 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19814 run_program_env and test_program_prefix_after_env arguments.
19815 Split $test calls into $test_pre and $test.
19816 * timezone/Makefile (build-testdata): Use
19817 $(built-program-cmd-before-env), $(run-program-env) and
19818 $(built-program-cmd-after-env).
19819
19820 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19821
19822 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19823 strlen for non SHARED builds.
19824
19825 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
19827 * nptl/allocatestack.c (check_list): Inlined function...
19828 (__reclaim_stacks): ... here.
19829
19830 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19831
19832 [BZ #15698]
19833 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19834 memory overrun.
19835
19836 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19837
19838 * Rules (make-test-out): Include
19839 LOCPATH=$(common-objpfx)localedata in default environment.
19840 * debug/Makefile (tst-chk1-ENV): Remove variable.
19841 (tst-chk2-ENV): Likewise.
19842 (tst-chk3-ENV): Likewise.
19843 (tst-chk4-ENV): Likewise.
19844 (tst-chk5-ENV): Likewise.
19845 (tst-chk6-ENV): Likewise.
19846 (tst-lfschk1-ENV): Likewise.
19847 (tst-lfschk2-ENV): Likewise.
19848 (tst-lfschk3-ENV): Likewise.
19849 (tst-lfschk4-ENV): Likewise.
19850 (tst-lfschk5-ENV): Likewise.
19851 (tst-lfschk6-ENV): Likewise.
19852 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19853 (tst-iconv7-ENV): Likewise.
19854 * intl/Makefile (LOCPATH-ENV): Likewise.
19855 (tst-codeset-ENV): Likewise.
19856 (tst-gettext3-ENV): Likewise.
19857 (tst-gettext5-ENV): Likewise.
19858 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19859 (tst-fopenloc-ENV): Likewise.
19860 (tst-fgetws-ENV): Remove variable.
19861 (tst-ungetwc1-ENV): Likewise.
19862 (tst-ungetwc2-ENV): Likewise.
19863 (bug-ungetwc2-ENV): Likewise.
19864 (tst-swscanf-ENV): Likewise.
19865 (bug-ftell-ENV): Likewise.
19866 (tst-fgetwc-ENV): Likewise.
19867 (tst-fseek-ENV): Likewise.
19868 (tst-ftell-partial-wide-ENV): Likewise.
19869 (tst-ftell-active-handler-ENV): Likewise.
19870 (tst-ftell-append-ENV): Likewise.
19871 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19872 (tst-regexloc-ENV): Likewise.
19873 (bug-regex1-ENV): Likewise.
19874 (tst-regex-ENV): Likewise.
19875 (tst-regex2-ENV): Likewise.
19876 (bug-regex5-ENV): Likewise.
19877 (bug-regex6-ENV): Likewise.
19878 (bug-regex17-ENV): Likewise.
19879 (bug-regex18-ENV): Likewise.
19880 (bug-regex19-ENV): Likewise.
19881 (bug-regex20-ENV): Likewise.
19882 (bug-regex22-ENV): Likewise.
19883 (bug-regex23-ENV): Likewise.
19884 (bug-regex25-ENV): Likewise.
19885 (bug-regex26-ENV): Likewise.
19886 (bug-regex30-ENV): Likewise.
19887 (bug-regex32-ENV): Likewise.
19888 (bug-regex33-ENV): Likewise.
19889 (bug-regex34-ENV): Likewise.
19890 (bug-regex35-ENV): Likewise.
19891 (tst-rxspencer-ENV): Likewise.
19892 (tst-rxspencer-no-utf8-ENV): Likewise.
19893 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19894 (tst-sscanf-ENV): Likewise.
19895 (tst-swprintf-ENV): Likewise.
19896 (tst-swscanf-ENV): Likewise.
19897 (test-vfprintf-ENV): Likewise.
19898 (scanf13-ENV): Likewise.
19899 (bug14-ENV): Likewise.
19900 (tst-grouping-ENV): Likewise.
19901 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19902 (tst-strtod3-ENV): Likewise.
19903 (tst-strtod4-ENV): Likewise.
19904 (tst-strtod5-ENV): Likewise.
19905 (testmb2-ENV): Likewise./
19906 * string/Makefile (tst-strxfrm-ENV): Likewise.
19907 (tst-strxfrm2-ENV): Likewise.
19908 (bug-strcoll1-ENV): Likewise.
19909 (test-strcasecmp-ENV): Likewise.
19910 (test-strncasecmp-ENV): Likewise.
19911 * time/Makefile (tst-strptime-ENV): Likewise.
19912 (tst-ftime_l-ENV): Likewise.
19913 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19914 (tst-mbrtowc-ENV): Likewise.
19915 (tst-wcrtomb-ENV): Likewise.
19916 (tst-mbrtowc2-ENV): Likewise.
19917 (tst-c16c32-1-ENV): Likewise.
19918 (tst-mbsnrtowcs-ENV): Likewise.
19919
19920 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19921
19922 * manual/resource.texi (How to get information about the memory
19923 subsystem?): Fix typo.
19924 Reported by Peon de la Parra Ivan <peon@keba.com>
19925
19926 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19927
19928 [BZ #16882]
19929 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19930 (pthread_spin_lock): Branch out of spin loop to proper location.
19931 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19932 (pthread_spin_lock): Likewise.
19933
19934 * nptl/tst-spin4.c: New test.
19935 * nptl/Makefile (tests): Add tst-spin4.
19936
19937 2014-06-03 Andreas Schwab <schwab@suse.de>
19938
19939 [BZ #15946]
19940 * resolv/res_send.c (send_dg): Reload file descriptor after
19941 calling reopen.
19942
19943 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19944
19945 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19946
19947 2014-06-03 Richard Henderson <rth@redhat.com>
19948
19949 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19950 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19951 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19952 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19953 in the SAVE_PID block.
19954 (__libc_vfork): New alias.
19955 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19956
19957 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19958 child in registers, not on the stack. Remove RESET_PID conditionals.
19959 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19960
19961 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19962
19963 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19964
19965 2014-06-03 Wilco <wdijkstr@arm.com>
19966
19967 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19968 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19969 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19970 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19971 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19972 Likewise.
19973
19974 2014-06-03 Wilco <wdijkstr@arm.com>
19975
19976 * sysdeps/aarch64/fpu/math_private.h
19977 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19978 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19979 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19980 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19981 Fix declarations.
19982
19983 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19984
19985 * crypt/crypt-private.h: Include ufc-crypt.h.
19986 (__b64_from_24bit): Declare extern.
19987 * crypt/crypt_util.c(__b64_from_24bit): New function.
19988 (b64t): New static const variable.
19989 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19990 (b64t): Remove variable.
19991 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19992 * crypt/sha256-crypt.c: Include crypt-private.h.
19993 (b64t): Remove variable.
19994 (__sha256_crypt_r): Remove b64_from_24bit and replace
19995 with __b64_from_24bit.
19996 * crypt/sha512-crypt.c: Likewise.
19997
19998 2014-06-02 Roland McGrath <roland@hack.frob.com>
19999
20000 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20001 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20002 Label the code __libc_vfork rather than __vfork.
20003 [!NOT_IN_libc] (vfork): Define as weak alias.
20004 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20005 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20006 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20007
20008 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20009
20010 * malloc/malloc.c (malloc_info): Fix format specifier for
20011 n_mmaps.
20012
20013 2014-06-02 Wilco <wdijkstr@arm.com>
20014
20015 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20016 FPCR write.
20017
20018 2014-06-02 Wilco <wdijkstr@arm.com>
20019
20020 [BZ #17009]
20021 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20022 Rewrite to reduce FPCR/FPSR accesses.
20023
20024 2014-06-01 David S. Miller <davem@davemloft.net>
20025
20026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20027
20028 2014-05-31 David S. Miller <davem@davemloft.net>
20029
20030 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20031 to occur in round to nearest mode when |x| >= 2.0
20032
20033 2014-05-30 Richard Henderson <rth@twiddle.net>
20034
20035 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20036 (PSEUDO_RET_NOERRNO): Remove.
20037 (ret): Don't redefine.
20038 (ret_NOERRNO): Define in terms of ret.
20039 (ret_ERRVAL): Likewise.
20040
20041 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20042 use of PSEUDO_RET; perform the error check directly.
20043
20044 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20045
20046 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20047 with __int128_t.
20048
20049 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20050
20051 * malloc/malloc (malloc_info): Fix formatting.
20052
20053 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20054 Roland McGrath <roland@hack.frob.com>
20055
20056 * malloc/malloc (malloc_info): Also print mmapped statistics.
20057
20058 2014-05-30 Roland McGrath <roland@hack.frob.com>
20059
20060 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20061 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20062
20063 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20064
20065 * malloc/malloc.c (malloc_info): Inline mi_arena.
20066
20067 2014-05-29 Richard Henderson <rth@twiddle.net>
20068
20069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20070 Remove comma before expanding ASM_ARGS_##nr.
20071 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20072 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20073 of ASM_ARGS_##nr.
20074 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20075 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20076 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20077 (ASM_ARGS_1): Add leading comma.
20078
20079 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20080 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20081 to __errno_location.
20082 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20083 Remove the expected plt for __errno_location.
20084
20085 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20086 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20087 call to __read_tp.
20088
20089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20090 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20091 it and break it down.
20092 (DOCARGS_0, DOCARGS_1): Do nothing.
20093 (DOCARGS_2): Update to store into the new stack frame.
20094 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20095 (UNDOCARGS_1): Update to restore from the new stack frame.
20096 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20097 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20098
20099 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20100 (SINGLE_THREAD_P): New parameter for result regno.
20101 (PSEUDO): Update to match; use cbz instead of beq.
20102
20103 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20104 Use ENTRY to define the _nocancel entry point. Share the syscall
20105 and syscall error check paths with the cancel path.
20106 (PSEUDO_END): New.
20107
20108 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20109 whitespace; tabs before and after asm mnemonics.
20110
20111 2014-05-29 Eric Wong <normalperson@yhbt.net>
20112
20113 [BZ #15132]
20114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20115 Call fstat64 or stat64 internally, depending on arguments passed.
20116 Replace stat buffer argument with file descriptor argument.
20117 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20118 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20119 Pass fd to __internal_statvfs instead of calling fstat64.
20120 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20121 Pass fd to __internal_statvfs64 instead of calling fstat64.
20122 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20123 Pass -1 to __internal_statvfs instead of calling stat64.
20124 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20125 Pass -1 to __internal_statvfs64 instead of calling stat64.
20126
20127 2014-05-28 Roland McGrath <roland@hack.frob.com>
20128
20129 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20130 that was previously under [RESET_PID].
20131 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20132
20133 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20134 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20135
20136 2014-05-27 Roland McGrath <roland@hack.frob.com>
20137
20138 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20139
20140 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20141 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20142
20143 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20144
20145 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20146
20147 2014-05-27 Andreas Schwab <schwab@suse.de>
20148
20149 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20150 TLS_INIT_TP macro.
20151 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20152 * elf/rtld.c (init_tls, dl_main): Likewise.
20153 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20154 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20155 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20156 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20157 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20158 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20159 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20160 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20161 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20162 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20163 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20164 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20165 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20166 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20167 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20168 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20169 * sysdeps/generic/tls.h: Update description.
20170
20171 2014-05-27 Will Newton <will.newton@linaro.org>
20172
20173 [BZ #16990]
20174 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20175 and restore r2 rather than just restoring.
20176
20177 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20178
20179 [BZ #16724]
20180 * libio/tst-ftell-append.c: New test case.
20181 * libio/Makefile (tests): Add test case.
20182 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20183 append mode.
20184 * libio/wfileops.c (do_ftell_wide): Likewise.
20185
20186 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20187
20188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20189
20190 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20191 ...
20192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20194 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20195 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20196 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20197 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20198 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20201 Moved ...
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20204 Moved ...
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20206 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20207 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20208 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20209 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20210 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20211 ...
20212 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20213 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20214 Moved ...
20215 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20216 here.
20217 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20218 ...
20219 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20220 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20221 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20222
20223 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20224 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20225 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20226 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20227
20228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20229 merge into ...
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20232 ...
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20235 ...
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20238 Moved ...
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20240 here.
20241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20242 Moved ...
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20245 Moved ...
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20247
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20249 conditional [RESET_PID].
20250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20252 removed.
20253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20254 removed.
20255
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20257 <tcb-offsets.h>.
20258 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20259 (__libc_vfork): New strong alias.
20260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20261 removed.
20262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20263 Removed.
20264
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20266 <tcb-offsets.h>.
20267 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20268 (__libc_vfork): New strong alias.
20269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20270 removed.
20271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20272 removed.
20273
20274 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20275
20276 * malloc/malloc.c (mi_arena): New function.
20277 (malloc_info): Remove nested function mi_arena. Call non-nosted
20278 function mi_arena.
20279
20280 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281
20282 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20283 by insrwi.
20284 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20285 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20286 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20287 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20288 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20289 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20290 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20291
20292 2014-05-26 Andreas Schwab <schwab@suse.de>
20293
20294 [BZ #16984]
20295 * locale/programs/repertoire.c (repertoire_read): Add slash
20296 between I18NPATH element and file name.
20297 * locale/programs/locfile.c (locfile_read): Likewise.
20298
20299 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20300
20301 * nptl/pthread_mutexattr_settype.c
20302 (__pthread_mutexattr_settype):
20303 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20304
20305 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20306
20307 * nptl/tst-mutex5 (do_test):
20308 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20309
20310 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20311
20312 * benchtests/README: Document 'init' directive.
20313 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20314 BENCH_INIT.
20315 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20316 (parse_file): Recognize 'init' directive.
20317
20318 2014-05-26 Kyle McMartin <kyle@redhat.com>
20319
20320 [BZ #16796]
20321 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20322 alignment of struct pthread.
20323
20324 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20325
20326 [BZ #16878]
20327 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20328 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20329 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20330 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20331
20332 2014-05-25 Richard Henderson <rth@twiddle.net>
20333
20334 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20335 (SINGLE_THREAD_P_PIC): Remove.
20336 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20337 (SINGLE_THREAD_P_PIC): Remove.
20338
20339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20340 branch to syscall error ...
20341 (PSEUDO): ... here.
20342 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20343 from __local_syscall_error to .Lsyscall_error.
20344 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20345 (SYSCALL_ERROR): Update label name.
20346
20347 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20348 Do not use DOARGS/UNDOARGS.
20349 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20350 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20351 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20352 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20353 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20354
20355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20356 block comment.
20357
20358 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20359 define if !NOT_IN_libc.
20360 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20361 define with non-default symbol versions.
20362
20363 2014-05-23 Richard Henderson <rth@twiddle.net>
20364
20365 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20366 (vfork, __vfork): Define via compat_symbol.
20367
20368 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20369 [!HAVE_IFUNC] (vfork_compat): Remove.
20370 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20371
20372 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20373
20374 [BZ #16978]
20375 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20376 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20377 variable.
20378
20379 2014-05-23 Richard Henderson <rth@twiddle.net>
20380
20381 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20382 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20383 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20384 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20385
20386 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20387 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20388 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20389 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20390 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20391 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20392 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20393 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20394 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20395 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20396 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20397 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20398 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20399 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20400 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20401 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20402 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20403 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20404 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20405 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20406 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20407 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20408 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20409 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20410 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20411 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20412 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20413 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20414 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20415 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20416 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20417 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20418 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20419 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20420 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20421 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20422 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20423 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20424 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20425 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20426 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20427 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20428 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20429 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20430 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20431 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20433 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20434 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20435 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20436 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20437 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20438 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20439 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20441 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20442
20443 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20444 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20445 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20446 before exiting on error.
20447 (__libc_vfork): New strong alias.
20448 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20449 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20450
20451 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20452 that was previously under [RESET_PID].
20453 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20454
20455 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20456
20457 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20458
20459 [BZ #16977]
20460 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20461 value when x - 1 is zero.
20462 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20463 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20464 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20465 0.0L for an argument of 1.0L.
20466 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20467 Likewise.
20468 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20469 value when x - 1 is zero.
20470 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20471 * sysdeps/i386/fpu/libm-test-ulps: Update.
20472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20473
20474 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20475
20476 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20477 alphasort and versionsort.
20478
20479 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20480
20481 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20482 macro.
20483 [copysignf]: Likewise.
20484
20485 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20486
20487 * crypt/md5-crypt.c: Fix formatting.
20488
20489 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20490
20491 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20492 (b64_from_24bit): New function.
20493
20494 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20495
20496 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20497 libc_hidden_builtin_def to ifunc.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20499 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20500
20501 2014-05-21 Roland McGrath <roland@hack.frob.com>
20502
20503 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20504 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20505
20506 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20507
20508 * nscd/Depend (linuxthreads): Remove.
20509 (nptl): Add.
20510 * resolv/Depend (linuxthreads): Remove.
20511 * rt/Depend (linuxthreads): Remove.
20512
20513 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20514 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20515 $(common-objpfx)elf/.
20516 (link-libc-before-gnulib): Likewise.
20517 (elfobjdir): Remove variable.
20518 * Makefile (install): Use $(elf-objpfx) instead of
20519 $(common-objpfx)elf/.
20520 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20521 $(elfobjdir)/.
20522 (link-libc-deps): Likewise.
20523 ($(common-objpfx)libc.so): Likewise.
20524 ($(common-objpfx)linkobj/libc.so): Likewise.
20525 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20526 instead of $(common-objpfx)elf/.
20527 (symbolic-link-list): Likewise.
20528 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20529 [$(cross-compiling) = no]: Likewise.
20530 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20531 $(elfobjdir)/.
20532 (static-gnulib-arch): Likewise.
20533 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20534 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20535 $(common-objpfx)elf/.
20536
20537 2014-05-21 Richard Henderson <rth@redhat.com>
20538
20539 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20540 (SINGLE_THREAD_P): Use the correct width load. Fold
20541 into the ldr offset.
20542
20543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20544 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20545
20546 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20547
20548 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20549 (libgcc_s_resume): Use __attribute_used__.
20550 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20551 Likewise.
20552
20553 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20554
20555 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20556 optimization when used with float constants.
20557
20558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20559
20560 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20561
20562 [BZ #16915]
20563 * locale/nl_langinfo_l.c: Make direct reference to every
20564 _nl_current_CATEGORY symbol.
20565 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20566 (tests-static): Add tst-langinfo-static.
20567 (tests-special): Add tst-langinfo-static.out.
20568 ($(objpfx)tst-langinfo.out): Redirect output.
20569 ($(objpfx)tst-langinfo-static.out): New.
20570 * localedata/tst-langinfo.sh: Send output to stdout.
20571 * localedata/tst-langinfo-static.c: New file.
20572
20573 [BZ #16965]
20574 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20575 when the shift amount is modulo the limb size.
20576
20577 2014-05-20 Richard Henderson <rth@redhat.com>
20578
20579 [BZ #16967]
20580 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20581 Change type of sa_flags from unsigned int to int.
20582
20583 [BZ #16966]
20584 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20585
20586 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20587
20588 2014-05-20 Will Newton <will.newton@linaro.org>
20589
20590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20591 Test the return value of the system call in the nocancel case.
20592
20593 2014-05-20 Will Newton <will.newton@linaro.org>
20594 Yvan Roux <yvan.roux@linaro.org>
20595
20596 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20597 #include of asm/ptrace.h.
20598 (PTRACE_GET_THREAD_AREA): Remove #undef.
20599 (PTRACE_GETHBPREGS): Likewise.
20600 (PTRACE_SETHBPREGS): Likewise.
20601 (struct user_regs_struct): New structure.
20602 (struct user_fpsimd_struct): New structure.
20603 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20604 #include of asm/ptrace.h and second #include of sys/user.h.
20605 (PTRACE_GET_THREAD_AREA): Remove #undef.
20606 (PTRACE_GETHBPREGS): Likewise.
20607 (PTRACE_SETHBPREGS): Likewise.
20608 (ELF_NGREG): Use new struct user_regs_struct.
20609 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20610
20611 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20612
20613 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20615
20616 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20617
20618 [BZ #16958]
20619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20620 membar to avoid block loads/stores to overlap previous stores.
20621
20622 2014-05-17 Richard Henderson <rth@redhat.com>
20623
20624 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20625 Create the __##syscall_name##_nocancel entry point.
20626 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20627 Remove; let the sysdep-cancel.h code create it.
20628
20629 2014-05-17 David S. Miller <davem@davemloft.net>
20630
20631 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20632 Protect with __USE_GNU.
20633 (TIOCSET_TEMPT): Likewise.
20634 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20635 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20636 these are already provided in bits/ioctl-types.h
20637
20638 2014-05-16 Roland McGrath <roland@hack.frob.com>
20639
20640 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20641 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20642
20643 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20644 Use wait4 regardless of [__NR_waitpid].
20645
20646 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20647
20648 PR libgcc/60166
20649 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20650 (_FP_NANSIGN_Q): Set the quiet bit.
20651
20652 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20653
20654 * benchtests/Makefile
20655 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20656 not $(common-objpfx)math/libm.so.
20657 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20658 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20659 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20660 $(common-objpfx)dlfcn/libdl.so.
20661 ($(objpfx)tst-audit8): Depend on $(libm), not
20662 $(common-objpfx)math/libm.so.
20663 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20664 not $(common-objpfx)dlfcn/libdl.so.
20665 * math/Makefile
20666 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20667 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20668 [$(build-shared) = yes].
20669 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20670 $(common-objpfx)nptl/libpthread.so.
20671 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20672 $(common-objpfx)math/libm.so$(libm.so-version) or
20673 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20674 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20675 $(common-objpfx)dlfcn/libdl.so.
20676 * setjmp/Makefile (link-libm): Remove variable.
20677 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20678 * stdio-common/Makefile (link-libm): Remove variable.
20679 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20680 * stdlib/Makefile (link-libm): Remove variable.
20681 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20682 ($(objpfx)tst-strtod-round): Likewise.
20683 ($(objpfx)tst-tininess): Likewise.
20684 ($(objpfx)tst-strtod-underflow): Likewise.
20685 ($(objpfx)tst-strtod6): Likewise.
20686 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20687 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20688 $(common-objpfx)dlfcn/libdl.so.
20689
20690 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20691
20692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20693 BSD terminal modes definitions.
20694
20695 2014-05-16 Roland McGrath <roland@hack.frob.com>
20696
20697 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20698 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20699
20700 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20701 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20702 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20703 Don't do #include_next.
20704 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20705 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20706 Don't do #include_next.
20707 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20708 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20709 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20710 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20711
20712 2014-05-16 Allan McRae <allan@archlinux.org>
20713
20714 * po/sv.po: Update Swedish translation from translation project.
20715
20716 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20717 in sed expression.
20718
20719 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20720
20721 [BZ #16917]
20722 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20723 errno if the TIOCGPTN ioctl fails with an error different than
20724 EINVAL.
20725 * login/tst-ptsname.c: New file.
20726 * login/Makefile (tests): Add tst-ptsname.
20727
20728 [BZ #16943]
20729 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20730 and prlimit64.
20731
20732 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20733
20734 [BZ #16849]
20735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20736 herrno to return EAI_AGAIN.
20737
20738 2014-05-14 Roland McGrath <roland@hack.frob.com>
20739
20740 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20741 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20742 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20743 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20744 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20745 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20746 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20747 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20748 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20749 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20750 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20751 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20752 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20753 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20754 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20755 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20756 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20757 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20758 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20759 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20760 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20761 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20762 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20763 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20764 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20765 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20766 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20767 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20768 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20769 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20771 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20773 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20775 Moved ...
20776 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20778 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20780 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20782 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20784 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20786 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20788 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20790 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20792 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20794 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20796 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20798 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20800 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20802 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20804 Moved ...
20805 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20807 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20809 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20811 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20813 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20815 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20817 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20819 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20821 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20823 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20825 Moved ...
20826 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20828 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20829
20830 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20831 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20832 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20833 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20834 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20835 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20836 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20837 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20838 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20839 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20840 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20841 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20842 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20843 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20844 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20845 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20846 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20847 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20848 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20849 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20850 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20851 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20852 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20853 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20854 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20855 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20856 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20857 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20858 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20859 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20860 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20861
20862 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20863 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20864
20865 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20866 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20867 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20868 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20869 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20870 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20871 Moved ...
20872 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20873 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20874 Moved ...
20875 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20876 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20877 Moved ...
20878 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20879 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20880 Moved ...
20881 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20882 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20883 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20884 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20885 Moved ...
20886 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20887 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20888 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20890 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20891 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20892 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20894 Moved ...
20895 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20896 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20897 Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20899 ... here.
20900 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20901 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20902 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20903 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20905 Moved ...
20906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20907 ... here.
20908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20909 Moved ...
20910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20911 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20912 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20913 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20914 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20915 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20916 Moved ...
20917 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20918 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20919 Moved ...
20920 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20921 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20922 Moved ...
20923 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20924 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20925 Moved ...
20926 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20927 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20928 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20929 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20930 Moved ...
20931 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20932 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20933 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20936 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20937 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20939 Moved ...
20940 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20941 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20942 Moved ...
20943 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20944 ... here.
20945 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20946 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20947 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20948 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20950 Moved ...
20951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20952 ... here.
20953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20954 Moved ...
20955 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20956 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20957 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20958 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20959 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20960 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20961 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20962 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20963 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20964 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20965 Moved ...
20966 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20967 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20968 Moved ...
20969 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20970 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20971 Moved ...
20972 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20974 Moved ...
20975 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20976 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20977 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20978 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20979 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20980 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20981 Moved ...
20982 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20983 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20984 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20986 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20987 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20988 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20990 Moved ...
20991 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20993 Moved ...
20994 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20995 ... here.
20996 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20997 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20998 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20999 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21001 Moved ...
21002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21003 ... here.
21004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21005 Moved ...
21006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21007 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21008 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21009 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21010 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21011 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21012 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21013 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21014 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21015 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21016 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21017
21018 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21019 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21020
21021 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21022 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21023
21024 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21025 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21026 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21027 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21028 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21029 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21030 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21031 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21032 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21033 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21034 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21035 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21036 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21037 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21038 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21040 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21042 Moved ...
21043 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21044 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21045 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21046 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21047 Moved ...
21048 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21050 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21052 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21054 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21056 Moved ...
21057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21058 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21059 Moved ...
21060 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21062 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21066 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21067 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21068 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21069 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21070 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21071 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21072 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21073 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21074 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21075 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21076 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21077
21078 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21079 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21080 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21081 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21082 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21083
21084 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21085 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21086 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21087 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21088 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21089 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21090 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21091 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21092 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21093 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21094
21095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21097
21098 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21099 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21100 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21101 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21102 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21103 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21104 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21105 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21106 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21107 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21108 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21109 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21110 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21111 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21113 Update #include.
21114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21115 Likewise.
21116 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21117 Likewise.
21118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21119 Likewise.
21120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21121 Likewise.
21122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21123 Likewise.
21124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21125 Likewise.
21126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21127 Likewise.
21128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21129 Likewise.
21130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21131 Likewise.
21132 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21136 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21137 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21138 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21139 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21140 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21141 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21142 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21143 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21144 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21145 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21146 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21147
21148 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21149 that was previously under [RESET_PID].
21150 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21151 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21152 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21153
21154 * sysdeps/i386/nptl/Implies: New file.
21155 * sysdeps/x86_64/nptl/Implies: New file.
21156 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21157 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21158 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21159 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21160
21161 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21162 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21163 (__libc_vfork): New strong alias.
21164 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21165 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21166
21167 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21168 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21169 (__libc_vfork): New strong alias.
21170 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21171 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21172
21173 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21174 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21175 (__libc_vfork): New strong alias.
21176 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21177 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21178 * nptl/pt-vfork.c: New file.
21179 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21180 (libpthread: GLIBC_2.20): New version set (empty).
21181
21182 2014-05-14 Will Newton <will.newton@linaro.org>
21183
21184 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21185 rather than #if.
21186
21187 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21188
21189 [BZ #16564]
21190 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21191 arguments with exponent 65 or above.
21192 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21193 arguments 0x1p113L or above.
21194 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21195 to arguments 0x1p107L or above.
21196 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21197 positive arguments with exponent 65 or above.
21198 * math/auto-libm-test-in: Add more tests of log1p.
21199 * math/auto-libm-test-out: Regenerated.
21200
21201 [BZ #16928]
21202 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21203 non-finite arguments is +0.
21204 * math/s_cacosf.c (__cacosf): Likewise.
21205 * math/s_cacosl.c (__cacosl): Likewise.
21206 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21207 * sysdeps/i386/fpu/libm-test-ulps: Update.
21208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21209
21210 [BZ #16927]
21211 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21212 value.
21213 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21214 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21215 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21216 for explicit high bit of mantissa when testing for argument equal
21217 to 1.
21218 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21219 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21221
21222 [BZ #16516]
21223 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21224 (__erf): Scale by 16 instead of 8 in potentially underflowing
21225 case. Ensure exception if result actually underflows.
21226 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21227 (__erff): Scale by 16 instead of 8 in potentially underflowing
21228 case. Ensure exception if result actually underflows.
21229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21230 (efx8): Remove variable.
21231 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21232 case. Ensure exception if result actually underflows.
21233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21234 (efx8): Remove variable.
21235 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21236 case. Ensure exception if result actually underflows.
21237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21238 (efx8): Remove variable.
21239 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21240 case. Ensure exception if result actually underflows.
21241 * math/auto-libm-test-in: Add more tests of erf.
21242 * math/auto-libm-test-out: Regenerated.
21243
21244 2014-05-14 Andreas Schwab <schwab@suse.de>
21245
21246 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21247 Remove code conditionalized on USE___THREAD.
21248
21249 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21250 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21251 not definedness.
21252
21253 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21254
21255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21256 Define unconditionally.
21257 (__ASSUME_O_CLOEXEC): Likewise.
21258 (__ASSUME_SOCK_CLOEXEC): Likewise.
21259 (__ASSUME_IN_NONBLOCK): Likewise.
21260 (__ASSUME_PIPE2): Likewise.
21261 (__ASSUME_EVENTFD2): Likewise.
21262 (__ASSUME_SIGNALFD4): Likewise.
21263 (__ASSUME_DUP3): Likewise.
21264 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21265 (__ASSUME_DUP3): Do not define.
21266 (__ASSUME_EVENTFD2): Likewise.
21267 (__ASSUME_IN_NONBLOCK): Likewise.
21268 (__ASSUME_O_CLOEXEC): Likewise.
21269 (__ASSUME_PIPE2): Likewise.
21270 (__ASSUME_SIGNALFD4): Likewise.
21271 (__ASSUME_SOCK_CLOEXEC): Likewise.
21272 (__ASSUME_UTIMES): Undefine.
21273 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21274 (__ASSUME_UTIMES): Do not define.
21275 (__ASSUME_O_CLOEXEC): Likewise.
21276 (__ASSUME_SOCK_CLOEXEC): Likewise.
21277 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21278 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21279 0x020621].
21280 (__ASSUME_PIPE2): Likewise.
21281 (__ASSUME_EVENTFD2): Likewise.
21282 (__ASSUME_SIGNALFD4): Likewise.
21283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21284 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21285 Do not define.
21286 (__ASSUME_EVENTFD2): Likewise.
21287 (__ASSUME_SIGNALFD4): Likewise.
21288 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21289 (__ASSUME_32BITUIDS): Likewise.
21290 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21291 (__ASSUME_IPC64): Likewise.
21292 (__ASSUME_ST_INO_64_BIT): Likewise.
21293 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21294 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21295 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21296 (__ASSUME_UTIMES): Do not define.
21297 (__ASSUME_PSELECT): Likewise.
21298 (__ASSUME_PPOLL): Likewise.
21299 (__ASSUME_O_CLOEXEC): Likewise.
21300 (__ASSUME_SOCK_CLOEXEC): Likewise.
21301 (__ASSUME_IN_NONBLOCK): Likewise.
21302 (__ASSUME_PIPE2): Likewise.
21303 (__ASSUME_EVENTFD2): Likewise.
21304 (__ASSUME_SIGNALFD4): Likewise.
21305 (__ASSUME_DUP3): Likewise.
21306 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21307 (__ASSUME_UTIMES): Likewise.
21308 (__ASSUME_O_CLOEXEC): Likewise.
21309 (__ASSUME_SOCK_CLOEXEC): Likewise.
21310 (__ASSUME_IN_NONBLOCK): Likewise.
21311 (__ASSUME_PIPE2): Likewise.
21312 (__ASSUME_EVENTFD2): Likewise.
21313 (__ASSUME_SIGNALFD4): Likewise.
21314 (__ASSUME_DUP3): Likewise.
21315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21316 (__ASSUME_UTIMES): Likewise.
21317 (__ASSUME_O_CLOEXEC): Likewise.
21318 (__ASSUME_SOCK_CLOEXEC): Likewise.
21319 (__ASSUME_IN_NONBLOCK): Likewise.
21320 (__ASSUME_PIPE2): Likewise.
21321 (__ASSUME_EVENTFD2): Likewise.
21322 (__ASSUME_SIGNALFD4): Likewise.
21323 (__ASSUME_DUP3): Likewise.
21324 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21325 Likewise.
21326 (__ASSUME_UTIMES): Likewise.
21327 (__ASSUME_EVENTFD2): Likewise.
21328 (__ASSUME_SIGNALFD4): Likewise.
21329 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21330 (__ASSUME_O_CLOEXEC): Likewise.
21331 (__ASSUME_SOCK_CLOEXEC): Likewise.
21332 (__ASSUME_IN_NONBLOCK): Likewise.
21333 (__ASSUME_PIPE2): Likewise.
21334 (__ASSUME_EVENTFD2): Likewise.
21335 (__ASSUME_SIGNALFD4): Likewise.
21336 (__ASSUME_DUP3): Likewise.
21337 (__ASSUME_UTIMES): Undefine.
21338
21339 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21340 feclearexcept. Remove symbol versioning code.
21341 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21342 symbol versioning code.
21343 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21344 symbol versioning code.
21345 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21346 feupdateenv. Remove symbol versioning code.
21347 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21348 fegetexceptflag. Remove symbol versioning code.
21349 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21350 fesetexceptflag. Remove symbol versioning code.
21351 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21352 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21353 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21354 (__posix_fadvise64_l32): Remove prototype.
21355 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21356 code.
21357
21358 2014-05-13 Roland McGrath <roland@hack.frob.com>
21359
21360 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21361 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21362 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21363 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21364
21365 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21366
21367 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21368 current working directory
21369
21370 2014-05-13 Roland McGrath <roland@hack.frob.com>
21371
21372 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21373 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21374 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21375 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21376 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21377 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21378 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21379 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21380 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21381 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21382 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21383 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21384 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21385 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21386 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21387 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21388 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21389 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21390 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21391 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21392 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21393 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21394 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21395 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21396 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21397 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21398 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21399 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21400 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21401 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21402 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21403 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21404 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21405 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21406 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21407 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21408 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21409 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21410 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21411 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21412 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21413 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21414
21415 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21416 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21417
21418 * sysdeps/unix/sysv/linux/arm/Makefile
21419 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21420 Add rt-aeabi_unwind_cpp_pr1.
21421 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21422 Add nptl-aeabi_unwind_cpp_pr1.
21423 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21424 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21425 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21426 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21427 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21428 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21429
21430 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21431 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21432 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21433 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21434
21435 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21436 Deconditionalize the code that was previously under [RESET_PID].
21437 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21438
21439 * sysdeps/generic/exit-thread.h: New file.
21440 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21441 * include/unistd.h (__exit_thread): Remove declaration.
21442 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21443 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21444 * csu/libc-start.c: Include <exit-thread.h>.
21445 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21446 * nptl/pthread_create.c: Include <exit-thread.h>.
21447 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21448 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21449 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21450 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21451 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21452 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21453 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21454 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21455 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21456 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21457 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21458 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21459 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21460 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21461 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21462 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21463 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21464
21465 2014-05-13 Andreas Schwab <schwab@suse.de>
21466
21467 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21468
21469 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21470
21471 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21472 (__ASSUME_UTIMES): Do not condition on kernel version.
21473 (__ASSUME_PSELECT): Define unconditionally.
21474 (__ASSUME_PPOLL): Likewise.
21475 (__ASSUME_ATFCTS): Likewise.
21476 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21477 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21478 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21479 (__ASSUME_UTIMENSAT): Define unconditionally.
21480 (__ASSUME_PRIVATE_FUTEX): Likewise.
21481 (__ASSUME_FALLOCATE): Likewise.
21482 (__ASSUME_O_CLOEXEC): Likewise.
21483 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21484 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21485 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21486 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21487 (__ASSUME_IN_NONBLOCK): Likewise.
21488 (__ASSUME_PIPE2): Likewise.
21489 (__ASSUME_EVENTFD2): Likewise.
21490 (__ASSUME_SIGNALFD4): Likewise.
21491 (__ASSUME_DUP3): Likewise.
21492 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21493 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21494 (__ASSUME_AT_RANDOM): Likewise.
21495 (__ASSUME_PREADV): Likewise.
21496 (__ASSUME_PWRITEV): Likewise.
21497 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21498 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21499 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21501 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21503 (__ASSUME_O_CLOEXEC): Define unconditionally.
21504 (__ASSUME_PSELECT): Do not undefine conditionally.
21505 (__ASSUME_PPOLL): Likewise.
21506 (__ASSUME_ATFCTS): Likewise.
21507 (__ASSUME_SET_ROBUST_LIST): Likewise.
21508 (__ASSUME_UTIMENSAT): Likewise.
21509 (__ASSUME_FDATASYNC): Define unconditionally.
21510 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21511 (__ASSUME_SIGFRAME_V2): Likewise.
21512 )__ASSUME_EVENTFD2): Likewise.
21513 (__ASSUME_SIGNALFD4): Likewise.
21514 (__ASSUME_PSELECT): Do not undefine conditionally.
21515 (__ASSUME_PPOLL): Likewise.
21516 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21517 (__ASSUME_PSELECT): Define unconditionally.
21518 (__ASSUME_PPOLL): Likewise.
21519 (__ASSUME_O_CLOEXEC): Likewise.
21520 (__ASSUME_SOCK_CLOEXEC): Likewise.
21521 (__ASSUME_IN_NONBLOCK): Likewise.
21522 (__ASSUME_PIPE2): Likewise.
21523 (__ASSUME_EVENTFD2): Likewise.
21524 (__ASSUME_SIGNALFD4): Likewise.
21525 (__ASSUME_DUP3): Likewise.
21526 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21527 (__ASSUME_O_CLOEXEC): Likewise.
21528 (__ASSUME_SOCK_CLOEXEC): Likewise.
21529 (__ASSUME_IN_NONBLOCK): Likewise.
21530 (__ASSUME_PIPE2): Likewise.
21531 (__ASSUME_EVENTFD2): Likewise.
21532 (__ASSUME_SIGNALFD4): Likewise.
21533 (__ASSUME_DUP3): Likewise.
21534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21535 (__ASSUME_EVENTFD2): Likewise.
21536 (__ASSUME_SIGNALFD4): Likewise.
21537 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21538
21539 2014-05-12 Andreas Schwab <schwab@suse.de>
21540
21541 [BZ #16932]
21542 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21543 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21544 than maximum RPC packet size.
21545 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21546 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21547 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21548 (_nss_nis_getservbyport_r): Likewise.
21549
21550 2014-05-12 Will Newton <will.newton@linaro.org>
21551
21552 * malloc/Makefile (tests): Add tst-mallopt.
21553 * malloc/tst-mallopt.c: New file.
21554
21555 2014-05-09 Roland McGrath <roland@hack.frob.com>
21556
21557 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21558 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21559
21560 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21561
21562 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21563 (tst-tlsmod6.so): Likewise.
21564
21565 2014-05-09 Roland McGrath <roland@hack.frob.com>
21566
21567 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21568
21569 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21570
21571 [BZ #16064]
21572 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21573 and <dl-procinfo.h>.
21574 (__fegetenv): Save SSE state in envp->__eip if supported.
21575 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21576 envp->__eip if supported.
21577 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21578 and <dl-procinfo.h>.
21579 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21580 __data_offset and __data_selector in environment to 0. Set SSE
21581 state if supported.
21582 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21583 test-fenv-sse.
21584 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21585 -mfpmath=sse.
21586 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21587
21588 2014-05-09 Will Newton <will.newton@linaro.org>
21589
21590 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21591 and libc_relro_required for ARM.
21592 * sysdeps/arm/preconfigure: Regenerate.
21593
21594 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21595 Stefan Liebler <stli@linux.vnet.ibm.com>
21596
21597 * config.make.in (enable-lock-elision): New Makefile variable.
21598 * configure.ac: Likewise.
21599 * configure: Regenerate.
21600 * sysdeps/s390/configure.ac:
21601 Add check for gcc transactions support.
21602 * sysdeps/s390/configure: Regenerate.
21603 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21604 Build elision files if enabled.
21605 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21606 Add lock elision support for s390.
21607 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21608 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21609 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21610 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21611 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21612 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21613 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21614 Likewise.
21615 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21616 Likewise.
21617 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21618 Likewise.
21619 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21620 Likewise.
21621 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21622 (__lll_timedlock_elision, __lll_lock_elision)
21623 (__lll_unlock_elision, __lll_trylock_elision)
21624 (lll_timedlock_elision, lll_lock_elision)
21625 (lll_unlock_elision, lll_trylock_elision): Add.
21626 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21627 (pthread_mutex_t): Add lock elision support for s390.
21628
21629 2014-05-14 Wilco <wdijkstr@arm.com>
21630
21631 * sysdeps/arm/fclrexcpt.c: Cleanup.
21632 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21633 * sysdeps/arm/feenablxcpt.c: Cleanup.
21634 * sysdeps/arm/fegetenv.c: Cleanup.
21635 * sysdeps/arm/fegetexcept.c: Cleanup.
21636 * sysdeps/arm/fegetround.c: Cleanup.
21637 * sysdeps/arm/feholdexcpt.c: Cleanup.
21638 * sysdeps/arm/fesetenv.c: Cleanup.
21639 * sysdeps/arm/fesetround.c: Cleanup.
21640 * sysdeps/arm/feupdateenv.c: Cleanup.
21641 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21642 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21643 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21644 * sysdeps/arm/ftestexcept.c: Cleanup.
21645 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21646 * sysdeps/arm/setfpucw.c: Cleanup.
21647
21648 2014-05-09 Will Newton <will.newton@linaro.org>
21649
21650 * sysdeps/arm/armv7/strcmp.S: New file.
21651 * NEWS: Mention addition of ARMv7 optimized strcmp.
21652
21653 2014-05-08 Roland McGrath <roland@hack.frob.com>
21654
21655 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21656 look for %.ac rather than %.in.
21657
21658 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21659 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21660 * sysdeps/mach/hurd/configure: Regenerated.
21661 * sysdeps/unix/sysv/linux/configure: Regenerated.
21662
21663 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21664
21665 2014-05-07 Steve Ellcey <sellcey@mips.com>
21666
21667 [BZ# 16922]
21668 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21669 (LONG_SUB): Ditto.
21670 (PTR_SUB): Ditto.
21671
21672 2014-05-07 Andreas Schwab <schwab@suse.de>
21673
21674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21675 when skipping over non-matching result from nscd.
21676
21677 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21678
21679 [BZ #16876]
21680 * nptl/sockperf.c (client): Check socket return value.
21681
21682 [BZ #16877]
21683 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21684 nscd security class.
21685
21686 2014-05-06 Roland McGrath <roland@hack.frob.com>
21687
21688 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21689 * sysdeps/arm/unwind.h: ... here.
21690
21691 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21692
21693 [BZ# 16916]
21694 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21695 Define.
21696
21697 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21698
21699 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21700 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21701 multiarch strncpy for PPC64.
21702 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21703 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21705 multiarch optimizations.
21706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21707 (__libc_ifunc_impl_list): Likewise.
21708 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21709 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21710 multiarch stpncpy for PPC64.
21711 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21712 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21713
21714 2014-05-06 Andreas Schwab <schwab@suse.de>
21715
21716 [BZ #16912]
21717 * gmon/mcount.c (_MCOUNT_DECL): Use
21718 atomic_compare_and_exchange_bool_acq instead of
21719 catomic_compare_and_exchange_bool_acq.
21720
21721 2014-05-05 Roland McGrath <roland@hack.frob.com>
21722
21723 * elf/Makefile (others, install-bin): Remove pldd.
21724 (pldd-modules): Variable removed.
21725 ($(objpfx)pldd): Target removed.
21726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21727 (others, install-bin): Append pldd here.
21728 ($(objpfx)pldd): New target.
21729
21730 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21731 to 0, so the first #if test emitted later doesn't see it undefined.
21732 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21733 * sysdeps/gnu/errlist.c: Regenerated.
21734
21735 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21736
21737 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21738 [libc_hidden_builtin_def]: Define to empty value.
21739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21740 [libc_hidden_builtin_def]: Likewise.
21741 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21742 [libc_hidden_builtin_def]: Likewise.
21743 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21744 [libc_hidden_builtin_def]: Likewise.
21745 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21746 __redirect_memcpy and define ifunc as default hidden symbol.
21747 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21748 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21749
21750 2014-05-04 Adam Conrad <adconrad@0c3.net>
21751
21752 * locale/iso-4217.def: Reintroduce XDR currency.
21753
21754 2014-05-04 Allan McRae <allan@archlinux.org>
21755
21756 * po/eo.po: Update Esperanto translation from translation project.
21757
21758 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21759
21760 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21761 and FEATURE_INDEX_MAX to 1.
21762 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21763
21764 2014-05-01 Steve Ellcey <sellcey@mips.com>
21765
21766 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21767 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21768 * iconvdata/big5.c (ONE_DIRECTION): Define.
21769 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21770 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21771 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21772 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21773 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21774 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21775 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21776 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21777 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21778 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21779 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21780 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21781 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21782 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21783 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21784 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21785 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21786 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21787 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21788 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21789 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21790 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21791 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21792 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21793 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21794 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21795 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21796 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21797 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21798 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21799 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21800 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21801 * iconvdata/johab.c (ONE_DIRECTION): Define.
21802 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21803 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21804 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21805 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21806 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21807 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21808 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21809 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21810 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21811 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21812
21813 2014-05-01 Roland McGrath <roland@hack.frob.com>
21814
21815 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21816 (_IO_JUMPS_OFFSET): Define to 0.
21817
21818 * nptl/sysdeps/pthread/bits/libc-lock.h
21819 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21820 (__libc_lock_define_initialized_recursive): Always define using
21821 initializer. Modern compilers treat uninitialized (implicit zero) and
21822 explicit zero initializers the same (i.e. put the datum in bss).
21823
21824 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21825
21826 * nscd/nscd-client.h: Include <string.h>.
21827
21828 2014-05-01 David S. Miller <davem@davemloft.net>
21829
21830 [BZ #16885]
21831 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21832 multiple zero bytes exist at the end of a string.
21833 Reported by Aurelien Jarno <aurelien@aurel32.net>
21834
21835 * string/test-strcmp.c (check): Add explicit test for situations where
21836 there are multiple zero bytes after the first.
21837
21838 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21839
21840 [BZ #16890]
21841 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21842 when compiling wprintf.
21843 * stdio-common/tstdiomisc.c (t3): New function.
21844 (main): Call it.
21845
21846 2014-05-01 Steve Ellcey <sellcey@mips.com>
21847
21848 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21849 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21850 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21851 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21852
21853 2014-05-01 Steve Ellcey <sellcey@mips.com>
21854
21855 * stdlib/longlong.h: Updated from GCC.
21856
21857 2014-05-01 Will Newton <will.newton@linaro.org>
21858 Bernard Ogden <bernie.ogden@linaro.org>
21859
21860 * NEWS: Update fixed bug list.
21861
21862 [BZ #15119]
21863 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21864
21865 2014-04-30 David S. Miller <davem@davemloft.net>
21866
21867 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21868 (libc_feholdexcept_setround_sparc_ctx): New function.
21869 (libc_fesetenv_sparc_ctx): Likewise.
21870 (libc_feupdateenv_sparc_ctx): Likewise.
21871 (libc_feholdsetround_sparc_ctx): Likewise.
21872 (libc_feholdexcept_setround_ctx): Define.
21873 (libc_feholdexcept_setroundf_ctx): Likewise.
21874 (libc_feholdexcept_setroundl_ctx): Likewise.
21875 (libc_fesetenv_ctx): Likewise.
21876 (libc_fesetenvf_ctx): Likewise.
21877 (libc_fesetenvl_ctx): Likewise.
21878 (libc_feupdateenv_ctx): Likewise.
21879 (libc_feupdateenvf_ctx): Likewise.
21880 (libc_feupdateenvl_ctx): Likewise.
21881 (libc_feresetround_ctx): Likewise.
21882 (libc_feresetroundf_ctx): Likewise.
21883 (libc_feresetroundl_ctx): Likewise.
21884 (libc_feholdsetround_ctx): Likewise.
21885 (libc_feholdsetroundf_ctx): Likewise.
21886 (libc_feholdsetroundl_ctx): Likewise.
21887
21888 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21889 with __USE_GNU instead of XOPEN cpp guards.
21890
21891 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21892 0.
21893
21894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21895 with XOPEN cpp guards.
21896
21897 2014-04-30 Julian Brown <julian@codesourcery.com>
21898
21899 [BZ #16888]
21900 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21901 handling.
21902
21903 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21904
21905 [BZ #9894]
21906 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21907 Change to 2.6.32.
21908 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21909 * sysdeps/unix/sysv/linux/configure: Regenerated.
21910 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21911 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21912 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21913 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21914 * README: Update reference to required Linux kernel version.
21915 * manual/install.texi (Linux): Update reference to required Linux
21916 kernel headers version.
21917 * INSTALL: Regenerated.
21918
21919 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21920 header inclusion.
21921 [POSIX] (limits.h): Likewise.
21922 [POSIX] (math.h): Likewise.
21923 [POSIX] (sys/wait.h): Likewise.
21924 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21925 function.
21926 [POSIX] (stddef.h): Do not allow header inclusion.
21927
21928 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21929
21930 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21931
21932 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21933
21934 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21935 Return immediately after lll_futex_wake.
21936
21937 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21938
21939 [BZ #16791]
21940 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21941 structure.
21942 (datahead_init_pos): Call datahead_init_common early.
21943 (datahead_init_neg): Likewise.
21944
21945 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21946 datahead_init_neg): New functions.
21947 * nscd/aicache.c (addhstaiX): Use them.
21948 * nscd/grpcache.c (cache_addgr): Likewise.
21949 * nscd/hstcache.c (cache_addhst): Likewise.
21950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21951 * nscd/netgroupcache.c (do_notfound): Likewise.
21952 (addgetnetgrentX): Likewise.
21953 (addinnetgrX): Likewise.
21954 * nscd/pwdcache.c (cache_addpw): Likewise.
21955 * nscd/servicescache.c (cache_addserv): Likewise.
21956
21957 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21958 Atsushi Onoe <atsushi@onoe.org>
21959
21960 [BZ #14308]
21961 [BZ #12994]
21962 [BZ #13651]
21963 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21964 one response is valid.
21965 * resolv/res_send.c (send_dg): Check for validity of other
21966 response if the current response is a referral.
21967
21968 2014-04-29 Steve Ellcey <sellcey@mips.com>
21969
21970 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21971
21972 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21973
21974 [BZ #16823]
21975 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21976 Always divide by positive zero when computing -Inf result.
21977 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21978 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21979
21980 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21981
21982 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21983 FPSCR if value do not change.
21984 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21985 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21986 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21987 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21988 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21989 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21990 function.
21991
21992 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21993
21994 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21995 * sysdeps/unix/sysv/linux/hppa: Move directory from
21996 ports/systeps/unix/sysv/linux/hppa.
21997 * README: Update listing for hppa-*-linux-gnu.
21998
21999 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22000
22001 [BZ #16754]
22002 * manual/stdio.texi (Hook functions): Fix types of stream hook
22003 functions.
22004 [BZ #16854]
22005 * socket/sys/socket.h: Fix typo in comment.
22006
22007 2014-04-28 Wilco <wdijkstr@arm.com>
22008
22009 * sysdeps/arm/fenv_private.h: New file.
22010 * sysdeps/arm/math_private.h: New file.
22011 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22012
22013 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22014
22015 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22016 with __int128_t.
22017 (La_x86_64_retval): Likewise.
22018
22019 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22020
22021 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22022 fpsr if value didn't change.
22023 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22024 to fpcr if value didn't change.
22025 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22026 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22027 fpsr or fpcr if value didn't change.
22028 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22029 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22030 fpcr if value didn't change.
22031 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22032 to fpsr if value didn't change.
22033
22034 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
22036 * nptl/tst-sem3.c: Use test-skeleton.c
22037 (main): Rename to do_test. Use return instead of
22038 exit.
22039 * nptl/tst-sem4.c: Use test-skeleton.c
22040 (main): Rename to do_test.
22041
22042 2014-04-22 David S. Miller <davem@davemloft.net>
22043
22044 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22045 (struct sigaction): New struct member __glibc_reserved0, change
22046 type of sa_flags to int.
22047
22048 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22049
22050 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22051 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22052
22053 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22054
22055 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22056 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22057
22058 2014-04-22 Will Newton <will.newton@linaro.org>
22059 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22060
22061 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22062 (__longjmp): Add longjmp and longjmp_target SystemTap
22063 probes.
22064 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22065 (__sigsetjmp): Add setjmp SystemTap probe.
22066
22067 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22068
22069 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22070 match manual order.
22071
22072 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22073
22074 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22075
22076 * sysdeps/powerpc/fpu/fenv_private.h
22077 (libc_feholdexcept_setroundl_ctx): Define to
22078 libc_feholdexcept_setround_ppc_ctx.
22079 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22080 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22081 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22082 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22083
22084 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22085
22086 * sysdeps/aarch64/math-tests.h: New file.
22087
22088 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22089
22090 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22091 New.
22092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22093 Check and set bit_AVX2_Usable.
22094 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22095 macro.
22096 (bit_AVX2): Likewise.
22097 (index_AVX2_Usable): Likewise.
22098 (CPUID_AVX2): Likewise.
22099 (HAS_AVX2): Likewise.
22100
22101 2014-04-17 Will Newton <will.newton@linaro.org>
22102
22103 * manual/setjmp.texi (System V contexts): Add note that
22104 calling setcontext on a context created by a call to a
22105 signal handler is undefined. Update text to note that
22106 setcontext from a signal handler is possible but not
22107 recommended.
22108
22109 [BZ #16629]
22110 * stdlib/tst-setcontext.c: Include signal.h.
22111 (main): Check that the signal stack before and
22112 after swapcontext is the same.
22113
22114 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22115 Re-implement to restore registers in user code and avoid
22116 rt_sigreturn system call.
22117
22118 2014-04-17 Wilco <wdijkstr@arm.com>
22119
22120 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22121 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22122 * math/test-fenv.c: Skip exception trap tests on targets which only
22123 support non-stop mode.
22124
22125 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22126 Wilco Dijkstra <wilco.dijkstra@arm.com>
22127
22128 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22129 (libc_feholdsetround_aarch64_ctx)
22130 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22131 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22132 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22133 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22134 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22135 (libc_feresetround_noexl_ctx): Define.
22136
22137 2014-04-16 Richard Henderson <rth@redhat.com>
22138
22139 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22140
22141 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22142 unwind tables.
22143
22144 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22145 const from the non-libc, non-ldso copy.
22146
22147 * sysdeps/alpha/libm-test-ulps: Regenerate.
22148
22149 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22150 Wilco Dijkstra <wilco.dijkstra@arm.com>
22151
22152 * sysdeps/aarch64/fpu/math_private.h: New file.
22153
22154 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22155
22156 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22157
22158 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22159
22160 [BZ #16275]
22161 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22162 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22164 Intel MPX bound registers before _dl_profile_fixup.
22165 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22166 registers after _dl_profile_fixup. Save and restore bound
22167 registers bnd0/bnd1 when calling _dl_call_pltexit.
22168 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22169 (LR_BND_OFFSET): Likewise.
22170 (LRV_BND0_OFFSET): Likewise.
22171 (LRV_BND1_OFFSET): Likewise.
22172
22173 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22174
22175 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22176 to...
22177 * sysdeps/mach/hurd/i386/tls.h: ... here.
22178 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22179 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22180 fields.
22181
22182 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22183
22184 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22185
22186 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22187
22188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22189
22190 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22191
22192 [BZ #14770]
22193 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22194 * sysdeps/s390/configure: Regenerate.
22195
22196 [BZ #16824]
22197 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22198 Set round-to-nearest internally to reduce error accumulation.
22199
22200 2014-04-16 Alan Modra <amodra@gmail.com>
22201
22202 [BZ #16740]
22203 [BZ #16619]
22204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22205 * math/libm-test.inc (frexp_test_data): Add tests.
22206 * NEWS: Update fixed bug list.
22207
22208 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22209
22210 * benchtests/Makefile: Depend on libraries in build directory.
22211 (bench-math): Separate out math tests.
22212 (bench-pthread): Separate out pthread tests.
22213 (bench): Include math and pthread tests.
22214
22215 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22216
22217 [BZ #16831]
22218 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22219 _dl_debug_initialize.
22220
22221 * configure.ac: Remove SELinux header check.
22222 * configure: Regenerate.
22223 * nscd/selinux.c (perms): Array of const char* to permission names.
22224 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22225 default policy. Call string_to_security_class and string_to_av_perm to
22226 translate strings. Enforce default policy and call avs_has_perm with
22227 results of translated strings.
22228
22229 2014-04-13 David S. Miller <davem@davemloft.net>
22230
22231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22232
22233 2014-04-12 Allan McRae <allan@archlinux.org>
22234
22235 [BZ #16838]
22236 * manual/string.texi (Collation Functions): Fix qsort argument
22237 order in example.
22238 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22239
22240 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22241
22242 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22243 Make the test a no-op if there are no exceptions defined.
22244
22245 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22246
22247 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22248 enable-hardcoded-path-in-tests
22249
22250 2014-04-11 Will Newton <will.newton@linaro.org>
22251
22252 * benchtests/Makefile (extra-objs): Add json-lib.o.
22253 (bench-func): Tidy up JSON output.
22254 * benchtests/bench-skeleton.c: Include json-lib.h.
22255 (main): Use JSON library functions to do output of
22256 benchmark results.
22257 * benchtests/bench-timing-type.c (main): Output the
22258 timing type simply, leaving formatting to the user.
22259 * benchtests/json-lib.c: New file.
22260 * benchtests/json-lib.h: Likewise.
22261
22262 2014-04-11 Torvald Riegel <triegel@redhat.com>
22263
22264 [BZ #15215]
22265 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22266 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22267 memory barriers. Add comments.
22268 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22269 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22270 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22271 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22272 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22273 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22274
22275 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22276
22277 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22278 * sysdeps/s390/s390-64/configure.ac: ... this ...
22279 * sysdeps/s390/configure.ac: ... to here.
22280 * sysdeps/s390/s390-32/configure: Delete file.
22281 * sysdeps/s390/s390-64/configure: Delete file.
22282 * sysdeps/s390/configure: Regenerate.
22283
22284 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22285
22286 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22287
22288 2014-04-11 Will Newton <will.newton@linaro.org>
22289
22290 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22291 to zero if it is not defined elsewhere. (mtrim): Test
22292 the value of MALLOC_DEBUG with #if rather than #ifdef.
22293
22294 2014-04-10 Torvald Riegel <triegel@redhat.com>
22295
22296 * benchtests/pthread_once-inputs: New file.
22297 * benchtests/pthread_once-source.c: New file.
22298 * benchtests/README: Update documentation.
22299
22300 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22301 H.J. Lu <hongjiu.lu@intel.com>
22302
22303 [BZ #16275]
22304 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22305 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22306 * sysdeps/x86_64/configure: Regenerated.
22307 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22308 macro.
22309 (REGISTER_SAVE_RAX): Likewise.
22310 (REGISTER_SAVE_RCX): Likewise.
22311 (REGISTER_SAVE_RDX): Likewise.
22312 (REGISTER_SAVE_RSI): Likewise.
22313 (REGISTER_SAVE_RDI): Likewise.
22314 (REGISTER_SAVE_R8): Likewise.
22315 (REGISTER_SAVE_R9): Likewise.
22316 (REGISTER_SAVE_BND0): Likewise.
22317 (REGISTER_SAVE_BND1): Likewise.
22318 (REGISTER_SAVE_BND2): Likewise.
22319 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22320 bound registers when calling _dl_fixup.
22321
22322 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22323
22324 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22325 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22326 of its definition.
22327 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22328 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22329 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22330 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22331 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22332 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22333 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22334
22335 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22336
22337 [BZ #15514]
22338 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22339 pathconf(_PC_NAME_MAX).
22340
22341 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22342
22343 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22344 Remove macro usage.
22345 (__PTHREAD_SPINS): Move definition to ...
22346 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22347 (__PTHREAD_SPINS): ... here.
22348 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22349 (__PTHREAD_SPIN): Likewise.
22350 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22351 (__PTHREAD_SPIN): Likewise.
22352 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22353 (__PTHREAD_SPIN): Likewise.
22354 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22355 (__PTHREAD_SPIN): Likewise.
22356 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22357 (__PTHREAD_SPIN): Likewise.
22358 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22359 (__PTHREAD_SPIN): Likewise.
22360 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22361 (__PTHREAD_SPIN): Likewise.
22362 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22363 (__PTHREAD_SPIN): Likewise.
22364 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22365 (__PTHREAD_SPIN): Likewise.
22366 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22367 (__PTHREAD_SPIN): Likewise.
22368 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22369 (__PTHREAD_SPIN): Likewise.
22370 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22371 (__PTHREAD_SPIN): Likewise.
22372
22373 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22374 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22375 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22376 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22377 imply folder.
22378 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22379 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22380 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22381 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22382 correct imply path.
22383 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22384 strlen symbol for non multi-arch builds.
22385 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22386 missing hidden_def and weak_alias.
22387
22388 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22389
22390 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22391
22392 2014-04-07 Will Newton <will.newton@linaro.org>
22393
22394 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22395 and contents. [!_LIBC] Remove #ifndef and contents.
22396 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22397 * string/memccpy.c (__memccpy): Use ANSI prototype.
22398 * string/memfrob.c (memfrob): Likewise.
22399 * string/strcoll.c (STRCOLL): Likewise.
22400 * string/strlen.c (strlen): Likewise.
22401 * string/strtok.c (STRTOK): Likewise.
22402 * string/strcat.c: Remove unused #include of memcopy.h.
22403 (strcat): Use ANSI prototype.
22404 * string/strchr.c: Remove unused #include of memcopy.h.
22405 (strchr): Use ANSI prototype.
22406 * string/strcmp.c: Remove unused #include of memcopy.h.
22407 (strcmp): Use ANSI prototype.
22408 * string/strcpy.c: Remove unused #include of memcopy.h.
22409 (strcpy): Use ANSI prototype.
22410
22411 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412
22413 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22414 * config.make.in (config-extra-cppflags): Set it from
22415 libc_extra_cppflags.
22416 * configure.ac (libc_extra_cflags): Make it accumulate over
22417 configure fragments.
22418 (libc_extra_cppflags): New flag.
22419 * configure. Regenerate.
22420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22421 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22422 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22424
22425 [BZ #16815]
22426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22427 result for FE_DOWNWARD rounding mode.
22428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22429 Likewise.
22430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22431
22432 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22433
22434 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22435 in function argument name.
22436
22437 2014-04-03 David Svoboda <svoboda@cert.org>
22438
22439 [BZ #5666]
22440 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22441 explicitly.
22442
22443 2014-04-03 Roland McGrath <roland@hack.frob.com>
22444
22445 * elf/dl-unmap-segments.h: New file.
22446 * sysdeps/generic/ldsodefs.h
22447 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22448 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22449 * elf/dl-fptr.c: Likewise.
22450 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22451 * sysdeps/aarch64/tlsdesc.c: Likewise.
22452 * sysdeps/arm/tlsdesc.c: Likewise.
22453 * sysdeps/i386/tlsdesc.c: Likewise.
22454 * sysdeps/tile/dl-runtime.c: Likewise.
22455 * sysdeps/x86_64/tlsdesc.c: Likewise.
22456 * elf/dl-load.h: New file.
22457 * elf/dl-load.c: Include it.
22458 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22459 Macros moved to dl-load.h.
22460 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22461 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22462 Use _dl_unmap_segments in place of __munmap.
22463 Break out segment-mapping loop into ...
22464 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22465
22466 2014-04-03 Will Newton <will.newton@linaro.org>
22467
22468 * elf/dl-lookup.c (do_lookup_x): Remove comment
22469 referring to nested function and move variable
22470 declarations down to before first use.
22471
22472 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22473
22474 [BZ #16799]
22475 [BZ #16800]
22476 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22477 with 0 numerator.
22478 * math/s_catanf.c (__catanf): Likewise.
22479 * math/s_catanh.c (__catanh): Likewise.
22480 * math/s_catanhf.c (__catanhf): Likewise.
22481 * math/s_catanhl.c (__catanhl): Likewise.
22482 * math/s_catanl.c (__catanl): Likewise.
22483 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22484 by positive zero when computing -Inf result.
22485 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22486 (catanh_test): Likewise.
22487 * sysdeps/i386/fpu/libm-test-ulps: Update.
22488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22489
22490 [BZ #16789]
22491 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22492 instead of using underflowing value in computing result.
22493 * math/s_clog10.c (__clog10): Likewise.
22494 * math/s_clog10f.c (__clog10f): Likewise.
22495 * math/s_clog10l.c (__clog10l): Likewise.
22496 * math/s_clogf.c (__clogf): Likewise.
22497 * math/s_clogl.c (__clogl): Likewise.
22498 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22499 (clog10_test): Likewise.
22500 * sysdeps/i386/fpu/libm-test-ulps: Update.
22501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22502
22503 2014-04-02 Alan Modra <amodra@gmail.com>
22504
22505 [BZ #16739]
22506 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22507 output when value is near a power of two. Use int64_t for lx and
22508 remove casts. Use decimal rather than hex exponent constants.
22509 Don't use long double multiplication when double will suffice.
22510 * math/libm-test.inc (nextafter_test_data): Add tests.
22511 * NEWS: Add 16739 and 16786 to bug list.
22512
22513 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22514
22515 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22516
22517 2014-04-01 Will Newton <will.newton@linaro.org>
22518
22519 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22520 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22521
22522 2014-04-01 Florian Weimer <fweimer@redhat.com>
22523
22524 [BZ #13347]
22525 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22526 * nptl/tst-setuid2.c: New file.
22527 * nptl/Makefile (xtests): Add tst-setuid2.
22528
22529 2014-04-01 Alan Modra <amodra@gmail.com>
22530
22531 [BZ #16786]
22532 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22533
22534 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22535
22536 [BZ #6803]
22537 [BZ #6804]
22538 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22539 set errno as appropriate.
22540 * math/w_scalbf.c (__scalbf): Likewise.
22541 * math/w_scalbl.c (__scalbl): Likewise.
22542 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22543 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22544 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22545 Add more NaN tests.
22546
22547 [BZ #16349]
22548 * math/w_atan2.c: Include <errno.h>.
22549 (__atan2): Set errno for result underflowing to zero.
22550 * math/w_atan2f.c: Include <errno.h>.
22551 (__atan2f): Set errno for result underflowing to zero.
22552 * math/w_atan2l.c: Include <errno.h>.
22553 (__atan2l): Set errno for result underflowing to zero.
22554 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22555 tests.
22556 * math/auto-libm-test-out: Regenerated.
22557
22558 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22559
22560 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22561 Encode instruction correctly in little endian.
22562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22563 Likewise.
22564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22565 Likewise.
22566 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22567 Likewise.
22568 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22569 Likewise.
22570
22571 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22572
22573 [BZ #9894]
22574 * sysdeps/unix/sysv/linux/kernel-features.h
22575 [__sparc__ && !__arch64__ && !__sparc_v9__]
22576 (__ASSUME_SET_ROBUST_LIST): Do not define.
22577 [__sparc__ && !__arch64__ && !__sparc_v9__]
22578 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22579 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22580 Likewise.
22581 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22582 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22583 (__ASSUME_REQUEUE_PI): Likewise.
22584 (__ASSUME_SET_ROBUST_LIST): Likewise.
22585 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22586 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22587 Undefine.
22588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22590 Likewise.
22591 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22592 Likewise.
22593 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22594 Likewise.
22595 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22596 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22597 Undefine.
22598 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22599 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22600 Likewise.
22601
22602 [BZ #16648]
22603 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22605 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22606
22607 2014-03-31 Will Newton <will.newton@linaro.org>
22608
22609 * benchtests/Makefile (bench): Add ffs and ffsll to list
22610 of tests.
22611 * benchtests/ffs-inputs: New file.
22612 * benchtests/ffsll-inputs: Likewise.
22613
22614 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #16770]
22617 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22618 too large before casting to int.
22619 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22620 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22621 * math/libm-test.inc (scalb_test_data): Add more tests.
22622
22623 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22624
22625 * benchtests/Makefile (DETAILED_OPT): New make option.
22626 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22627 set.
22628 * benchtests/bench-skeleton.c: Include stdbool.h.
22629 (main): Store and print timings per input.
22630 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22631 member to each argument value.
22632 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22633 (_print_arg_data): Initialize per-input timing to 0.
22634
22635 * benchtests/Makefile (timing-type): New binary.
22636 (bench-clean): Also remove bench-timing-type.
22637 (bench): New target for timing-type.
22638 (bench-func): Print output in JSON format.
22639 * benchtests/bench-skeleton.c (main): Print output in JSON
22640 format.
22641 * benchtests/bench-timing-type.c: New file.
22642 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22643 (TIMING_PRINT_STATS): Remove.
22644 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22645 name separately.
22646
22647 * benchtests/bench-modf.c: Remove.
22648 * benchtests/modf-inputs: New inputs file.
22649
22650 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22651
22652 [BZ #16362]
22653 * math/s_clog10.c (M_PI_LOG10E): New macro.
22654 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22655 imaginary parts are 0.
22656 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22657 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22658 imaginary parts are 0.
22659 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22660 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22661 imaginary parts are 0.
22662 * math/libm-test.inc (clog10_test_data): Update expected results
22663 for when real and imaginary parts are 0.
22664
22665 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22666
22667 * elf/dl-load.c: Finish conversion of __builtin_expect into
22668 __glibc_{un}likely.
22669
22670 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22671
22672 [BZ #16348]
22673 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22674 1+x for argument with exponent below -67.
22675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22676 Likewise.
22677 * math/auto-libm-test-in: Add more tests of exp.
22678 * math/auto-libm-test-out: Regenerated.
22679
22680 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22681
22682 [BZ #16759]
22683 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22684 (nscd_getnetgrent): Use it.
22685
22686 [BZ #16760]
22687 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22688 of stpcpy.
22689
22690 2014-03-27 Andi Kleen <ak@linux.intel.com>
22691
22692 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22693 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22694 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22695 (lll_robust_unlock): Remove out of line section. Use cfi
22696 intrinsics.
22697 (LLL_STUB_UNWIND_INFO*): Remove.
22698 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22699 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22700 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22701 (lll_robust_unlock): Remove out of line section. Use cfi
22702 intrinsics.
22703 (LLL_STUB_UNWIND_INFO*): Remove.
22704
22705 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22706
22707 [BZ #16758]
22708 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22709 blank values.
22710
22711 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22712
22713 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22714
22715 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22716
22717 [BZ #16198]
22718 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22719 fnstenv.
22720 * math/test-fenv-preserve.c: New file.
22721 * math/Makefile (tests): Add test-fenv-preserve.
22722
22723 2014-03-26 Will Newton <will.newton@linaro.org>
22724
22725 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22726
22727 2014-03-25 Roland McGrath <roland@hack.frob.com>
22728
22729 * scripts/versionlist.awk: Partition the version sets and emit all
22730 GLIBC_* (sorted) before all others (sorted).
22731
22732 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22733
22734 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22735 GLIBC_2.2.5 version.
22736
22737 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22738
22739 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22740 calls.
22741
22742 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22743 previous change.
22744
22745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22746
22747 2014-03-25 Andreas Schwab <schwab@suse.de>
22748
22749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22750 label to be used after in6ailist is initialized.
22751
22752 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22753
22754 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22755 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22756
22757 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22758
22759 [BZ #16357]
22760 [BZ #16599]
22761 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22762 min_plus_half.
22763 (fp_formats): Update initializers.
22764 (init_fp_formats): Initialize new field.
22765 (output_for_one_input_case): Allow underflow for results up to
22766 min_plus_half.
22767 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22768 * math/auto-libm-test-in: Don't mark some underflows from asin and
22769 atanh as spurious.
22770 * math/auto-libm-test-out: Regenerated.
22771 * sysdeps/i386/fpu/libm-test-ulps: Update.
22772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22773
22774 2014-03-25 Andreas Schwab <schwab@suse.de>
22775
22776 * libio/Makefile (tst-ftell-partial-wide-ENV)
22777 (tst-ftell-active-handler-ENV): Define.
22778
22779 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22780
22781 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22782
22783 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22784
22785 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22786
22787 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22788
22789 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22790 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22791 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22792
22793 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22794
22795 [BZ #16634]
22796 * elf/dl-load.c (open_verify): Add mode parameter.
22797 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22798 (open_path): Change from boolean 'secure' to complete flag 'mode'
22799 (_dl_map_object): Adjust.
22800 * elf/Makefile (tests): Add tst-dlopen-aout.
22801 * elf/tst-dlopen-aout.c: New test.
22802
22803 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22804
22805 [BZ #16714]
22806 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22807 (struct stat): Rename member pad0 to __glibc_reserved0.
22808
22809 [BZ #16712]
22810 * sysdeps/s390/s390-32/bits/wordsize.h
22811 (__WORDSIZE32_SIZE_ULONG): New define.
22812 * sysdeps/s390/s390-64/bits/wordsize.h
22813 (__WORDSIZE32_SIZE_ULONG): Likewise.
22814 * sysdeps/generic/stdint.h (SIZE_MAX):
22815 Define as UL if __WORDSIZE32_SIZE_ULONG.
22816
22817 [BZ #16713]
22818 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22819 (__glibc_reserved0): New variable.
22820 (sa_flags): Change type to int.
22821
22822 * posix/Makefile (before-compile): Use += before-compile instead
22823 of a :=.
22824
22825 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22826 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22827
22828 2014-03-20 Andreas Schwab <schwab@suse.de>
22829
22830 [BZ #16743]
22831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22832 non-matching result from nscd.
22833
22834 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22835
22836 * scripts/bench.py: Moved to ...
22837 * benchtests/scripts/bench.py: ... here.
22838 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22839
22840 2014-03-24 Andreas Schwab <schwab@suse.de>
22841
22842 [BZ #16002]
22843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22844 alloca_account and account alloca use for struct in6ailist.
22845
22846 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22847
22848 [BZ #16284]
22849 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22850 rounding mode to recompute results that overflow to infinity or
22851 underflow to zero.
22852 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22853 bug 16284.
22854 * math/auto-libm-test-out: Regenerated.
22855 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22856 (ccosh_test): Likewise.
22857 (csin_test_data): Use plus_oflow.
22858 (csin_test): Use ALL_RM_TEST.
22859 (csinh_test_data): Use plus_oflow.
22860 (csinh_test): Use ALL_RM_TEST.
22861 * sysdeps/i386/fpu/libm-test-ulps: Update.
22862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22863
22864 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22865
22866 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22867 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22868 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22869
22870 [BZ #16731]
22871 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22872 when x - 1 is zero.
22873 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22874 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22875 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22876 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22877 argument is 1.
22878 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22879 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22880 zero.
22881 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22882 * sysdeps/i386/fpu/libm-test-ulps: Update.
22883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22884
22885 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22886
22887 * scripts/bench.pl: Remove file.
22888 * scripts/bench.py: New benchmark script.
22889 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22890 * benchtests/README: Mention python dependency.
22891 * scripts/pylintrc: New file.
22892 * scripts/pylint: New file.
22893
22894 * bits/mathdef.h: Use #ifdef instead of #if.
22895 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22896 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22897 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22898 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22899 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22900 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22901
22902 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22903 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22904
22905 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22907 and strpbrk-ppc64 objects.
22908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22909 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22910 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22911 multiarch strpbrk for POWER7.
22912 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22913 multiarch strpbrk for PPC64.
22914 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22915 ifunc selector.
22916 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22917 strpbrk for POWER7.
22918
22919 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22920
22921 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22922 (atan_test): Likewise.
22923 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22924 (atanh_test): Use ALL_RM_TEST.
22925 (atan2_test_data): Likewise.
22926 (cabs_test): Likewise.
22927 (cacosh_test): Likewise.
22928 (carg_test): Likewise.
22929 (casin_test): Likewise.
22930 (casinh_test): Likewise.
22931 (cbrt_test): Likewise.
22932 (csqrt_test): Likewise.
22933 (erf_test): Likewise.
22934 (erfc_test): Likewise.
22935 (pow10_test): Likewise.
22936 (exp2_test): Likewise.
22937 (hypot_test): Likewise.
22938 (j0_test): Likewise.
22939 (j1_test): Likewise.
22940 (lgamma_test): Likewise.
22941 (gamma_test): Likewise.
22942 (sincos_test): Likewise.
22943 (tanh_test): Likewise.
22944 (y0_test): Likewise.
22945 (y1_test): Likewise.
22946 * sysdeps/i386/fpu/libm-test-ulps: Update.
22947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948
22949 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22950
22951 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22953 and strcspn-ppc64 objects.
22954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22955 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22956 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22957 multiarch strcspn for POWER7.
22958 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22959 multiarch strcspn for PPC64.
22960 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22961 ifunc selector.
22962 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22963 strcspn for POWER7.
22964
22965 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22966
22967 * math/gen-libm-test.pl (generate_testfile): Expect only function
22968 name as argument to AUTO_TESTS_* and pass results for all rounding
22969 modes to parse_args.
22970 (parse_auto_input): Separate inputs of automatic tests from
22971 outputs before storing in %auto_tests.
22972 * math/libm-test.inc (acos_test_data): Update call to
22973 AUTO_TESTS_f_f.
22974 (acos_test): Use ALL_RM_TEST.
22975 (acos_tonearest_test_data): Remove.
22976 (acos_test_tonearest): Likewise.
22977 (acos_towardzero_test_data): Likewise.
22978 (acos_test_towardzero): Likewise.
22979 (acos_downward_test_data): Likewise.
22980 (acos_test_downward): Likewise.
22981 (acos_upward_test_data): Likewise.
22982 (acos_test_upward): Likewise.
22983 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22984 (asin_test_data): Likewise.
22985 (asin_test): Use ALL_RM_TEST.
22986 (asin_tonearest_test_data): Remove.
22987 (asin_test_tonearest): Likewise.
22988 (asin_towardzero_test_data): Likewise.
22989 (asin_test_towardzero): Likewise.
22990 (asin_downward_test_data): Likewise.
22991 (asin_test_downward): Likewise.
22992 (asin_upward_test_data): Likewise.
22993 (asin_test_upward): Likewise.
22994 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22995 (atan_test_data): Likewise.
22996 (atanh_test_data): Likewise.
22997 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22998 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22999 (carg_test_data): Likewise.
23000 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23001 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23002 (ccosh_test_data): Likewise.
23003 (cexp_test_data): Likewise.
23004 (clog_test_data): Likewise.
23005 (clog10_test_data): Likewise.
23006 (cos_test_data): Update call to AUTO_TESTS_f_f.
23007 (cos_test): Use ALL_RM_TEST.
23008 (cos_tonearest_test_data): Remove.
23009 (cos_test_tonearest): Likewise.
23010 (cos_towardzero_test_data): Likewise.
23011 (cos_test_towardzero): Likewise.
23012 (cos_downward_test_data): Likewise.
23013 (cos_test_downward): Likewise.
23014 (cos_upward_test_data): Likewise.
23015 (cos_test_upward): Likewise.
23016 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23017 (cosh_test): Use ALL_RM_TEST.
23018 (cosh_tonearest_test_data): Remove.
23019 (cosh_test_tonearest): Likewise.
23020 (cosh_towardzero_test_data): Likewise.
23021 (cosh_test_towardzero): Likewise.
23022 (cosh_downward_test_data): Likewise.
23023 (cosh_test_downward): Likewise.
23024 (cosh_upward_test_data): Likewise.
23025 (cosh_test_upward): Likewise.
23026 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23027 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23028 (ctan_test_data): Likewise.
23029 (ctan_test): Use ALL_RM_TEST.
23030 (ctan_tonearest_test_data): Remove.
23031 (ctan_test_tonearest): Likewise.
23032 (ctan_towardzero_test_data): Likewise.
23033 (ctan_test_towardzero): Likewise.
23034 (ctan_downward_test_data): Likewise.
23035 (ctan_test_downward): Likewise.
23036 (ctan_upward_test_data): Likewise.
23037 (ctan_test_upward): Likewise.
23038 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23039 (ctanh_test): Use ALL_RM_TEST.
23040 (ctanh_tonearest_test_data): Remove.
23041 (ctanh_test_tonearest): Likewise.
23042 (ctanh_towardzero_test_data): Likewise.
23043 (ctanh_test_towardzero): Likewise.
23044 (ctanh_downward_test_data): Likewise.
23045 (ctanh_test_downward): Likewise.
23046 (ctanh_upward_test_data): Likewise.
23047 (ctanh_test_upward): Likewise.
23048 (erf_test_data): Update call to AUTO_TESTS_f_f.
23049 (erfc_test_data): Likewise.
23050 (exp_test_data): Likewise.
23051 (exp_test): Use ALL_RM_TEST.
23052 (exp_tonearest_test_data): Remove.
23053 (exp_test_tonearest): Likewise.
23054 (exp_towardzero_test_data): Likewise.
23055 (exp_test_towardzero): Likewise.
23056 (exp_downward_test_data): Likewise.
23057 (exp_test_downward): Likewise.
23058 (exp_upward_test_data): Likewise.
23059 (exp_test_upward): Likewise.
23060 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23061 (exp10_test): Use ALL_RM_TEST.
23062 (exp10_tonearest_test_data): Remove.
23063 (exp10_test_tonearest): Likewise.
23064 (exp10_towardzero_test_data): Likewise.
23065 (exp10_test_towardzero): Likewise.
23066 (exp10_downward_test_data): Likewise.
23067 (exp10_test_downward): Likewise.
23068 (exp10_upward_test_data): Likewise.
23069 (exp10_test_upward): Likewise.
23070 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23071 (expm1_test_data): Likewise.
23072 (expm1_test): Use ALL_RM_TEST.
23073 (expm1_tonearest_test_data): Remove.
23074 (expm1_test_tonearest): Likewise.
23075 (expm1_towardzero_test_data): Likewise.
23076 (expm1_test_towardzero): Likewise.
23077 (expm1_downward_test_data): Likewise.
23078 (expm1_test_downward): Likewise.
23079 (expm1_upward_test_data): Likewise.
23080 (expm1_test_upward): Likewise.
23081 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23082 (fma_test): Use ALL_RM_TEST.
23083 (fma_towardzero_test_data): Remove.
23084 (fma_test_towardzero): Likewise.
23085 (fma_downward_test_data): Likewise.
23086 (fma_test_downward): Likewise.
23087 (fma_upward_test_data): Likewise.
23088 (fma_test_upward): Likewise.
23089 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23090 (j0_test_data): Update call to AUTO_TESTS_f_f.
23091 (j1_test_data): Likewise.
23092 (jn_test_data): Update call to AUTO_TESTS_if_f.
23093 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23094 (log_test_data): Update call to AUTO_TESTS_f_f.
23095 (log10_test_data): Likewise.
23096 (log1p_test_data): Likewise.
23097 (log2_test_data): Likewise.
23098 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23099 (pow_tonearest_test_data): Likewise.
23100 (sin_test_data): Update call to AUTO_TESTS_f_f.
23101 (sin_test): Use ALL_RM_TEST.
23102 (sin_tonearest_test_data): Remove.
23103 (sin_test_tonearest): Likewise.
23104 (sin_towardzero_test_data): Likewise.
23105 (sin_test_towardzero): Likewise.
23106 (sin_downward_test_data): Likewise.
23107 (sin_test_downward): Likewise.
23108 (sin_upward_test_data): Likewise.
23109 (sin_test_upward): Likewise.
23110 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23111 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23112 (sinh_test): Use ALL_RM_TEST.
23113 (sinh_tonearest_test_data): Remove.
23114 (sinh_test_tonearest): Likewise.
23115 (sinh_towardzero_test_data): Likewise.
23116 (sinh_test_towardzero): Likewise.
23117 (sinh_downward_test_data): Likewise.
23118 (sinh_test_downward): Likewise.
23119 (sinh_upward_test_data): Likewise.
23120 (sinh_test_upward): Likewise.
23121 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23122 (sqrt_test): Use ALL_RM_TEST.
23123 (sqrt_tonearest_test_data): Remove.
23124 (sqrt_test_tonearest): Likewise.
23125 (sqrt_towardzero_test_data): Likewise.
23126 (sqrt_test_towardzero): Likewise.
23127 (sqrt_downward_test_data): Likewise.
23128 (sqrt_test_downward): Likewise.
23129 (sqrt_upward_test_data): Likewise.
23130 (sqrt_test_upward): Likewise.
23131 (tan_test_data): Update call to AUTO_TESTS_f_f.
23132 (tan_test): Use ALL_RM_TEST.
23133 (tan_tonearest_test_data): Remove.
23134 (tan_test_tonearest): Likewise.
23135 (tan_towardzero_test_data): Likewise.
23136 (tan_test_towardzero): Likewise.
23137 (tan_downward_test_data): Likewise.
23138 (tan_test_downward): Likewise.
23139 (tan_upward_test_data): Likewise.
23140 (tan_test_upward): Likewise.
23141 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23142 (tgamma_test_data): Likewise.
23143 (y0_test_data): Likewise.
23144 (y1_test_data): Likewise.
23145 (yn_test_data): Update call to AUTO_TESTS_if_f.
23146 (main): Do not call removed functions.
23147
23148 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23149
23150 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23151 (ldexp_test_data): Remove.
23152 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23153 scalbn_test_data.
23154 (scalb_test): Use ALL_RM_TEST.
23155
23156 2014-03-19 Andreas Schwab <schwab@suse.de>
23157
23158 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23159
23160 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23161
23162 [BZ #16649]
23163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23165 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23167 (__ASSUME_PREADV): Undefine.
23168 (__ASSUME_PWRITEV): Likewise.
23169
23170 2014-03-18 Roland McGrath <roland@hack.frob.com>
23171
23172 * bits/mman-linux.h: Add comment about non-Linux use.
23173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23174 bits/mman-linux.h resting place.
23175
23176 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23177 * bits/mman-linux.h: ... here.
23178
23179 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23180
23181 * conform/conformtest.pl: Add standard definition when calling C
23182 preprocessor on data files.
23183 (checknamespace): Remove unused variable.
23184
23185 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23186
23187 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23188 minus_oflow, plus_uflow and minus_uflow in expected results.
23189 * math/libm-test.inc (scalbn_test_data): Add more tests of
23190 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23191 minus_uflow.
23192 (scalbn_test): Use ALL_RM_TEST.
23193 (scalbln_test_data): Add more tests of negative arguments. Use
23194 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23195 (scalbln_test): Use ALL_RM_TEST.
23196
23197 2014-03-18 Roland McGrath <roland@hack.frob.com>
23198
23199 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23200
23201 2014-03-18 Will Newton <will.newton@linaro.org>
23202
23203 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23204 inaccurate comment.
23205
23206 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23207
23208 * Makerules [!subdir] (check-abi): Exit with error status if a
23209 test failed.
23210
23211 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23212
23213 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23214 for rint. Include results for all rounding modes.
23215 (nearbyint_test): Use ALL_RM_TEST.
23216 (rint_test_data): Include all tests used for nearbyint.
23217
23218 2014-03-17 Will Newton <will.newton@linaro.org>
23219
23220 * nptl/sysdeps/pthread/pthread.h: Revert previous
23221 change.
23222
23223 * sysdeps/generic/ldsodefs.h: Revert previous
23224 change.
23225
23226 * libio/genops.c: Revert previous change.
23227 * libio/libioP.h: Likewise.
23228 * stdio-common/vfprintf.c: Likewise.
23229
23230 * sysdeps/generic/math_private.h: Revert previous
23231 change.
23232
23233 * sysdeps/generic/math_private.h: Check whether
23234 HAVE_RM_CTX is defined with #ifdef rather
23235 than #if.
23236
23237 * argp/argp-fmtstream.h: Check whether
23238 __STRICT_ANSI__ is defined with #ifdef rather
23239 than #if.
23240 * argp/argp.h: Likewise.
23241
23242 * libio/genops.c: Check whether
23243 _IO_JUMPS_OFFSET is defined with #ifdef rather
23244 than #if.
23245 * libio/libioP.h: Likewise.
23246 * stdio-common/vfprintf.c: Likewise.
23247
23248 * sysdeps/generic/ldsodefs.h: Check whether
23249 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23250 than #if.
23251
23252 * nptl/sysdeps/pthread/pthread.h: Check
23253 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23254 its value.
23255
23256 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23257
23258 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23259 setting O_APPEND.
23260 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23261 test case.
23262
23263 [BZ #16680]
23264 * libio/fileops.c (_IO_file_open): Seek to end of file but
23265 don't cache the offset.
23266 (get_file_offset): Remove function.
23267 (do_ftell): Use cached offset when available.
23268 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23269 don't cache the offset.
23270 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23271 case.
23272 (do_one_test): Call it.
23273 (do_ftell_test): Fix up expected old offset for a+ mode.
23274 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23275 available.
23276
23277 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23278 up test status with function return status.
23279 (do_write_test): Likewise.
23280 (do_append_test): Likewise.
23281
23282 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23283 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23284 Remove.
23285
23286 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23287
23288 * math/gen-libm-test.pl (parse_args): Handle results specified for
23289 each rounding mode separately.
23290 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23291 tests and results from lrint_tonearest_test_data,
23292 lrint_towardzero_test_data, lrint_downward_test_data and
23293 lrint_upward_test_data.
23294 (lrint_test): Use ALL_RM_TEST.
23295 (lrint_tonearest_test_data): Remove.
23296 (lrint_test_tonearest): Likewise.
23297 (lrint_towardzero_test_data): Likewise.
23298 (lrint_test_towardzero): Likewise.
23299 (lrint_downward_test_data): Likewise.
23300 (lrint_test_downward): Likewise.
23301 (lrint_upward_test_data): Likewise.
23302 (lrint_test_upward): Likewise.
23303 (llrint_test_data): Merge in per-rounding-mode tests and results
23304 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23305 llrint_downward_test_data and llrint_upward_test_data.
23306 (llrint_test): Use ALL_RM_TEST.
23307 (llrint_tonearest_test_data): Remove.
23308 (llrint_test_tonearest): Likewise.
23309 (llrint_towardzero_test_data): Likewise.
23310 (llrint_test_towardzero): Likewise.
23311 (llrint_downward_test_data): Likewise.
23312 (llrint_test_downward): Likewise.
23313 (llrint_upward_test_data): Likewise.
23314 (llrint_test_upward): Likewise.
23315 (rint_test_data): Merge in per-rounding-mode tests and results
23316 from rint_tonearest_test_data, rint_towardzero_test_data,
23317 rint_downward_test_data and rint_upward_test_data. Add
23318 per-rounding-mode results for tests not in those arrays.
23319 (rint_test): Use ALL_RM_TEST.
23320 (rint_tonearest_test_data): Remove.
23321 (rint_test_tonearest): Likewise.
23322 (rint_towardzero_test_data): Likewise.
23323 (rint_test_towardzero): Likewise.
23324 (rint_downward_test_data): Likewise.
23325 (rint_test_downward): Likewise.
23326 (rint_upward_test_data): Likewise.
23327 (rint_test_upward): Likewise.
23328 (main): Don't call removed functions.
23329
23330 2014-03-14 Roland McGrath <roland@hack.frob.com>
23331
23332 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23333 "Compiled on ..." crapola. It is anti-useful.
23334
23335 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23336
23337 * scripts/evaluate-test.sh: Handle fourth argument to determine
23338 whether test run should stop on failure.
23339 * Makeconfig (stop-on-test-failure): New variable.
23340 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23341 $(stop-on-test-failure).
23342 * Makefile (tests): Give a summary of results from testing and
23343 exit with failure status if they include an ERROR or FAIL.
23344 (xtests): Likewise.
23345 * manual/install.texi (Configuring and compiling): Mention
23346 stop-on-test-failure=y.
23347 * INSTALL: Regenerated.
23348
23349 2014-03-14 Roland McGrath <roland@hack.frob.com>
23350
23351 * scripts/versionlist.awk: New file.
23352 * Makerules [$(build-shared) = yes]
23353 (postclean-generated): Add Versions.def, not Versions.def.v and
23354 Versions.def.v.i.
23355 ($(common-objpfx)Versions.def.v.i): Target removed.
23356 ($(common-objpfx)Versions.def): New target.
23357 ($(common-objpfx)Versions.all): Depend on that rather that
23358 $(common-objpfx)Versions.def.v.
23359 * Versions.def: File removed.
23360
23361 * Makeconfig (+gccwarn): Add -Wundef.
23362 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23363 a dl-sysdep.h breaking its contract.
23364 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23365 * include/stackinfo.h: New file.
23366 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23367 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23368 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23369 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23370 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23371 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23372 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23373 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23374 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23375 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23376 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23377 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23378 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23379 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23380 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23381
23382 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23383
23384 [BZ #16707]
23385 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23386 implementation.
23387 * math/libm-test.inc (round_test_data): Add more tests.
23388
23389 [BZ #16706]
23390 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23391 implementation.
23392 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23393
23394 [BZ #16701]
23395 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23396 implementation.
23397 * math/libm-test.inc (ceil_test_data): Add more tests.
23398
23399 * math/libm-test.inc (trunc_test_data): Add more tests related to
23400 BZ#16414.
23401
23402 2014-03-14 Roland McGrath <roland@hack.frob.com>
23403
23404 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23405 with #if rather than #ifdef.
23406 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23407
23408 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23409
23410 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23411 first. Disable AVX-512 GCC support if assembler doesn't support
23412 it.
23413 * sysdeps/x86_64/configure: Regenerated.
23414
23415 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23416
23417 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23418 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23419 (__old_pthread_attr_setstack): Likewise.
23420 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23421 [!_STACK_GROWS_DOWN]: Likewise.
23422
23423 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23424
23425 * config.make.in (have-bash2): Delete.
23426 * configure.ac (libc_cv_have_bash2): Delete.
23427 * configure: Regenerate.
23428 * elf/Makefile (common-ldd-rewrite): Rename to ...
23429 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23430 (sh-ldd-rewrite): Delete.
23431 (bash-ldd-rewrite): Delete.
23432 (have-bash2): Delete checks.
23433 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23434 ldd-rewrite.
23435
23436 * config.make.in (have-ksh): Delete.
23437 (KSH): Delete.
23438 * configure.ac (libc_cv_have_ksh): Delete.
23439 * configure: Regenerate.
23440
23441 * elf/Makefile: Delete $(have-ksh) check.
23442 ($(objpfx)sotruss): Change KSH to BASH.
23443 * elf/sotruss.ksh: Rename to ...
23444 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23445 function style to match POSIX. Drop ksh vim mode setting.
23446
23447 * manual/time.texi (Specifying the Time Zone with TZ): Change
23448 Tuesday to Thursday.
23449
23450 * debug/tst-longjmp_chk2.c: Update header comment.
23451 (stackoverflow_handler): Add comment. Call assert on pass value.
23452
23453 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23454
23455 [BZ #16194]
23456 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23457 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23458 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23459 (La_x86_64_vector): Add zmm.
23460 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23461 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23462 ($(objpfx)tst-audit10): New target.
23463 ($(objpfx)tst-audit10.out): Likewise.
23464 (tst-audit10-ENV): New.
23465 (AVX512-CFLAGS): Likewise.
23466 (CFLAGS-tst-audit10.c): Likewise.
23467 (CFLAGS-tst-auditmod10a.c): Likewise.
23468 (CFLAGS-tst-auditmod10b.c): Likewise.
23469 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23470 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23471 * sysdeps/x86_64/configure: Regenerated.
23472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23473 AVX-512 zmm register support.
23474 (_dl_x86_64_save_sse): Likewise.
23475 (_dl_x86_64_restore_sse): Likewise.
23476 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23477 size vector registers.
23478 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23479 (ZMM_SIZE): Likewise.
23480 * sysdeps/x86_64/tst-audit10.c: New file.
23481 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23482 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23483
23484 2014-03-13 Roland McGrath <roland@hack.frob.com>
23485
23486 * configure.ac (HAVE_EHDR_START): New check.
23487 * configure: Regenerated.
23488 * config.h.in (HAVE_EHDR_START): New #undef.
23489 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23490 assuming the lowest-addressed segment maps the start of the file.
23491
23492 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23493
23494 * INSTALL: Regenerated.
23495
23496 2014-03-13 Will Newton <will.newton@linaro.org>
23497
23498 * manual/setjmp.texi (System V contexts): Improve
23499 clarity and grammar of documentation.
23500
23501 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23502
23503 [BZ #16381]
23504 * elf/Makefile (tests): Add tst-pie2.
23505 (tests-pie): Add tst-pie2.
23506 * elf/tst-pie2.c: New file.
23507 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23508 for ET_EXEC.
23509 * elf/rtld.c (map_doit): Load executable as lt_executable.
23510 (dl_main): Likewise.
23511
23512 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #16642]
23515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23516 (__ASSUME_PSELECT): Undefine.
23517
23518 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23519
23520 [BZ #16689]
23521 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23522 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23523 static build.
23524 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23525 selector for static builds.
23526
23527 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23528
23529 [BZ #16695]
23530 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23531 key in the buffer.
23532
23533 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23534
23535 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23536 IFUNC selector for static builds.
23537
23538 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23539
23540 * sysdeps/mips/math_private.h [__mips_hard_float]
23541 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23542 libc_feresetround_mips_ctx.
23543 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23544 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23545 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23546
23547 [BZ #16677]
23548 * math/s_nextafter.c (__nextafter): Do not return value from
23549 overflowing computation.
23550 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23551 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23552 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23553 Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23555 Likewise.
23556 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23557 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23558
23559 2014-03-11 Roland McGrath <roland@hack.frob.com>
23560
23561 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23562 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23563 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23564 the new mov targetting sp.
23565
23566 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23567
23568 [BZ #16683]
23569 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23570 Define it for static builds as well.
23571 (NO_BZERO_IMPL): Likewise.
23572
23573 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23574
23575 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23576 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23577 multiarch strspn for PPC64.
23578 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23579 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23581 (__libc_ifunc_impl_list): Likewise.
23582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23583 multiarch optimizations
23584 * string/strspn.c (strspn): Using macro to redefine symbol name.
23585
23586 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23587 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23588
23589 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23590 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23591 multiarch strncat for PPC64.
23592 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23593 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23595 (__libc_ifunc_impl_list): Likewise.
23596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23597 multiarch optimizations
23598
23599 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23600
23601 [BZ #16639]
23602 * nscd/nscd.service: Make service type forking.
23603
23604 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23605
23606 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23607 sign in non default rounding modes.
23608 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23609
23610 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23611
23612 * math/libm-test.inc (ALL_RM_TEST): New macro.
23613 (ceil_test): Use ALL_RM_TEST.
23614 (cimag_test): Likewise.
23615 (conj_test): Likewise.
23616 (copysign_test): Likewise.
23617 (cproj_test): Likewise.
23618 (creal_test): Likewise.
23619 (fabs_test): Likewise.
23620 (floor_test): Likewise.
23621 (fmax_test): Likewise.
23622 (fmin_test): Likewise.
23623 (fmod_test): Likewise.
23624 (fpclassify_test): Likewise.
23625 (frexp_test): Likewise.
23626 (ilogb_test): Likewise.
23627 (isfinite_test): Likewise.
23628 (finite_test): Likewise.
23629 (isgreater_test): Likewise.
23630 (isgreaterequal_test): Likewise.
23631 (isinf_test): Likewise.
23632 (isless_test): Likewise.
23633 (islessequal_test): Likewise.
23634 (islessgreater_test): Likewise.
23635 (isnan_test): Likewise.
23636 (isnormal_test): Likewise.
23637 (issignaling_test): Likewise.
23638 (isunordered_test): Likewise.
23639 (logb_test): Likewise.
23640 (logb_downward_test_data): Remove.
23641 (logb_test_downward): Likewise.
23642 (lround_test): Use ALL_RM_TEST.
23643 (llround_test): Likewise.
23644 (modf_test): Likewise.
23645 (nexttoward_test): Likewise.
23646 (remainder_test): Likewise.
23647 (drem_test): Likewise.
23648 (remainder_tonearest_test_data): Likewise.
23649 (remainder_test_tonearest): Likewise.
23650 (drem_test_tonearest): Likewise.
23651 (remainder_towardzero_test_data): Likewise.
23652 (remainder_test_towardzero): Likewise.
23653 (drem_test_towardzero): Likewise.
23654 (remainder_downward_test_data): Likewise.
23655 (remainder_test_downward): Likewise.
23656 (drem_test_downward): Likewise.
23657 (remainder_upward_test_data): Likewise.
23658 (remainder_test_upward): Likewise.
23659 (drem_test_upward): Likewise.
23660 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23661 (round_test): Use ALL_RM_TEST.
23662 (signbit_test): Likewise.
23663 (trunc_test): Likewise.
23664 (significand_test): Likewise.
23665 (main): Don't call removed functions.
23666
23667 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23668
23669 [BZ #16674]
23670 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23671 || __USE_XOPEN2K8].
23672 (ILL_ILLOPN): Likewise.
23673 (ILL_ILLADR): Likewise.
23674 (ILL_ILLTRP): Likewise.
23675 (ILL_PRVOPC): Likewise.
23676 (ILL_PRVREG): Likewise.
23677 (ILL_COPROC): Likewise.
23678 (ILL_BADSTK): Likewise.
23679 (FPE_INTDIV): Likewise.
23680 (FPE_INTOVF): Likewise.
23681 (FPE_FLTDIV): Likewise.
23682 (FPE_FLTOVF): Likewise.
23683 (FPE_FLTUND): Likewise.
23684 (FPE_FLTRES): Likewise.
23685 (FPE_FLTINV): Likewise.
23686 (FPE_FLTSUB): Likewise.
23687 (SEGV_MAPERR): Likewise.
23688 (SEGV_ACCERR): Likewise.
23689 (BUS_ADRALN): Likewise.
23690 (BUS_ADRERR): Likewise.
23691 (BUS_OBJERR): Likewise.
23692 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23693 (TRAP_TRACE): Likewise.
23694 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23695 __USE_XOPEN2K8].
23696 (CLD_KILLED): Likewise.
23697 (CLD_DUMPED): Likewise.
23698 (CLD_TRAPPED): Likewise.
23699 (CLD_STOPPED): Likewise.
23700 (CLD_CONTINUED): Likewise.
23701 (POLL_IN): Likewise.
23702 (POLL_OUT): Likewise.
23703 (POLL_MSG): Likewise.
23704 (POLL_ERR): Likewise.
23705 (POLL_PRI): Likewise.
23706 (POLL_HUP): Likewise.
23707 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23708 Likewise.
23709 (ILL_ILLOPN): Likewise.
23710 (ILL_ILLADR): Likewise.
23711 (ILL_ILLTRP): Likewise.
23712 (ILL_PRVOPC): Likewise.
23713 (ILL_PRVREG): Likewise.
23714 (ILL_COPROC): Likewise.
23715 (ILL_BADSTK): Likewise.
23716 (FPE_INTDIV): Likewise.
23717 (FPE_INTOVF): Likewise.
23718 (FPE_FLTDIV): Likewise.
23719 (FPE_FLTOVF): Likewise.
23720 (FPE_FLTUND): Likewise.
23721 (FPE_FLTRES): Likewise.
23722 (FPE_FLTINV): Likewise.
23723 (FPE_FLTSUB): Likewise.
23724 (SEGV_MAPERR): Likewise.
23725 (SEGV_ACCERR): Likewise.
23726 (BUS_ADRALN): Likewise.
23727 (BUS_ADRERR): Likewise.
23728 (BUS_OBJERR): Likewise.
23729 (BUS_MCEERR_AR): Likewise.
23730 (BUS_MCEERR_AO): Likewise.
23731 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23732 (TRAP_TRACE): Likewise.
23733 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23734 __USE_XOPEN2K8].
23735 (CLD_KILLED): Likewise.
23736 (CLD_DUMPED): Likewise.
23737 (CLD_TRAPPED): Likewise.
23738 (CLD_STOPPED): Likewise.
23739 (CLD_CONTINUED): Likewise.
23740 (POLL_IN): Likewise.
23741 (POLL_OUT): Likewise.
23742 (POLL_MSG): Likewise.
23743 (POLL_ERR): Likewise.
23744 (POLL_PRI): Likewise.
23745 (POLL_HUP): Likewise.
23746 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23747 (ILL_ILLOPN): Likewise.
23748 (ILL_ILLADR): Likewise.
23749 (ILL_ILLTRP): Likewise.
23750 (ILL_PRVOPC): Likewise.
23751 (ILL_PRVREG): Likewise.
23752 (ILL_COPROC): Likewise.
23753 (ILL_BADSTK): Likewise.
23754 (FPE_INTDIV): Likewise.
23755 (FPE_INTOVF): Likewise.
23756 (FPE_FLTDIV): Likewise.
23757 (FPE_FLTOVF): Likewise.
23758 (FPE_FLTUND): Likewise.
23759 (FPE_FLTRES): Likewise.
23760 (FPE_FLTINV): Likewise.
23761 (FPE_FLTSUB): Likewise.
23762 (SEGV_MAPERR): Likewise.
23763 (SEGV_ACCERR): Likewise.
23764 (BUS_ADRALN): Likewise.
23765 (BUS_ADRERR): Likewise.
23766 (BUS_OBJERR): Likewise.
23767 (BUS_MCEERR_AR): Likewise.
23768 (BUS_MCEERR_AO): Likewise.
23769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23770 (TRAP_TRACE): Likewise.
23771 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23772 __USE_XOPEN2K8].
23773 (CLD_KILLED): Likewise.
23774 (CLD_DUMPED): Likewise.
23775 (CLD_TRAPPED): Likewise.
23776 (CLD_STOPPED): Likewise.
23777 (CLD_CONTINUED): Likewise.
23778 (POLL_IN): Likewise.
23779 (POLL_OUT): Likewise.
23780 (POLL_MSG): Likewise.
23781 (POLL_ERR): Likewise.
23782 (POLL_PRI): Likewise.
23783 (POLL_HUP): Likewise.
23784 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23785 Likewise.
23786 (ILL_ILLOPN): Likewise.
23787 (ILL_ILLADR): Likewise.
23788 (ILL_ILLTRP): Likewise.
23789 (ILL_PRVOPC): Likewise.
23790 (ILL_PRVREG): Likewise.
23791 (ILL_COPROC): Likewise.
23792 (ILL_BADSTK): Likewise.
23793 (ILL_BADIADDR): Likewise.
23794 (ILL_BREAK): Likewise.
23795 (FPE_INTDIV): Likewise.
23796 (FPE_INTOVF): Likewise.
23797 (FPE_FLTDIV): Likewise.
23798 (FPE_FLTOVF): Likewise.
23799 (FPE_FLTUND): Likewise.
23800 (FPE_FLTRES): Likewise.
23801 (FPE_FLTINV): Likewise.
23802 (FPE_FLTSUB): Likewise.
23803 (FPE_DECOVF): Likewise.
23804 (FPE_DECDIV): Likewise.
23805 (FPE_DECERR): Likewise.
23806 (FPE_INVASC): Likewise.
23807 (FPE_INVDEC): Likewise.
23808 (SEGV_MAPERR): Likewise.
23809 (SEGV_ACCERR): Likewise.
23810 (SEGV_PSTKOVF): Likewise.
23811 (BUS_ADRALN): Likewise.
23812 (BUS_ADRERR): Likewise.
23813 (BUS_OBJERR): Likewise.
23814 (BUS_MCEERR_AR): Likewise.
23815 (BUS_MCEERR_AO): Likewise.
23816 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23817 (TRAP_TRACE): Likewise.
23818 (TRAP_BRANCH): Likewise.
23819 (TRAP_HWBKPT): Likewise.
23820 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23821 __USE_XOPEN2K8].
23822 (CLD_KILLED): Likewise.
23823 (CLD_DUMPED): Likewise.
23824 (CLD_TRAPPED): Likewise.
23825 (CLD_STOPPED): Likewise.
23826 (CLD_CONTINUED): Likewise.
23827 (POLL_IN): Likewise.
23828 (POLL_OUT): Likewise.
23829 (POLL_MSG): Likewise.
23830 (POLL_ERR): Likewise.
23831 (POLL_PRI): Likewise.
23832 (POLL_HUP): Likewise.
23833 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23834 (ILL_ILLOPN): Likewise.
23835 (ILL_ILLADR): Likewise.
23836 (ILL_ILLTRP): Likewise.
23837 (ILL_PRVOPC): Likewise.
23838 (ILL_PRVREG): Likewise.
23839 (ILL_COPROC): Likewise.
23840 (ILL_BADSTK): Likewise.
23841 (FPE_INTDIV): Likewise.
23842 (FPE_INTOVF): Likewise.
23843 (FPE_FLTDIV): Likewise.
23844 (FPE_FLTOVF): Likewise.
23845 (FPE_FLTUND): Likewise.
23846 (FPE_FLTRES): Likewise.
23847 (FPE_FLTINV): Likewise.
23848 (FPE_FLTSUB): Likewise.
23849 (SEGV_MAPERR): Likewise.
23850 (SEGV_ACCERR): Likewise.
23851 (BUS_ADRALN): Likewise.
23852 (BUS_ADRERR): Likewise.
23853 (BUS_OBJERR): Likewise.
23854 (BUS_MCEERR_AR): Likewise.
23855 (BUS_MCEERR_AO): Likewise.
23856 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23857 (TRAP_TRACE): Likewise.
23858 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23859 __USE_XOPEN2K8].
23860 (CLD_KILLED): Likewise.
23861 (CLD_DUMPED): Likewise.
23862 (CLD_TRAPPED): Likewise.
23863 (CLD_STOPPED): Likewise.
23864 (CLD_CONTINUED): Likewise.
23865 (POLL_IN): Likewise.
23866 (POLL_OUT): Likewise.
23867 (POLL_MSG): Likewise.
23868 (POLL_ERR): Likewise.
23869 (POLL_PRI): Likewise.
23870 (POLL_HUP): Likewise.
23871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23872 (ILL_ILLOPN): Likewise.
23873 (ILL_ILLADR): Likewise.
23874 (ILL_ILLTRP): Likewise.
23875 (ILL_PRVOPC): Likewise.
23876 (ILL_PRVREG): Likewise.
23877 (ILL_COPROC): Likewise.
23878 (ILL_BADSTK): Likewise.
23879 (FPE_INTDIV): Likewise.
23880 (FPE_INTOVF): Likewise.
23881 (FPE_FLTDIV): Likewise.
23882 (FPE_FLTOVF): Likewise.
23883 (FPE_FLTUND): Likewise.
23884 (FPE_FLTRES): Likewise.
23885 (FPE_FLTINV): Likewise.
23886 (FPE_FLTSUB): Likewise.
23887 (SEGV_MAPERR): Likewise.
23888 (SEGV_ACCERR): Likewise.
23889 (BUS_ADRALN): Likewise.
23890 (BUS_ADRERR): Likewise.
23891 (BUS_OBJERR): Likewise.
23892 (BUS_MCEERR_AR): Likewise.
23893 (BUS_MCEERR_AO): Likewise.
23894 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23895 (TRAP_TRACE): Likewise.
23896 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23897 __USE_XOPEN2K8].
23898 (CLD_KILLED): Likewise.
23899 (CLD_DUMPED): Likewise.
23900 (CLD_TRAPPED): Likewise.
23901 (CLD_STOPPED): Likewise.
23902 (CLD_CONTINUED): Likewise.
23903 (POLL_IN): Likewise.
23904 (POLL_OUT): Likewise.
23905 (POLL_MSG): Likewise.
23906 (POLL_ERR): Likewise.
23907 (POLL_PRI): Likewise.
23908 (POLL_HUP): Likewise.
23909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23910 (ILL_ILLOPN): Likewise.
23911 (ILL_ILLADR): Likewise.
23912 (ILL_ILLTRP): Likewise.
23913 (ILL_PRVOPC): Likewise.
23914 (ILL_PRVREG): Likewise.
23915 (ILL_COPROC): Likewise.
23916 (ILL_BADSTK): Likewise.
23917 (FPE_INTDIV): Likewise.
23918 (FPE_INTOVF): Likewise.
23919 (FPE_FLTDIV): Likewise.
23920 (FPE_FLTOVF): Likewise.
23921 (FPE_FLTUND): Likewise.
23922 (FPE_FLTRES): Likewise.
23923 (FPE_FLTINV): Likewise.
23924 (FPE_FLTSUB): Likewise.
23925 (SEGV_MAPERR): Likewise.
23926 (SEGV_ACCERR): Likewise.
23927 (BUS_ADRALN): Likewise.
23928 (BUS_ADRERR): Likewise.
23929 (BUS_OBJERR): Likewise.
23930 (BUS_MCEERR_AR): Likewise.
23931 (BUS_MCEERR_AO): Likewise.
23932 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23933 (TRAP_TRACE): Likewise.
23934 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23935 __USE_XOPEN2K8].
23936 (CLD_KILLED): Likewise.
23937 (CLD_DUMPED): Likewise.
23938 (CLD_TRAPPED): Likewise.
23939 (CLD_STOPPED): Likewise.
23940 (CLD_CONTINUED): Likewise.
23941 (POLL_IN): Likewise.
23942 (POLL_OUT): Likewise.
23943 (POLL_MSG): Likewise.
23944 (POLL_ERR): Likewise.
23945 (POLL_PRI): Likewise.
23946 (POLL_HUP): Likewise.
23947 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23948 (ILL_ILLOPN): Likewise.
23949 (ILL_ILLADR): Likewise.
23950 (ILL_ILLTRP): Likewise.
23951 (ILL_PRVOPC): Likewise.
23952 (ILL_PRVREG): Likewise.
23953 (ILL_COPROC): Likewise.
23954 (ILL_BADSTK): Likewise.
23955 (ILL_DBLFLT): Likewise.
23956 (ILL_HARDWALL): Likewise.
23957 (FPE_INTDIV): Likewise.
23958 (FPE_INTOVF): Likewise.
23959 (FPE_FLTDIV): Likewise.
23960 (FPE_FLTOVF): Likewise.
23961 (FPE_FLTUND): Likewise.
23962 (FPE_FLTRES): Likewise.
23963 (FPE_FLTINV): Likewise.
23964 (FPE_FLTSUB): Likewise.
23965 (SEGV_MAPERR): Likewise.
23966 (SEGV_ACCERR): Likewise.
23967 (BUS_ADRALN): Likewise.
23968 (BUS_ADRERR): Likewise.
23969 (BUS_OBJERR): Likewise.
23970 (BUS_MCEERR_AR): Likewise.
23971 (BUS_MCEERR_AO): Likewise.
23972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23973 (TRAP_TRACE): Likewise.
23974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23975 __USE_XOPEN2K8].
23976 (CLD_KILLED): Likewise.
23977 (CLD_DUMPED): Likewise.
23978 (CLD_TRAPPED): Likewise.
23979 (CLD_STOPPED): Likewise.
23980 (CLD_CONTINUED): Likewise.
23981 (POLL_IN): Likewise.
23982 (POLL_OUT): Likewise.
23983 (POLL_MSG): Likewise.
23984 (POLL_ERR): Likewise.
23985 (POLL_PRI): Likewise.
23986 (POLL_HUP): Likewise.
23987 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23988 (ILL_ILLOPN): Likewise.
23989 (ILL_ILLADR): Likewise.
23990 (ILL_ILLTRP): Likewise.
23991 (ILL_PRVOPC): Likewise.
23992 (ILL_PRVREG): Likewise.
23993 (ILL_COPROC): Likewise.
23994 (ILL_BADSTK): Likewise.
23995 (FPE_INTDIV): Likewise.
23996 (FPE_INTOVF): Likewise.
23997 (FPE_FLTDIV): Likewise.
23998 (FPE_FLTOVF): Likewise.
23999 (FPE_FLTUND): Likewise.
24000 (FPE_FLTRES): Likewise.
24001 (FPE_FLTINV): Likewise.
24002 (FPE_FLTSUB): Likewise.
24003 (SEGV_MAPERR): Likewise.
24004 (SEGV_ACCERR): Likewise.
24005 (BUS_ADRALN): Likewise.
24006 (BUS_ADRERR): Likewise.
24007 (BUS_OBJERR): Likewise.
24008 (BUS_MCEERR_AR): Likewise.
24009 (BUS_MCEERR_AO): Likewise.
24010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24011 (TRAP_TRACE): Likewise.
24012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24013 __USE_XOPEN2K8].
24014 (CLD_KILLED): Likewise.
24015 (CLD_DUMPED): Likewise.
24016 (CLD_TRAPPED): Likewise.
24017 (CLD_STOPPED): Likewise.
24018 (CLD_CONTINUED): Likewise.
24019 (POLL_IN): Likewise.
24020 (POLL_OUT): Likewise.
24021 (POLL_MSG): Likewise.
24022 (POLL_ERR): Likewise.
24023 (POLL_PRI): Likewise.
24024 (POLL_HUP): Likewise.
24025 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24026 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24027
24028 [BZ #16670]
24029 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24030 before #include of <time.h>.
24031 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24032 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24033 (test-xfail-UNIX98/sched.h/conform): Likewise.
24034
24035 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24036
24037 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24038 error absence of trapping exception support.
24039 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24040
24041 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24042
24043 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24044 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24045 * timezone/Makefile (testdata): Move definition above include of
24046 Rules.
24047 (test-zones): New variable.
24048 (tests-special): Add zone files.
24049 (build-testdata): Use $(evaluate-test).
24050
24051 * elf/Makefile (tests-special): Rename tests to end with .out.
24052 ($(objpfx)noload-mem): Likewise.
24053 ($(objpfx)tst-leaks1-mem): Likewise.
24054 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24055 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24056 $(objpfx)test-iconvconfig.out.
24057 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24058 set -e inside subshell and redirect output to file.
24059 * iconvdata/Makefile (generated): Rename tests to end with .out.
24060 Correct type.
24061 (tests-special): Rename tests to end with .out.
24062 ($(objpfx)mtrace-tst-loading): Likewise.
24063 * intl/Makefile (generated): Likewise.
24064 (tests-special): Likewise.
24065 ($(objpfx)mtrace-tst-gettext): Likewise.
24066 * misc/Makefile (generated): Likewise.
24067 (tests-special): Likewise.
24068 ($(objpfx)tst-error1-mem): Likewise.
24069 * nptl/Makefile (tests-special): Likewise.
24070 ($(objpfx)tst-stack3-mem): Likewise.
24071 (generated): Likewise.
24072 * posix/Makefile (generated): Likewise.
24073 (tests-special): Likewise.
24074 (xtests-special): Likewise.
24075 ($(objpfx)tst-fnmatch-mem): Likewise.
24076 ($(objpfx)bug-regex2-mem): Likewise.
24077 ($(objpfx)bug-regex14-mem): Likewise.
24078 ($(objpfx)bug-regex21-mem): Likewise.
24079 ($(objpfx)bug-regex31-mem): Likewise.
24080 ($(objpfx)tst-vfork3-mem): Likewise.
24081 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24082 ($(objpfx)tst-pcre-mem): Likewise.
24083 ($(objpfx)tst-boost-mem): Likewise.
24084 ($(objpfx)bug-ga2-mem): Likewise.
24085 ($(objpfx)bug-glob2-mem): Likewise.
24086 * resolv/Makefile (generate): Likewise.
24087 (tests-special): Likewise.
24088 (xtests-special): Likewise.
24089 (generated): Likewise.
24090 ($(objpfx)mtrace-tst-leaks): Likewise.
24091 ($(objpfx)mtrace-tst-leaks2): Likewise.
24092
24093 * scripts/merge-test-results.sh: New file.
24094 * Makefile (tests-special-notdir): New variable.
24095 (tests): Run merge-test-results.sh.
24096 (xtests): Likewise.
24097 * Rules (tests-special-notdir): New variable.
24098 (xtests-special-notdir): Likewise.
24099 (tests): Run merge-test-results.sh
24100 (xtests): Likewise.
24101
24102 * Makeconfig (test-xfail-name): New variable.
24103 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24104 compute variable name for expected failures.
24105 * conform/Makefile (conformtest-headers-data): New variable.
24106 (conformtest-standards): Likewise.
24107 (conformtest-headers-ISO): Likewise.
24108 (conformtest-headers-ISO99): Likewise.
24109 (conformtest-headers-ISO11): Likewise.
24110 (conformtest-headers-POSIX): Likewise.
24111 (conformtest-headers-XPG3): Likewise.
24112 (conformtest-headers-XPG4): Likewise.
24113 (conformtest-headers-UNIX98): Likewise.
24114 (conformtest-headers-XOPEN2K): Likewise.
24115 (conformtest-headers-POSIX2008): Likewise.
24116 (conformtest-headers-XOPEN2K8): Likewise.
24117 (conformtest-header-list-base): Likewise.
24118 (conformtest-header-list-tests): Likewise.
24119 (conformtest-header-base): Likewise.
24120 (conformtest-header-tests): Likewise.
24121 (tests-special): Add $(conformtest-header-list-tests). If
24122 [$(fast-check) && !$(cross-compiling)], add
24123 $(conformtest-header-tests) instead of
24124 $(objpfx)run-conformtest.out.
24125 (generated): Add $(conformtest-header-list-base). If
24126 [$(fast-check) && !$(cross-compiling)], add
24127 $(conformtest-header-base). Remove previous setting.
24128 ($(conformtest-header-list-tests)): New target.
24129 (test-xfail-run-conformtest): Remove variable.
24130 ($(objpfx)run-conformtest.out): Remove target.
24131 (test-xfail-ISO11/complex.h/conform): New variable.
24132 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24133 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24134 (test-xfail-XPG3/varargs.h/conform): Likewise.
24135 (test-xfail-XPG4/varargs.h/conform): Likewise.
24136 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24137 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24138 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24139 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24140 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24141 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24142 (test-xfail-XPG3/ftw.h/conform): Likewise.
24143 (test-xfail-XPG3/grp.h/conform): Likewise.
24144 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24145 (test-xfail-XPG3/limits.h/conform): Likewise.
24146 (test-xfail-XPG3/pwd.h/conform): Likewise.
24147 (test-xfail-XPG3/search.h/conform): Likewise.
24148 (test-xfail-XPG3/signal.h/conform): Likewise.
24149 (test-xfail-XPG3/stdio.h/conform): Likewise.
24150 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24151 (test-xfail-XPG3/string.h/conform): Likewise.
24152 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24153 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24154 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24155 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24156 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24157 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24158 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24159 (test-xfail-XPG3/termios.h/conform): Likewise.
24160 (test-xfail-XPG3/time.h/conform): Likewise.
24161 (test-xfail-XPG3/unistd.h/conform): Likewise.
24162 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24163 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24164 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24165 (test-xfail-XPG4/netdb.h/conform): Likewise.
24166 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24167 (test-xfail-XPG4/signal.h/conform): Likewise.
24168 (test-xfail-XPG4/stdio.h/conform): Likewise.
24169 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24170 (test-xfail-XPG4/stropts.h/conform): Likewise.
24171 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24172 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24173 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24174 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24175 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24176 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24177 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24178 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24179 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24180 (test-xfail-XPG4/termios.h/conform): Likewise.
24181 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24182 (test-xfail-XPG4/unistd.h/conform): Likewise.
24183 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24184 (test-xfail-POSIX/sched.h/conform): Likewise.
24185 (test-xfail-POSIX/signal.h/conform): Likewise.
24186 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24187 (test-xfail-POSIX/tar.h/conform): Likewise.
24188 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24189 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24190 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24191 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24192 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24193 (test-xfail-UNIX98/sched.h/conform): Likewise.
24194 (test-xfail-UNIX98/signal.h/conform): Likewise.
24195 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24196 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24197 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24198 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24199 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24200 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24201 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24202 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24203 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24204 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24205 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24206 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24207 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24208 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24209 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24210 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24211 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24212 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24213 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24214 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24215 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24216 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24217 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24218 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24219 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24220 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24221 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24222 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24223 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24224 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24225 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24226 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24227 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24228 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24229 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24230 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24231 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24232 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24233 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24234 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24235 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24236 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24237 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24238 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24239 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24240 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24241 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24242 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24243 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24244 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24245 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24246 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24247 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24248 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24249 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24250 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24251 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24252 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24253 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24254 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24255 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24256 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24257 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24258 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24259 (conformtest-cc-flags): Likewise.
24260 ($(conformtest-header-tests): New target.
24261 * conform/check-header-lists.sh: New file.
24262 * conform/run-conformtest.sh: Remove.
24263
24264 * conform/conformtest.pl: Allow ' and \ in values given for
24265 constants.
24266 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24267 inclusion.
24268 [POSIX] (sys/types.h): Likewise.
24269 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24270 inclusion.
24271 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24272 inclusion.
24273 * conform/data/signal.h-data (SIGIO): Remove expectation.
24274 [XPG3] (SIGBUS): Do not expect.
24275 [POSIX || XPG3] (SIGPOLL): Likewise.
24276 [POSIX || XPG3] (SIGPROF): Likewise.
24277 [POSIX || XPG3] (SIGSYS): Likewise.
24278 [XPG3] (SIGTRAP): Likewise.
24279 [POSIX || XPG3] (SIGURG): Likewise.
24280 [POSIX || XPG3] (SIGVTALRM): Likewise.
24281 [POSIX || XPG3] (SIGXCPU): Likewise.
24282 [POSIX || XPG3] (SIGXFSZ): Likewise.
24283 [POSIX] (SA_SIGINFO): Expect.
24284 [XPG3] (siginfo_t): Do not expect type or contents.
24285 [POSIX] (si_pid): Do not expect element.
24286 [POSIX] (si_uid): Likewise.
24287 [POSIX] (si_addr): Likewise.
24288 [POSIX] (si_status): Likewise.
24289 [POSIX] (si_band): Likewise.
24290 [XPG4] (si_value): Likewise.
24291 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24292 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24293 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24294 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24295 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24296 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24297 [POSIX || XPG3] (ILL_COPROC): Likewise.
24298 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24299 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24300 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24301 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24302 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24303 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24304 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24305 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24306 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24307 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24308 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24309 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24310 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24311 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24312 [POSIX || XPG3] (CLD_EXITED): Likewise.
24313 [POSIX || XPG3] (CLD_KILLED): Likewise.
24314 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24315 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24316 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24317 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24318 [POSIX || XPG3] (POLL_IN): Likewise.
24319 [POSIX || XPG3] (POLL_OUT): Likewise.
24320 [POSIX || XPG3] (POLL_MSG): Likewise.
24321 [POSIX || XPG3] (POLL_ERR): Likewise.
24322 [POSIX || XPG3] (POLL_PRI): Likewise.
24323 [POSIX || XPG3] (POLL_HUP): Likewise.
24324 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24325 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24326 (SIG*): Do not allow.
24327 [XPG3] (si_*): Likewise.
24328 [XPG3] (SI_*): Likewise.
24329 [XPG3 || XPG4] (sigev_*): Likewise.
24330 [XPG3 || XPG4] (SIGEV_*): Likewise.
24331 [XPG3 || XPG4] (sival_*): Likewise.
24332 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24333 [POSIX || XPG3] (BUS_*): Likewise.
24334 [POSIX || XPG3] (CLD_*): Likewise.
24335 [POSIX || XPG3] (FPE_*): Likewise.
24336 [POSIX || XPG3] (ILL_*): Likewise.
24337 [POSIX || XPG3] (POLL_*): Likewise.
24338 [POSIX || XPG3] (SEGV_*): Likewise.
24339 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24340 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24341 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24342 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24343 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24344 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24345 Specify type and value.
24346 (TVERSLEN): Likewise.
24347 (REGTYPE): Likewise.
24348 (AREGTYPE): Likewise.
24349 (LNKTYPE): Likewise.
24350 (SYMTYPE): Likewise.
24351 (CHRTYPE): Likewise.
24352 (BLKTYPE): Likewise.
24353 (DIRTYPE): Likewise.
24354 (FIFOTYPE): Likewise.
24355 (CONTTYPE): Likewise.
24356 (TSUID): Likewise.
24357 (TSGID): Likewise.
24358 (TSVTX): Likewise.
24359 (TUREAD): Likewise.
24360 (TUWRITE): Likewise.
24361 (TUEXEC): Likewise.
24362 (TGREAD): Likewise.
24363 (TGWRITE): Likewise.
24364 (TGEXEC): Likewise.
24365 (TOREAD): Likewise.
24366 (TOWRITE): Likewise.
24367 (TOEXEC): Likewise.
24368 [POSIX] (TSVTX): Expect constant.
24369
24370 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24371
24372 * Makefile (tests): Change dependencies to ....
24373 (tests-special): ... additions to this variable.
24374 (tests): Depend on $(tests-special).
24375 * Makerules (check-abi-list): New variable.
24376 (check-abi): Depend on $(check-abi-list).
24377 [$(subdir) = elf] (tests-special): Add
24378 $(objpfx)check-abi-libc.out.
24379 [$(build-shared) = yes && subdir] (tests-special): Add
24380 $(check-abi-list).
24381 [$(build-shared) = yes && subdir] (tests): Do not depend on
24382 check-abi.
24383 * Rules (tests): Depend on $(tests-special).
24384 (xtests): Depend on $(xtests-special).
24385 * catgets/Makefile (tests): Change dependencies to ....
24386 (tests-special): ... additions to this variable.
24387 * conform/Makefile (tests): Change dependencies to ....
24388 (tests-special): ... additions to this variable.
24389 * elf/Makefile (tests): Change dependencies to ....
24390 (tests-special): ... additions to this variable.
24391 * grp/Makefile (tests): Change dependencies to ....
24392 (tests-special): ... additions to this variable.
24393 * iconv/Makefile (xtests): Change dependencies to ....
24394 (xtests-special): ... additions to this variable.
24395 * iconvdata/Makefile (tests): Change dependencies to ....
24396 (tests-special): ... additions to this variable.
24397 * intl/Makefile (tests): Change dependencies to ....
24398 (tests-special): ... additions to this variable. Also add
24399 $(objpfx)tst-gettext.out.
24400 * io/Makefile (tests): Change dependencies to ....
24401 (tests-special): ... additions to this variable.
24402 * libio/Makefile (tests): Change dependencies to ....
24403 (tests-special): ... additions to this variable.
24404 * malloc/Makefile (tests): Change dependencies to ....
24405 (tests-special): ... additions to this variable.
24406 * misc/Makefile (tests): Change dependencies to ....
24407 (tests-special): ... additions to this variable.
24408 * nptl/Makefile (tests): Change dependencies to ....
24409 (tests-special): ... additions to this variable.
24410 * nptl_db/Makefile (tests): Change dependencies to ....
24411 (tests-special): ... additions to this variable.
24412 * posix/Makefile (tests): Change dependencies to ....
24413 (tests-special): ... additions to this variable.
24414 (xtests): Change dependencies to ....
24415 (xtests-special): ... additions to this variable.
24416 * resolv/Makefile (tests): Change dependencies to ....
24417 (tests-special): ... additions to this variable.
24418 (xtests): Change dependencies to ....
24419 (xtests-special): ... additions to this variable.
24420 * stdio-common/Makefile (tests): Change dependencies to ....
24421 (tests-special): ... additions to this variable.
24422 (do-tst-unbputc): Remove target.
24423 (do-tst-printf): Likewise.
24424 * stdlib/Makefile (tests): Change dependencies to ....
24425 (tests-special): ... additions to this variable.
24426 * string/Makefile (tests): Change dependencies to ....
24427 (tests-special): ... additions to this variable.
24428 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24429 (tests-special): ... additions to this variable.
24430
24431 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24432 whole file.
24433 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24434 whole file.
24435 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24436 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24437
24438 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24439 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24440 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24441 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24442 * conform/data/libgen.h-data [XPG3]: Likewise.
24443 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24444 * conform/data/ndbm.h-data [XPG3]: Likewise.
24445 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24446 * conform/data/netdb.h-data [XPG3]: Likewise.
24447 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24448 * conform/data/poll.h-data [XPG3]: Likewise.
24449 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24450 * conform/data/strings.h-data [XPG3]: Likewise.
24451 * conform/data/stropts.h-data [XPG3]: Likewise.
24452 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24453 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24454 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24455 Likewise.
24456 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24457 * conform/data/sys/time.h-data [XPG3]: Likewise.
24458 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24459 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24460 * conform/data/sys/un.h-data [XPG3]: Likewise.
24461 * conform/data/syslog.h-data [XPG3]: Likewise.
24462 * conform/data/ucontext.h-data [XPG3]: Likewise.
24463 * conform/data/utmpx.h-data [XPG3]: Likewise.
24464 * conform/data/varargs.h-data [UNIX98]: Enable file.
24465
24466 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24467
24468 * math/libm-test.inc (struct test_f_f_data): Move expected results
24469 into structure for each rounding mode.
24470 (struct test_ff_f_data): Likewise.
24471 (struct test_ff_f_data_nexttoward): Likewise.
24472 (struct test_fi_f_data): Likewise.
24473 (struct test_fl_f_data): Likewise.
24474 (struct test_if_f_data): Likewise.
24475 (struct test_fff_f_data): Likewise.
24476 (struct test_c_f_data): Likewise.
24477 (struct test_f_f1_data): Likewise.
24478 (struct test_fF_f1_data): Likewise.
24479 (struct test_ffI_f1_data): Likewise.
24480 (struct test_c_c_data): Likewise.
24481 (struct test_cc_c_data): Likewise.
24482 (struct test_f_i_data): Likewise.
24483 (struct test_ff_i_data): Likewise.
24484 (struct test_f_l_data): Likewise.
24485 (struct test_f_L_data): Likewise.
24486 (struct test_fFF_11_data): Likewise.
24487 (RM_): New macro.
24488 (RM_FE_DOWNWARD): Likewise.
24489 (RM_FE_TONEAREST): Likewise.
24490 (RM_FE_TOWARDZERO): Likewise.
24491 (RM_FE_UPWARD): Likewise.
24492 (RUN_TEST_LOOP_f_f): Update references to expected results.
24493 (RUN_TEST_LOOP_2_f): Likewise.
24494 (RUN_TEST_LOOP_fff_f): Likewise.
24495 (RUN_TEST_LOOP_c_f): Likewise.
24496 (RUN_TEST_LOOP_f_f1): Likewise.
24497 (RUN_TEST_LOOP_fF_f1): Likewise.
24498 (RUN_TEST_LOOP_fI_f1): Likewise.
24499 (RUN_TEST_LOOP_ffI_f1): Likewise.
24500 (RUN_TEST_LOOP_c_c): Likewise.
24501 (RUN_TEST_LOOP_cc_c): Likewise.
24502 (RUN_TEST_LOOP_f_i): Likewise.
24503 (RUN_TEST_LOOP_f_i_tg): Likewise.
24504 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24505 (RUN_TEST_LOOP_f_b): Likewise.
24506 (RUN_TEST_LOOP_f_b_tg): Likewise.
24507 (RUN_TEST_LOOP_f_l): Likewise.
24508 (RUN_TEST_LOOP_f_L): Likewise.
24509 (RUN_TEST_LOOP_fFF_11): Likewise.
24510 * math/gen-libm-test.pl (parse_args): Output four copies of
24511 expected results for each test.
24512
24513 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24514 (__ASSUME_UTIMES): Remove.
24515 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24516 (__ASSUME_UTIMES): Likewise.
24517
24518 * math/gen-auto-libm-tests.c: Update comment on output format.
24519 (output_for_one_input_case): Generate before-rounding and
24520 after-rounding information as conditions on output flags not
24521 floating-point format.
24522 * math/auto-libm-test-out: Regenerated.
24523 * math/gen-libm-test.pl (cond_value): New function.
24524 (or_cond_value): Use cond_value.
24525 (generate_testfile): Handle conditional exceptions.
24526
24527 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24528
24529 * math/libm-test.inc (max_valid_error): New variable.
24530 (init_max_error): Take new argument specifying whether function
24531 results are exactly determined. Set max_valid_error and bound
24532 other variables for errors based on this argument.
24533 (set_max_error): Do not record results above max_valid_error.
24534 (check_float_internal): Only accept errors of up to 0.5ulps if
24535 also at most max_valid_error.
24536 (START): Take new argument EXACT and pass it to init_max_error.
24537 (acos_test): Update call to START.
24538 (acos_test_tonearest): Likewise.
24539 (acos_test_towardzero): Likewise.
24540 (acos_test_downward): Likewise.
24541 (acos_test_upward): Likewise.
24542 (acosh_test): Likewise.
24543 (asin_test): Likewise.
24544 (asin_test_tonearest): Likewise.
24545 (asin_test_towardzero): Likewise.
24546 (asin_test_downward): Likewise.
24547 (asin_test_upward): Likewise.
24548 (asinh_test): Likewise.
24549 (atan_test): Likewise.
24550 (atanh_test): Likewise.
24551 (atan2_test): Likewise.
24552 (cabs_test): Likewise.
24553 (cacos_test): Likewise.
24554 (cacosh_test): Likewise.
24555 (carg_test): Likewise.
24556 (casin_test): Likewise.
24557 (casinh_test): Likewise.
24558 (catan_test): Likewise.
24559 (catanh_test): Likewise.
24560 (cbrt_test): Likewise.
24561 (ccos_test): Likewise.
24562 (ccosh_test): Likewise.
24563 (ceil_test): Likewise.
24564 (cexp_test): Likewise.
24565 (cimag_test): Likewise.
24566 (clog_test): Likewise.
24567 (clog10_test): Likewise.
24568 (conj_test): Likewise.
24569 (copysign_test): Likewise.
24570 (cos_test): Likewise.
24571 (cos_test_tonearest): Likewise.
24572 (cos_test_towardzero): Likewise.
24573 (cos_test_downward): Likewise.
24574 (cos_test_upward): Likewise.
24575 (cosh_test): Likewise.
24576 (cosh_test_tonearest): Likewise.
24577 (cosh_test_towardzero): Likewise.
24578 (cosh_test_downward): Likewise.
24579 (cosh_test_upward): Likewise.
24580 (cpow_test): Likewise.
24581 (cproj_test): Likewise.
24582 (creal_test): Likewise.
24583 (csin_test): Likewise.
24584 (csinh_test): Likewise.
24585 (csqrt_test): Likewise.
24586 (ctan_test): Likewise.
24587 (ctan_test_tonearest): Likewise.
24588 (ctan_test_towardzero): Likewise.
24589 (ctan_test_downward): Likewise.
24590 (ctan_test_upward): Likewise.
24591 (ctanh_test): Likewise.
24592 (ctanh_test_tonearest): Likewise.
24593 (ctanh_test_towardzero): Likewise.
24594 (ctanh_test_downward): Likewise.
24595 (ctanh_test_upward): Likewise.
24596 (erf_test): Likewise.
24597 (erfc_test): Likewise.
24598 (exp_test): Likewise.
24599 (exp_test_tonearest): Likewise.
24600 (exp_test_towardzero): Likewise.
24601 (exp_test_downward): Likewise.
24602 (exp_test_upward): Likewise.
24603 (exp10_test): Likewise.
24604 (exp10_test_tonearest): Likewise.
24605 (exp10_test_towardzero): Likewise.
24606 (exp10_test_downward): Likewise.
24607 (exp10_test_upward): Likewise.
24608 (pow10_test): Likewise.
24609 (exp2_test): Likewise.
24610 (expm1_test): Likewise.
24611 (expm1_test_tonearest): Likewise.
24612 (expm1_test_towardzero): Likewise.
24613 (expm1_test_downward): Likewise.
24614 (expm1_test_upward): Likewise.
24615 (fabs_test): Likewise.
24616 (fdim_test): Likewise.
24617 (floor_test): Likewise.
24618 (fma_test): Likewise.
24619 (fma_test_towardzero): Likewise.
24620 (fma_test_downward): Likewise.
24621 (fma_test_upward): Likewise.
24622 (fmax_test): Likewise.
24623 (fmin_test): Likewise.
24624 (fmod_test): Likewise.
24625 (fpclassify_test): Likewise.
24626 (frexp_test): Likewise.
24627 (hypot_test): Likewise.
24628 (ilogb_test): Likewise.
24629 (isfinite_test): Likewise.
24630 (finite_test): Likewise.
24631 (isgreater_test): Likewise.
24632 (isgreaterequal_test): Likewise.
24633 (isinf_test): Likewise.
24634 (isless_test): Likewise.
24635 (islessequal_test): Likewise.
24636 (islessgreater_test): Likewise.
24637 (isnan_test): Likewise.
24638 (isnormal_test): Likewise.
24639 (issignaling_test): Likewise.
24640 (isunordered_test): Likewise.
24641 (j0_test): Likewise.
24642 (j1_test): Likewise.
24643 (jn_test): Likewise.
24644 (ldexp_test): Likewise.
24645 (lgamma_test): Likewise.
24646 (gamma_test): Likewise.
24647 (lrint_test): Likewise.
24648 (lrint_test_tonearest): Likewise.
24649 (lrint_test_towardzero): Likewise.
24650 (lrint_test_downward): Likewise.
24651 (lrint_test_upward): Likewise.
24652 (llrint_test): Likewise.
24653 (llrint_test_tonearest): Likewise.
24654 (llrint_test_towardzero): Likewise.
24655 (llrint_test_downward): Likewise.
24656 (llrint_test_upward): Likewise.
24657 (log_test): Likewise.
24658 (log10_test): Likewise.
24659 (log1p_test): Likewise.
24660 (log2_test): Likewise.
24661 (logb_test): Likewise.
24662 (logb_test_downward): Likewise.
24663 (lround_test): Likewise.
24664 (llround_test): Likewise.
24665 (modf_test): Likewise.
24666 (nearbyint_test): Likewise.
24667 (nextafter_test): Likewise.
24668 (nexttoward_test): Likewise.
24669 (pow_test): Likewise.
24670 (pow_test_tonearest): Likewise.
24671 (pow_test_towardzero): Likewise.
24672 (pow_test_downward): Likewise.
24673 (pow_test_upward): Likewise.
24674 (remainder_test): Likewise.
24675 (drem_test): Likewise.
24676 (remainder_test_tonearest): Likewise.
24677 (drem_test_tonearest): Likewise.
24678 (remainder_test_towardzero): Likewise.
24679 (drem_test_towardzero): Likewise.
24680 (remainder_test_downward): Likewise.
24681 (drem_test_downward): Likewise.
24682 (remainder_test_upward): Likewise.
24683 (drem_test_upward): Likewise.
24684 (remquo_test): Likewise.
24685 (rint_test): Likewise.
24686 (rint_test_tonearest): Likewise.
24687 (rint_test_towardzero): Likewise.
24688 (rint_test_downward): Likewise.
24689 (rint_test_upward): Likewise.
24690 (round_test): Likewise.
24691 (scalb_test): Likewise.
24692 (scalbn_test): Likewise.
24693 (scalbln_test): Likewise.
24694 (signbit_test): Likewise.
24695 (sin_test): Likewise.
24696 (sin_test_tonearest): Likewise.
24697 (sin_test_towardzero): Likewise.
24698 (sin_test_downward): Likewise.
24699 (sin_test_upward): Likewise.
24700 (sincos_test): Likewise.
24701 (sinh_test): Likewise.
24702 (sinh_test_tonearest): Likewise.
24703 (sinh_test_towardzero): Likewise.
24704 (sinh_test_downward): Likewise.
24705 (sinh_test_upward): Likewise.
24706 (sqrt_test): Likewise.
24707 (sqrt_test_tonearest): Likewise.
24708 (sqrt_test_towardzero): Likewise.
24709 (sqrt_test_downward): Likewise.
24710 (sqrt_test_upward): Likewise.
24711 (tan_test): Likewise.
24712 (tan_test_tonearest): Likewise.
24713 (tan_test_towardzero): Likewise.
24714 (tan_test_downward): Likewise.
24715 (tan_test_upward): Likewise.
24716 (tanh_test): Likewise.
24717 (tgamma_test): Likewise.
24718 (trunc_test): Likewise.
24719 (y0_test): Likewise.
24720 (y1_test): Likewise.
24721 (yn_test): Likewise.
24722 (significand_test): Likewise.
24723
24724 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24725 individual tests in comment.
24726 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24727 (prev_max_error): New variable.
24728 (prev_real_max_error): Likewise.
24729 (prev_imag_max_error): Likewise.
24730 (compare_ulp_data): Don't refer to test names in comment.
24731 (find_test_ulps): Remove function.
24732 (find_function_ulps): Likewise.
24733 (find_complex_function_ulps): Likewise.
24734 (init_max_error): Take function name as argument. Look up ulps
24735 for that function.
24736 (print_ulps): Remove function.
24737 (print_max_error): Use prev_max_error instead of calling
24738 find_function_ulps.
24739 (print_complex_max_error): Use prev_real_max_error and
24740 prev_imag_max_error instead of calling find_complex_function_ulps.
24741 (check_float_internal): Take max_ulp parameter instead of calling
24742 find_test_ulps. Don't call print_ulps.
24743 (check_float): Update call to check_float_internal.
24744 (check_complex): Update calls to check_float_internal.
24745 (START): Pass argument to init_max_error.
24746 * math/gen-libm-test.pl (%results): Don't include "kind"
24747 information.
24748 (parse_ulps): Don't handle ulps of individual tests.
24749 (print_ulps_file): Likewise.
24750 (output_ulps): Likewise.
24751 * math/README.libm-test: Update.
24752 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24753 individual tests.
24754 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24755 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24756 * sysdeps/arm/libm-test-ulps: Likewise.
24757 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24758 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24759 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24760 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24761 * sysdeps/microblaze/libm-test-ulps: Likewise.
24762 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24763 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24765 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24767 * sysdeps/sh/libm-test-ulps: Likewise.
24768 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24769 * sysdeps/tile/libm-test-ulps: Likewise.
24770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24771
24772 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24773
24774 * math/libm-test.inc (print_complex_max_error): Check separately
24775 whether real and imaginary errors are within allowed range and
24776 pass 0 to print_complex_function_ulps instead of value within
24777 allowed range.
24778
24779 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24780
24781 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24782 formatting.
24783 (get_handles_fopen): Likewise.
24784 (do_write_test): Likewise.
24785
24786 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24787
24788 * libio/fileops.c (do_ftell): Use cached offset when
24789 available.
24790 * libio/iofwide.c (do_ftell_wide): Likewise.
24791 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24792 _IO_file_attach.
24793 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24794
24795 [BZ #16532]
24796 * libio/libioP.h (get_file_offset): New function.
24797 * libio/fileops.c (get_file_offset): Likewise.
24798 (do_ftell): Likewise.
24799 (_IO_new_file_seekoff): Split out ftell logic.
24800 * libio/wfileops.c (do_ftell_wide): Likewise.
24801 (_IO_wfile_seekoff): Split out ftell logic.
24802 * libio/tst-ftell-active-handler.c: New test case.
24803 * libio/Makefile (tests): Add it.
24804
24805 2014-03-03 Roland McGrath <roland@hack.frob.com>
24806
24807 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24808 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24809
24810 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24811
24812 [BZ #16639]
24813 * nscd/connections.c (nscd_init): Call do_exit.
24814 (start_threads): Call do_exit and notify_parent.
24815 (begin_drop_privileges): Call do_exit.
24816 (finish_drop_privileges): Likewise.
24817 * nscd/selinux.c (preserve_capabilities): Likewise.
24818 (install_real_capabilities): Likewise.
24819 (nscd_selinux_enabled): Likewise.
24820 (avc_create_thread): Likewise.
24821 (avc_alloc_lock): Likewise.
24822 (nscd_avc_init): Likewise.
24823 * nscd/nscd.c (parent_fd): New static variable.
24824 (main): Create a pipe between parent and child processes.
24825 Skip closing parent_fd.
24826 (monitor_child): New function.
24827 (do_exit): Likewise.
24828 (notify_parent): Likewise.
24829 * nscd/nscd.h (notify_parent): Likewise.
24830 (do_exit): Likewise.
24831
24832 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24833
24834 * malloc/malloc.c (__libc_calloc): Revert last change.
24835
24836 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24837
24838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24839
24840 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24841
24842 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24844 implementation.
24845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24846 (__libc_ifunc_impl_list): Likewise.
24847 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24848 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24849 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24850 * string/strrchr.c: Define STRRCHR.
24851
24852 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24853
24854 * benchtest/bench-strtok.c (simple_strtok): Delete.
24855 (strtok_string): Use as benchmark.
24856 * string/strtok (STRTOK): New macro.
24857
24858 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24859
24860 * manual/threads.texi: Add header and standard comments to all
24861 functions.
24862
24863 * elf/dl-lookup.c (check_match): New function.
24864 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24865 (do_lookup_x): Remove nested function check_match. Use non-nested
24866 function check_match.
24867
24868 2014-02-28 Roland McGrath <roland@hack.frob.com>
24869
24870 * csu/Makefile (generated, before-compile): Use += rather than =.
24871 * catgets/Makefile (generated, generated-dirs): Likewise.
24872 * debug/Makefile (generated): Likewise.
24873 * dlfcn/Makefile (generated): Likewise.
24874 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24875 * iconvdata/Makefile (before-compile, generated): Likewise.
24876 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24877 * libio/Makefile (generated): Likewise.
24878 * malloc/Makefile (generated): Likewise.
24879 * manual/Makefile (generated, generated-dirs): Likewise.
24880 * misc/Makefile (generated): Likewise.
24881 * posix/Makefile (generated): Likewise.
24882 * resolv/Makefile (generated): Likewise.
24883 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24884 * timezone/Makefile (generated, generated-dirs): Likewise.
24885
24886 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24887
24888 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24889
24890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24891 power8 implementation.
24892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24893 file: POWER8 llround ifunc implementation.
24894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24895 (__lllround): Add POWER8 implementation.
24896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24897 POWER8 llround implementation.
24898
24899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24900 power8 implementation.
24901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24902 file: POWER8 llrint ifunc implementation.
24903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24904 Add POWER8 implementation.
24905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24906 POWER8 llrint implementation.
24907
24908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24909 power8 implementation.
24910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24911 file: POWER8 finite ifunc implementation.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24913 Add POWER8 implementation.
24914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24915 Likewise.
24916 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24917 POWER8 finite implementation.
24918 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24919
24920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24921 power8 implementation.
24922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24923 file: POWER8 isinf ifunc implementation.
24924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24925 POWER8 implementation.
24926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24927 Likewise.
24928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24929 isinf implementation.
24930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24931
24932 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24933 (INIT_ARCH): Add hwcap2 initialization.
24934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24935 power8 implementation.
24936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24937 file: POWER8 isnan ifunc implementation.
24938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24939 POWER8 implementation.
24940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24941 Likewise.
24942 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24943 isnan implementation.
24944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24945
24946 2014-02-27 Joey Ye <joey.ye@arm.com>
24947
24948 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24949 (_FP_NANFRAC_Q): Set to zero.
24950
24951 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24952
24953 [BZ #16623]
24954 * math/auto-libm-test-in: New test inputs.
24955 * math/auto-libm-test-out: Regenerate.
24956 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24957 and DA.
24958 (__cos): Likewise.
24959 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24960
24961 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24962
24963 * scripts/evaluate-test.sh: Take new argument indicating whether
24964 failure is expected.
24965 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24966 indicating whether failure is expected.
24967 * conform/Makefile (test-xfail-run-conformtest): New variable.
24968 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24969 level.
24970 * posix/Makefile (test-xfail-annexc): New variable.
24971 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24972
24973 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24974
24975 * argp/Makefile: Include Makeconfig immediately after defining
24976 subdir.
24977 * assert/Makefile: Likewise.
24978 * benchtests/Makefile: Likewise.
24979 * catgets/Makefile: Likewise.
24980 * conform/Makefile: Likewise.
24981 * crypt/Makefile: Likewise.
24982 * csu/Makefile: Likewise.
24983 (all): Remove target.
24984 * ctype/Makefile: Include Makeconfig immediately after defining
24985 subdir.
24986 * debug/Makefile: Likewise.
24987 * dirent/Makefile: Likewise.
24988 * dlfcn/Makefile: Likewise.
24989 * gmon/Makefile: Likewise.
24990 * gnulib/Makefile: Likewise.
24991 * grp/Makefile: Likewise.
24992 * gshadow/Makefile: Likewise.
24993 * hesiod/Makefile: Likewise.
24994 * hurd/Makefile: Likewise.
24995 (all): Remove target.
24996 * iconvdata/Makefile: Include Makeconfig immediately after
24997 defining subdir.
24998 * inet/Makefile: Likewise.
24999 * intl/Makefile: Likewise.
25000 * io/Makefile: Likewise.
25001 * libio/Makefile: Likewise.
25002 (all): Remove target.
25003 * locale/Makefile: Include Makeconfig immediately after defining
25004 subdir.
25005 * login/Makefile: Likewise.
25006 * mach/Makefile: Likewise.
25007 (all): Remove target.
25008 * malloc/Makefile: Include Makeconfig immediately after defining
25009 subdir.
25010 (all): Remove target.
25011 * manual/Makefile: Include Makeconfig immediately after defining
25012 subdir.
25013 * math/Makefile: Likewise.
25014 * misc/Makefile: Likewise.
25015 * nis/Makefile: Likewise.
25016 * nss/Makefile: Likewise.
25017 * po/Makefile: Likewise.
25018 (all): Remove target.
25019 * posix/Makefile: Include Makeconfig immediately after defining
25020 subdir.
25021 * pwd/Makefile: Likewise.
25022 * resolv/Makefile: Likewise.
25023 * resource/Makefile: Likewise.
25024 * rt/Makefile: Likewise.
25025 * setjmp/Makefile: Likewise.
25026 * shadow/Makefile: Likewise.
25027 * signal/Makefile: Likewise.
25028 * socket/Makefile: Likewise.
25029 * soft-fp/Makefile: Likewise.
25030 * stdio-common/Makefile: Likewise.
25031 * stdlib/Makefile: Likewise.
25032 * streams/Makefile: Likewise.
25033 * string/Makefile: Likewise.
25034 * sunrpc/Makefile: Likewise.
25035 (all): Remove target.
25036 * sysvipc/Makefile: Include Makeconfig immediately after defining
25037 subdir.
25038 * termios/Makefile: Likewise.
25039 * time/Makefile: Likewise.
25040 * timezone/Makefile: Likewise.
25041 (all): Remove target.
25042 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25043 subdir.
25044 * wctype/Makefile: Likewise.
25045
25046 2014-02-26 Steve Ellcey <sellcey@mips.com>
25047
25048 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25049 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25050 (libc_feholdexcept_setround_mips): Ditto.
25051 (libc_feholdsetround): New.
25052 (libc_feholdsetroundf): New.
25053 (libc_feholdsetroundl): New.
25054 (libc_feupdateenv_test_mips): New.
25055 (libc_feupdateenv_test): New.
25056 (libc_feupdateenv_testf): New.
25057 (libc_feupdateenv_testl): New.
25058 (libc_feresetround): New.
25059 (libc_feresetroundf): New.
25060 (libc_feresetroundl): New.
25061 (libc_fetestexcept_mips): New.
25062 (libc_fetestexcept): New.
25063 (libc_fetestexceptf): New.
25064 (libc_fetestexceptl): New.
25065 (HAVE_RM_CTX): New.
25066 (libc_feholdexcept_setround_mips_ctx): New.
25067 (libc_feholdexcept_setround_ctx): New.
25068 (libc_feholdexcept_setroundf_ctx): New.
25069 (libc_feholdexcept_setroundl_ctx): New.
25070 (libc_fesetenv_mips_ctx): New.
25071 (libc_fesetenv_ctx): New.
25072 (libc_fesetenv_ctxf): New.
25073 (libc_fesetenv_ctxl): New.
25074 (libc_feupdateenv_mips_ctx): New.
25075 (libc_feupdateenv_ctx): New.
25076 (libc_feupdateenvf_ctx): New.
25077 (libc_feupdateenvl_ctx): New.
25078 (libc_feholdsetround_mips_ctx): New.
25079 (libc_feholdsetround_ctx): New.
25080 (libc_feholdsetroundf_ctx): New.
25081 (libc_feholdsetroundl_ctx): New.
25082 (libc_feresetround_mips_ctx): New.
25083 (libc_feresetround_ctx): New.
25084 (libc_feresetroundf_ctx): New.
25085 (libc_feresetroundl_ctx): New.
25086
25087 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25088
25089 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25090
25091 * manual/ipc.texi: New file.
25092 * manual/Makefile (chapters): Add ipc.
25093 * manual/job.texi: Add "Inter-Process Communication" to next.
25094 * manual/process.texi: Add "Inter-Process Communication" to prev.
25095
25096 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25097
25098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25099
25100 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25101
25102 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25103
25104 * manual/arith.texi: Fix spaces after sentences.
25105 * manual/charset.texi: Likewise.
25106 * manual/errno.texi: Likewise.
25107 * manual/install.texi: Likewise.
25108 * manual/llio.texi: Likewise.
25109 * manual/locale.texi: Likewise.
25110 * manual/maint.texi: Likewise.
25111 * manual/math.texi: Likewise.
25112 * manual/memory.texi: Likewise.
25113 * manual/message.texi: Likewise.
25114 * manual/probes.texi: Likewise.
25115 * manual/resource.texi: Likewise.
25116 * manual/signal.texi: Likewise.
25117 * manual/socket.texi: Likewise.
25118 * manual/stdio.texi: Likewise.
25119 * manual/string.texi: Likewise.
25120 * manual/time.texi: Likewise.
25121 * manual/users.texi: Likewise.
25122
25123 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25124
25125 [BZ #16632]
25126 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25127 _DEFAULT_SOURCE is defined.
25128
25129 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25130 Carlos O'Donell <carlos@redhat.com>
25131
25132 [BZ #16613]
25133 * elf/dl-tls.c (_dl_count_modids): New function.
25134 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25135 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25136 audit library and increment generation counter.
25137 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25138 * elf/tst-audit9.c: New file.
25139 * elf/tst-auditmod9a.c: New file.
25140 * elf/tst-auditmod9b.c: New file.
25141 * elf/Makefile: Add rules to build and run tst-audit9.
25142
25143 2014-02-25 Florian Weimer <fweimer@redhat.com>
25144
25145 [BZ #15347]
25146 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25147
25148 2014-02-25 Will Newton <will.newton@linaro.org>
25149
25150 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25151 (__longjmp): Restore sp and lr before restoring callee
25152 saved registers. Add longjmp and longjmp_target
25153 SystemTap probe point.
25154 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25155 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25156 Define to zero to match jmpbuf layout.
25157 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25158 (__sigsetjmp): Save sp and lr before saving callee
25159 saved registers. Add setjmp SystemTap probe point.
25160
25161 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25162
25163 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25164
25165 2014-02-24 Andreas Schwab <schwab@suse.de>
25166
25167 [BZ #15804]
25168 * elf/pldd.c (wait_for_ptrace_stop): New function.
25169 (main): Call it after attaching.
25170
25171 2014-02-22 Roland McGrath <roland@hack.frob.com>
25172
25173 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25174 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25175 Versions files is now verboten.
25176 * hurd/Versions (libc: GLIBC_2.0):
25177 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25178 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25179 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25180 * mach/Versions: Likewise.
25181
25182 * csu/Versions: Remove unused %include.
25183 * resolv/Versions: Likewise.
25184
25185 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25186
25187 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25188 ($(objpfx)check-local-headers.out): Likewise.
25189 ($(objpfx)begin-end-check.out): Likewise.
25190 * Makerules (check-abi-%.out): Likewise.
25191 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25192 ($(objpfx)test2.cat): Likewise.
25193 ($(objpfx)de/libc.cat): Likewise.
25194 ($(objpfx)test-gencat.out): Likewise.
25195 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25196 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25197 ($(objpfx)noload-mem): Likewise.
25198 ($(objpfx)tst-pathopt.out): Likewise.
25199 ($(objpfx)tst-rtld-load-self.out): Likewise.
25200 ($(objpfx)tst-array1-cmp.out): Likewise.
25201 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25202 ($(objpfx)tst-array2-cmp.out): Likewise.
25203 ($(objpfx)tst-array3-cmp.out): Likewise.
25204 ($(objpfx)tst-array4-cmp.out): Likewise.
25205 ($(objpfx)tst-array5-cmp.out): Likewise.
25206 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25207 ($(objpfx)check-textrel.out): Likewise.
25208 ($(objpfx)check-execstack.out): Likewise.
25209 ($(objpfx)check-localplt.out): Likewise.
25210 ($(objpfx)order2-cmp.out): Likewise.
25211 ($(objpfx)tst-leaks1-mem): Likewise.
25212 ($(objpfx)tst-leaks1-static-mem): Likewise.
25213 ($(objpfx)tst-initorder-cmp.out): Likewise.
25214 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25215 ($(objpfx)tst-unused-dep.out): Likewise.
25216 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25217 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25218 * iconv/Makefile (test-iconvconfig): Likewise.
25219 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25220 ($(objpfx)iconv-test.out): Likewise.
25221 ($(objpfx)tst-tables.out): Likewise.
25222 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25223 ($(objpfx)tst-gettext.out): Likewise.
25224 ($(objpfx)tst-translit.out): Likewise.
25225 ($(objpfx)tst-gettext2.out): Likewise.
25226 ($(objpfx)tst-gettext4.out): Likewise.
25227 ($(objpfx)tst-gettext6.out): Likewise.
25228 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25229 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25230 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25231 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25233 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25234 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25235 ($(objpfx)wordexp-tst.out): Likewise.
25236 ($(objpfx)annexc.out): Likewise.
25237 ($(objpfx)tst-fnmatch-mem): Likewise.
25238 ($(objpfx)bug-regex2-mem): Likewise.
25239 ($(objpfx)bug-regex14-mem): Likewise.
25240 ($(objpfx)bug-regex21-mem): Likewise.
25241 ($(objpfx)bug-regex31-mem): Likewise.
25242 ($(objpfx)tst-vfork3-mem): Likewise.
25243 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25244 ($(objpfx)tst-pcre-mem): Likewise.
25245 ($(objpfx)tst-boost-mem): Likewise.
25246 ($(objpfx)tst-getconf.out): Likewise.
25247 ($(objpfx)bug-ga2-mem): Likewise.
25248 ($(objpfx)bug-glob2-mem): Likewise.
25249 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25250 ($(objpfx)mtrace-tst-leaks2): Likewise.
25251 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25252 ($(objpfx)tst-printf.out): Likewise.
25253 ($(objpfx)tst-setvbuf1.out): Likewise.
25254 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25255 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25256 ($(objpfx)tst-fmtmsg.out): Likewise.
25257 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25258 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25259
25260 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25261 * bits/sigaction.h [__USE_MISC]: Likewise.
25262 * bits/waitstatus.h: Update #endif comments.
25263 * ctype/ctype.h: Likewise.
25264 * dirent/dirent.h: Likewise.
25265 [__USE_MISC]: Remove redundant conditionals.
25266 * grp/grp.h: Update #endif comments.
25267 [__USE_GNU]: Remove redundant conditionals.
25268 [__USE_MISC]: Likewise.
25269 * inet/netinet/in.h [__USE_GNU]: Likewise.
25270 * io/sys/stat.h [__USE_MISC]: Likewise.
25271 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25272 * libio/bits/stdio.h: Update #endif comments.
25273 [__USE_MISC]: Remove redundant conditionals.
25274 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25275 * libio/stdio.h: Update #endif comments.
25276 [__USE_MISC]: Remove redundant conditionals.
25277 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25278 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25279 * math/math.h: Update #else and #endif comments.
25280 [__USE_MISC]: Remove redundant conditionals.
25281 * misc/sys/uio.h: Update #endif comments.
25282 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25283 * posix/glob.h [__USE_MISC]: Likewise.
25284 * posix/sys/types.h: Update #endif comments.
25285 [__USE_MISC]: Remove redundant conditionals.
25286 * posix/sys/wait.h: Update #endif comments.
25287 [__USE_MISC]: Remove redundant conditionals.
25288 * posix/unistd.h: Update #endif comments.
25289 [__USE_MISC]: Remove redundant conditionals.
25290 * pwd/pwd.h [__USE_GNU]: Likewise.
25291 [__USE_MISC]: Likewise.
25292 * resolv/netdb.h [__USE_GNU]: Likewise.
25293 * signal/signal.h: Update #endif comments.
25294 [__USE_MISC]: Remove redundant conditionals.
25295 * stdlib/stdlib.h: Update #else and #endif comments.
25296 [__USE_MISC]: Remove redundant conditionals.
25297 [__USE_GNU]: Likewise.
25298 * string/bits/string2.h [__USE_MISC]: Likewise.
25299 * string/string.h: Update #endif comments.
25300 [__USE_MISC]: Remove redundant conditionals.
25301 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25302 Likewise.
25303 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25304 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25305 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25306 Likewise.
25307 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25308 Likewise.
25309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25310 comments.
25311 [__USE_MISC]: Remove redundant conditionals.
25312 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25313 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25314 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25315 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25316 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25319 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25320 Likewise.
25321 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25322 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25323 Likewise.
25324 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25325 Likewise.
25326 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25327 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25328 Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25332 * sysdeps/x86/bits/string.h: Update #endif comments.
25333 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25334 conditionals.
25335 * time/sys/time.h: Update #endif comments.
25336 * time/time.h: Likewise.
25337 [__USE_MISC]: Remove redundant conditionals.
25338
25339 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25340
25341 [BZ #16600]
25342 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25343
25344 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25345
25346 * Versions.def (librt): Add GLIBC_2.17.
25347
25348 2014-02-21 Adam Conrad <adconrad@0c3.net>
25349
25350 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25351 synonym for _SYS_AUXV_H to allow direct inclusion.
25352 * sysdeps/sparc/bits/hwcap.h: Likewise.
25353 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25354 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25355 * sysdeps/sparc/sysdep.h: Likewise.
25356
25357 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25358
25359 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25360
25361 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25362
25363 * benchtests/bench-strrchr.c: Print length instead of position.
25364
25365 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25366
25367 [BZ #16611]
25368 * sysdeps/unix/sysv/linux/kernel-features.h
25369 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25370 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25371 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25372 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25373 Likewise.
25374 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25375 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25376 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25377 (__ASSUME_SENDMMSG): Define instead of using previous
25378 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25379 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25380 (__ASSUME_SENDMMSG_SYSCALL): Define.
25381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25382 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25383 Likewise.
25384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25385 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25386 Likewise.
25387 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25388 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25389 Likewise.
25390 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25391 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25392 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25393 [__ASSUME_SENDMMSG]: Change conditionals to
25394 [__ASSUME_SENDMMSG_SOCKETCALL].
25395 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25396 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25397 Define.
25398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25399 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25400 Likewise.
25401 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25402 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25403 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25404 [!__ASSUME_SENDMMSG]: Change conditional to
25405 [!__ASSUME_SENDMMSG_SOCKETCALL].
25406 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25407 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25408 Define.
25409
25410 [BZ #16610]
25411 * sysdeps/unix/sysv/linux/kernel-features.h
25412 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25413 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25414 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25415 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25416 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25417 [__i386__ || __sparc__]
25418 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25419 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25420 (__ASSUME_RECVMMSG): Define instead of using previous
25421 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25422 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25423 (__ASSUME_RECVMMSG_SYSCALL): Define.
25424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25425 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25428 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25429 Likewise.
25430 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25431 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25432 Likewise.
25433 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25434 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25435 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25436 [__ASSUME_RECVMMSG]: Change condition to
25437 [__ASSUME_RECVMMSG_SOCKETCALL].
25438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25439 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25440 Define.
25441 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25442 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25444 Likewise.
25445 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25446 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25447 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25448 [!__ASSUME_RECVMMSG]: Change condition to
25449 [!__ASSUME_RECVMMSG_SOCKETCALL].
25450 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25451 (__ASSUME_RECVMMSG_SYSCALL): Define.
25452
25453 [BZ #16609]
25454 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25455 __powerpc__ || __s390__ || __sh__ || __sparc__]
25456 (__ASSUME_SOCKETCALL): Define.
25457 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25458 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25459 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25460 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25461 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25462 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25463 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25464 (__ASSUME_ACCEPT4): Define instead of using previous
25465 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25466 __powerpc__ || __sparc__ || __s390__)] condition.
25467 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25468 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25469 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25470 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25471 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25472 [!__ASSUME_ACCEPT4]: Change condition to
25473 [!__ASSUME_ACCEPT4_SOCKETCALL].
25474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25475 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25476 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25477 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25478 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25479 __ASSUME_ACCEPT4_SYSCALL.
25480 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25481 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25483 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25484 __ASSUME_ACCEPT4_SYSCALL.
25485 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25486 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25487 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25488 [__ASSUME_ACCEPT4]: Change condition to
25489 [__ASSUME_ACCEPT4_SOCKETCALL].
25490 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25491 (__ASSUME_SOCKETCALL): Define.
25492 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25494 (__ASSUME_SOCKETCALL): Define.
25495 (__ASSUME_ACCEPT4): Remove.
25496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25497 Define.
25498 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25499 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25500 Likewise.
25501 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25502 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25503
25504 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25505 macro.
25506 (HWCAP_ARM_LPAE): Likewise.
25507 (HWCAP_ARM_EVTSTRM): Likewise.
25508 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25509 Add vpfd32, lpae and evtstrm.
25510 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25511 Increase to 22.
25512
25513 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25514
25515 * math/auto-libm-test-in: Add tests of clog10.
25516 * math/auto-libm-test-out: Regenerated.
25517 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25518 * sysdeps/i386/fpu/libm-test-ulps: Update.
25519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25520
25521 2014-02-18 Andreas Schwab <schwab@suse.de>
25522
25523 [BZ #16574]
25524 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25525 Store non-zero if the second buffer was newly allocated.
25526 (send_dg): Likewise.
25527 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25528 to send_vc and send_dg.
25529 (res_nsend): Pass NULL for ansp2_malloced.
25530 * resolv/res_query.c (__libc_res_nquery): Add parameter
25531 answerp2_malloced and pass it down to __libc_res_nsend.
25532 (res_nquery): Pass additional NULL to __libc_res_nquery.
25533 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25534 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25535 second answer buffer if answerp2_malloced was set.
25536 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25537 (__libc_res_nquerydomain): Add parameter
25538 answerp2_malloced and pass it down to __libc_res_nquery.
25539 (res_nquerydomain): Pass additional NULL to
25540 __libc_res_nquerydomain.
25541 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25542 additional NULL to __libc_res_nsend and __libc_res_nquery.
25543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25544 additional NULL to __libc_res_nsearch.
25545 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25546 parameter of __libc_res_nsearch to check for separately allocated
25547 second buffer.
25548 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25549 __libc_res_nquery.
25550 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25551 additional NULL to __libc_res_nquery.
25552 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25553 __libc_res_nsearch.
25554 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25555 * include/resolv.h: Update prototypes of __libc_res_nquery,
25556 __libc_res_nsearch, __libc_res_nsend.
25557
25558 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25559
25560 * math/auto-libm-test-in: Add tests of fma.
25561 * math/auto-libm-test-out: Regenerated.
25562 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25563 (fma_towardzero_test_data): Likewise.
25564 (fma_downward_test_data): Likewise.
25565 (fma_upward_test_data): Likewise.
25566 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25567 mpc_mode.
25568 (rounding_modes): Add values for new field.
25569 (func_calc_method): Add value mpfr_fff_f.
25570 (func_calc_desc): Add mpfr_fff_f union field.
25571 (test_function): Add field exact_args.
25572 (FUNC): Add macro argument EXACT_ARGS.
25573 (FUNC_mpfr_f_f): Update call to FUNC.
25574 (FUNC_mpfr_f_f): Likewise.
25575 (FUNC_mpfr_ff_f): Likewise.
25576 (FUNC_mpfr_if_f): Likewise.
25577 (FUNC_mpc_c_f): Likewise.
25578 (FUNC_mpc_c_c): Likewise.
25579 (test_functions): Add fma. Update calls to FUNC.
25580 (handle_input_arg): Add argument exact_args.
25581 (add_test): Update call to handle_input_arg.
25582 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25583 (output_for_one_input_case): Update call to calc_generic_results.
25584 Recalculate exact zero results in each rounding mode.
25585
25586 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25587 non-negative before setting low bit.
25588 * math/auto-libm-test-in: Mark one asin test possibly having
25589 spurious underflow.
25590 * math/auto-libm-test-out: Regenerated.
25591 * sysdeps/i386/fpu/libm-test-ulps: Update.
25592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25593
25594 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25595
25596 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25597 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25598 ports/sysdeps/unix/sysv/linux/microblaze.
25599 * README: Add missing listing for microblaze*-*-linux-gnu.
25600
25601 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25602
25603 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25604 duplicate code
25605
25606 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25607
25608 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25609 * sysdeps/unix/sysv/linux/ia64: Move directory from
25610 ports/sysdeps/unix/sysv/linux/ia64.
25611 * README: Update listing for ia64-*-linux-gnu.
25612
25613 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25614 Joseph Myers <joseph@codesourcery.com>
25615
25616 * Makeconfig (test-name): New variable.
25617 (evaluate-test): Likewise.
25618 * Makerules (do-test-clean): Remove .test-result files.
25619 (common-mostlyclean): Likewise.
25620 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25621 * scripts/evaluate-test.sh: New file.
25622
25623 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25624
25625 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25626 separate $(objpfx)tst-fopenloc-cmp.out and
25627 $(objpfx)tst-fopenloc-mem.out targets.
25628 (tests): Update dependencies.
25629 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25630 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25631 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25632 (tst-rxspencer-no-utf8-ARGS): New variable.
25633 (tst-rxspencer-no-utf8-ENV): Likewise.
25634 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25635 instead of $(objpfx)tst-rxspencer-mem.
25636 ($(objpfx)tst-rxspencer-mem): Change target to
25637 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25638 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25639 * posix/tst-rxspencer-no-utf8.c: New file.
25640
25641 * elf/Makefile ($(objpfx)order.out): Remove rule.
25642 [$(run-built-tests) = yes] (tests): Depend on
25643 $(objpfx)order-cmp.out.
25644 ($(objpfx)order-cmp.out): New rule.
25645 [$(run-built-tests) = yes] (tests): Depend on
25646 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25647 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25648 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25649 $(objpfx)tst-array5-static-cmp.out.
25650 ($(objpfx)tst-array1.out): Remove rule.
25651 ($(objpfx)tst-array1-cmp.out): New rule.
25652 ($(objpfx)tst-array1-static.out): Remove rule.
25653 ($(objpfx)tst-array1-static-cmp.out): New rule.
25654 ($(objpfx)tst-array2.out): Remove rule.
25655 ($(objpfx)tst-array2-cmp.out): New rule.
25656 ($(objpfx)tst-array3.out): Remove rule.
25657 ($(objpfx)tst-array3-cmp.out): New rule.
25658 ($(objpfx)tst-array4.out): Remove rule.
25659 ($(objpfx)tst-array4-cmp.out): New rule.
25660 ($(objpfx)tst-array5.out): Remove rule.
25661 ($(objpfx)tst-array5-cmp.out): New rule.
25662 ($(objpfx)tst-array5-static.out): Remove rule.
25663 ($(objpfx)tst-array5-static-cmp.out): New rule.
25664 [$(run-built-tests) = yes] (tests): Depend on
25665 $(objpfx)order2-cmp.out.
25666 ($(objpfx)order2.out): Remove rule.
25667 ($(objpfx)order2-cmp.out): New rule.
25668 ($(objpfx)tst-initorder.out): Remove rule.
25669 [$(run-built-tests) = yes] (tests): Depend on
25670 $(objpfx)tst-initorder-cmp.out.
25671 ($(objpfx)tst-initorder-cmp.out): New rule.
25672 ($(objpfx)tst-initorder2.out): Remove rule.
25673 [$(run-built-tests) = yes] (tests): Depend on
25674 $(objpfx)tst-initorder2-cmp.out.
25675 ($(objpfx)tst-initorder2-cmp.out): New rule.
25676 [$(run-built-tests) = yes] (tests): Depend on
25677 $(objpfx)tst-unused-dep-cmp.out.
25678 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25679 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25680 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25681 on $(objpfx)tst-setvbuf1-cmp.out.
25682 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25683 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25684 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25685 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25686 ($(objpfx)tst-svc.out): Remove rule.
25687 ($(objpfx)tst-svc-cmp.out): New rule.
25688
25689 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25690
25691 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25692 * ctype/ctype.h [__USE_MISC]: Likewise.
25693 * dirent/dirent.h [__USE_MISC]: Likewise.
25694 * grp/grp.h [__USE_MISC]: Likewise.
25695 * io/fcntl.h [__USE_MISC]: Likewise.
25696 * io/sys/stat.h [__USE_MISC]: Likewise.
25697 * libio/stdio.h [__USE_MISC]: Likewise.
25698 * posix/unistd.h [__USE_MISC]: Likewise.
25699 * pwd/pwd.h [__USE_MISC]: Likewise.
25700 * stdlib.h [__USE_MISC]: Likewise.
25701 * string/bits/string2.h [__USE_MISC]: Likewise.
25702 * string/string.h [__USE_MISC]: Likewise.
25703 * time/time.h [__USE_MISC]: Likewise.
25704
25705 2014-02-13 Andreas Schwab <schwab@suse.de>
25706
25707 [BZ #16574]
25708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25709 second answer buffer if it was separately allocated.
25710
25711 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25712
25713 * sysdeps/mips/math-tests.h: Include <features.h>.
25714 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25715 (ROUNDING_TESTS_long_double): Do not define.
25716 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25717 (EXCEPTION_TESTS_long_double): Likewise.
25718 * sysdeps/mips/mips64/libm-test-ulps: Update.
25719
25720 * include/features.h (__USE_BSD): Remove macro definitions.
25721 (__USE_SVID): Likewise.
25722 (_BSD_SOURCE): Likewise.
25723 (_SVID_SOURCE): Likewise.
25724 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25725 from definition of _DEFAULT_SOURCE.
25726 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25727 [_DEFAULT_SOURCE].
25728 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25729 * bits/mman.h [__USE_BSD]: Likewise.
25730 * bits/termios.h [__USE_BSD]: Likewise.
25731 * bits/waitstatus.h [__USE_BSD]: Likewise.
25732 * ctype/ctype.h [__USE_SVID]: Likewise.
25733 * dirent/dirent.h [__USE_BSD]: Likewise.
25734 * grp/grp.h [__USE_SVID]: Likewise.
25735 [__USE_BSD]: Likewise.
25736 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25737 * io/fcntl.h [__USE_BSD]: Likewise.
25738 * io/ftw.h [__USE_BSD]: Likewise.
25739 * io/sys/stat.h [__USE_BSD]: Likewise.
25740 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25741 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25742 * libio/stdio.h [__USE_SVID]: Likewise.
25743 [__USE_BSD]: Likewise.
25744 * math/math.h [__USE_SVID]: Likewise.
25745 [__USE_BSD]: Likewise.
25746 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25747 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25748 * misc/search.h [__USE_SVID]: Likewise.
25749 * misc/sys/mman.h [__USE_BSD]: Likewise.
25750 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25751 * misc/sys/uio.h [__USE_BSD]: Likewise.
25752 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25753 * posix/glob.h [__USE_BSD]: Likewise.
25754 * posix/regex.h [__USE_BSD]: Likewise.
25755 * posix/sys/types.h [__USE_BSD]: Likewise.
25756 [__USE_SVID]: Likewise.
25757 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25758 * posix/sys/wait.h [__USE_BSD]: Likewise.
25759 [__USE_SVID]: Likewise.
25760 * posix/unistd.h [__USE_BSD]: Likewise.
25761 [__USE_SVID]: Likewise.
25762 * pwd/pwd.h [__USE_SVID]: Likewise.
25763 * resolv/netdb.h [__USE_BSD]: Likewise.
25764 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25765 * signal/signal.h [__USE_BSD]: Likewise.
25766 [__USE_SVID]: Likewise.
25767 * socket/sys/socket.h [__USE_BSD]: Likewise.
25768 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25769 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25770 [__USE_SVID]: Likewise.
25771 * string/bits/string2.h [__USE_BSD]: Likewise.
25772 [__USE_SVID]: Likewise.
25773 * string/bits/string3.h [__USE_BSD]: Likewise.
25774 * string/endian.h [__USE_BSD]: Likewise.
25775 * string/string.h [__USE_SVID]: Likewise.
25776 [__USE_BSD]: Likewise.
25777 * string/strings.h [__USE_BSD]: Likewise.
25778 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25779 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25780 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25781 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25782 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25783 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25784 Likewise.
25785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25786 Likewise.
25787 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25788 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25789 Likewise.
25790 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25791 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25794 Likewise.
25795 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25796 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25797 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25798 Likewise.
25799 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25800 Likewise.
25801 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25802 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25803 * termios/termios.h [__USE_BSD]: Likewise.
25804 * time/sys/time.h [__USE_BSD]: Likewise.
25805 * time/time.h [__USE_BSD]: Likewise.
25806 [__USE_SVID]: Likewise.
25807
25808 * Makefile (subdir_targets): Remove subdir_lint.out.
25809
25810 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25811 (do-tst-printf): Likewise.
25812 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25813 $(objpfx)tst-printf.out.
25814
25815 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25816
25817 * Makerules (check-abi-%): Change target to
25818 $(objpfx)check-abi-%.out.
25819 (check-abi target): Update dependencies.
25820 (check-abi-pattern variable): Redirect output of diff to $@.
25821 (check-abi variable): Likewise.
25822 * elf/Makefile (check-abi): Update dependencies.
25823
25824 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25825 unused.
25826 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25827 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25828 subnormal range.
25829 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25830 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25831 value has largest subnormal exponent.
25832 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25833 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25834 * sysdeps/aarch64/soft-fp/sfp-machine.h
25835 (_FP_TININESS_AFTER_ROUNDING): New macro.
25836 * sysdeps/alpha/soft-fp/sfp-machine.h
25837 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25838 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25839 Likewise.
25840 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25841 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25842 * sysdeps/mips/soft-fp/sfp-machine.h
25843 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25844 * sysdeps/powerpc/soft-fp/sfp-machine.h
25845 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25846 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25847 Likewise.
25848 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25849 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25850 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25851 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25852 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25853 Likewise.
25854
25855 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25856
25857 [BZ #16545]
25858 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25859 model 1.
25860
25861 2014-02-12 Richard Henderson <rth@redhat.com>
25862
25863 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25864 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25865 * sysdeps/unix/sysv/linux/alpha: Move directory from
25866 ports/sysdeps/unix/sysv/linux/alpha.
25867 * README: Update listing for alpha-*-linux-gnu.
25868
25869 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25870
25871 * include/features.h: Update comment documenting feature test
25872 macros.
25873 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25874 _DEFAULT_SOURCE.
25875 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25876 (_SVID_SOURCE): Likewise.
25877 (_DEFAULT_SOURCE): Update description of default features.
25878 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25879 with _GNU_SOURCE.
25880 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25881 (S_ISVTX): Likewise.
25882 * manual/math.texi (Mathematical Constants): Likewise.
25883 * manual/signal.texi (Interrupted Primitives): Likewise.
25884 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25885 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25886 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25887 Don't refer to _SVID_SOURCE in warning text.
25888
25889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25890
25891 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25892 already defined.
25893 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25894 * sysdeps/mips/dl-lookup.c: Remove.
25895 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25896
25897 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25898
25899 [BZ #16447]
25900 * math/auto-libm-test-in: Add testcase for expl.
25901 * math/auto-libm-test-out: Regenerate.
25902 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25903 calculation of unsafe.
25904 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25905
25906 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25907
25908 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25909 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25910 ports/sysdeps/unix/sysv/linux/aarch64.
25911 * README: Update listing for aarch64*-*-linux-gnu.
25912
25913 2014-02-11 Will Newton <will.newton@linaro.org>
25914
25915 * manual/probes.texi (Mathematical Function Probes): Use
25916 "triggered" instead of "hit".
25917
25918 * manual/probes.texi (Internal Probes): Add documentation
25919 of setjmp, longjmp and longjmp_target probes.
25920
25921 * include/stap-probe.h: Add comment about probe argument
25922 format.
25923
25924 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25925 definition. (tr_where, tr_freehook, tr_mallochook,
25926 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25927
25928 2014-02-11 David S. Miller <davem@davemloft.net>
25929
25930 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25931 processing int_tests.
25932
25933 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25934
25935 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25936 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25937 * sysdeps/unix/sysv/linux/mips: Move directory from
25938 ports/sysdeps/unix/sysv/linux/mips.
25939 * README: Update listing for mips-*-linux-gnu and
25940 mips64-*-linux-gnu.
25941
25942 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25943
25944 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25945 * sysdeps/unix/sysv/linux/m68k: Move directory from
25946 ports/sysdeps/unix/sysv/linux/m68k.
25947 * README: Update listing for m68k-*-linux-gnu.
25948
25949 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25950
25951 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25952 * sysdeps/unix/sysv/linux/generic: Move directory from
25953 ports/sysdeps/unix/sysv/linux/generic.
25954 * sysdeps/unix/sysv/linux/tile: Move directory from
25955 ports/sysdeps/unix/sysv/linux/tile.
25956 * README: Update listing for tile*-*-linux-gnu.
25957
25958 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25959
25960 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25961 __builtin_expect.
25962 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25963 * catgets/open_catalog.c (__open_catalog): Likewise.
25964 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25965 * debug/confstr_chk.c: Likewise.
25966 * debug/fread_chk.c (__fread_chk): Likewise.
25967 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25968 * debug/getgroups_chk.c: Likewise.
25969 * debug/mbsnrtowcs_chk.c: Likewise.
25970 * debug/mbsrtowcs_chk.c: Likewise.
25971 * debug/mbstowcs_chk.c: Likewise.
25972 * debug/memcpy_chk.c: Likewise.
25973 * debug/memmove_chk.c: Likewise.
25974 * debug/mempcpy_chk.c: Likewise.
25975 * debug/memset_chk.c: Likewise.
25976 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25977 * debug/strcat_chk.c (__strcat_chk): Likewise.
25978 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25979 * debug/strncat_chk.c (__strncat_chk): Likewise.
25980 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25981 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25982 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25983 * debug/wcpncpy_chk.c: Likewise.
25984 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25985 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25986 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25987 * debug/wcsncpy_chk.c: Likewise.
25988 * debug/wcsnrtombs_chk.c: Likewise.
25989 * debug/wcsrtombs_chk.c: Likewise.
25990 * debug/wcstombs_chk.c: Likewise.
25991 * debug/wmemcpy_chk.c: Likewise.
25992 * debug/wmemmove_chk.c: Likewise.
25993 * debug/wmempcpy_chk.c: Likewise.
25994 * debug/wmemset_chk.c: Likewise.
25995 * dirent/scandirat.c (SCANDIRAT): Likewise.
25996 * dlfcn/dladdr1.c (dladdr1): Likewise.
25997 * dlfcn/dladdr.c (dladdr): Likewise.
25998 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25999 * dlfcn/dlerror.c (__dlerror): Likewise.
26000 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26001 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26002 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26003 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26004 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26005 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26006 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26007 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26008 Likewise.
26009 * elf/dl-conflict.c: Likewise.
26010 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26011 * elf/dl-dst.h: Likewise.
26012 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26013 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26015 * elf/dl-init.c (call_init, _dl_init): Likewise.
26016 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26017 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26018 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26019 Likewise.
26020 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26021 Likewise.
26022 * elf/dl-minimal.c (__libc_memalign): Likewise.
26023 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26024 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26025 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26026 * elf/dl-sym.c (do_sym): Likewise.
26027 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26028 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26029 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26030 * elf/dl-writev.h (_dl_writev): Likewise.
26031 * elf/ldconfig.c (search_dir): Likewise.
26032 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26033 (dl_main): Likewise.
26034 * elf/setup-vdso.h (setup_vdso): Likewise.
26035 * grp/compat-initgroups.c (compat_call): Likewise.
26036 * grp/fgetgrent.c (fgetgrent): Likewise.
26037 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26038 * grp/putgrent.c (putgrent): Likewise.
26039 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26040 Likewise.
26041 * hurd/hurdinit.c: Likewise.
26042 * iconvdata/8bit-gap.c (struct): Likewise.
26043 * iconvdata/ansi_x3.110.c : Likewise.
26044 * iconvdata/big5.c : Likewise.
26045 * iconvdata/big5hkscs.c : Likewise.
26046 * iconvdata/cp1255.c: Likewise.
26047 * iconvdata/cp1258.c : Likewise.
26048 * iconvdata/cp932.c : Likewise.
26049 * iconvdata/euc-cn.c: Likewise.
26050 * iconvdata/euc-jisx0213.c : Likewise.
26051 * iconvdata/euc-jp.c: Likewise.
26052 * iconvdata/euc-jp-ms.c : Likewise.
26053 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26054 * iconvdata/gb18030.c : Likewise.
26055 * iconvdata/gbbig5.c (const): Likewise.
26056 * iconvdata/gbgbk.c: Likewise.
26057 * iconvdata/gbk.c : Likewise.
26058 * iconvdata/ibm1364.c : Likewise.
26059 * iconvdata/ibm930.c : Likewise.
26060 * iconvdata/ibm932.c: Likewise.
26061 * iconvdata/ibm933.c : Likewise.
26062 * iconvdata/ibm935.c : Likewise.
26063 * iconvdata/ibm937.c : Likewise.
26064 * iconvdata/ibm939.c : Likewise.
26065 * iconvdata/ibm943.c: Likewise.
26066 * iconvdata/iso_11548-1.c: Likewise.
26067 * iconvdata/iso-2022-cn.c : Likewise.
26068 * iconvdata/iso-2022-cn-ext.c : Likewise.
26069 * iconvdata/iso-2022-jp-3.c: Likewise.
26070 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26071 * iconvdata/iso-2022-kr.c : Likewise.
26072 * iconvdata/iso646.c (gconv_end): Likewise.
26073 * iconvdata/iso_6937-2.c : Likewise.
26074 * iconvdata/iso_6937.c : Likewise.
26075 * iconvdata/iso8859-1.c: Likewise.
26076 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26077 * iconvdata/shift_jisx0213.c : Likewise.
26078 * iconvdata/sjis.c : Likewise.
26079 * iconvdata/t.61.c : Likewise.
26080 * iconvdata/tcvn5712-1.c : Likewise.
26081 * iconvdata/tscii.c: Likewise.
26082 * iconvdata/uhc.c : Likewise.
26083 * iconvdata/unicode.c (gconv_end): Likewise.
26084 * iconvdata/utf-16.c (gconv_end): Likewise.
26085 * iconvdata/utf-32.c (gconv_end): Likewise.
26086 * iconvdata/utf-7.c (base64): Likewise.
26087 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26088 * iconv/gconv_close.c (__gconv_close): Likewise.
26089 * iconv/gconv_open.c (__gconv_open): Likewise.
26090 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26091 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26092 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26093 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26094 (ucs4le_internal_loop_single): Likewise.
26095 * iconv/iconv.c (iconv): Likewise.
26096 * iconv/iconv_close.c: Likewise.
26097 * iconv/loop.c (SINGLE): Likewise.
26098 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26099 * include/atomic.h: Likewise.
26100 * inet/inet6_option.c (option_alloc): Likewise.
26101 * intl/bindtextdom.c (set_binding_values): Likewise.
26102 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26103 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26104 * intl/localealias.c (read_alias_file): Likewise.
26105 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26106 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26107 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26108 * libio/fmemopen.c (fmemopen): Likewise.
26109 * libio/iofgets.c (_IO_fgets): Likewise.
26110 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26111 * libio/iofgetws.c (fgetws): Likewise.
26112 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26113 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26114 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26115 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26116 * locale/findlocale.c (_nl_find_locale): Likewise.
26117 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26118 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26119 Likewise.
26120 * locale/setlocale.c (setlocale): Likewise.
26121 * login/programs/pt_chown.c (main): Likewise.
26122 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26123 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26124 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26125 (mmap, mmap64, mremap, munmap): Likewise.
26126 * math/e_exp2l.c: Likewise.
26127 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26128 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26129 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26130 * math/s_catan.c (__catan): Likewise.
26131 * math/s_catanf.c (__catanf): Likewise.
26132 * math/s_catanh.c (__catanh): Likewise.
26133 * math/s_catanhf.c (__catanhf): Likewise.
26134 * math/s_catanhl.c (__catanhl): Likewise.
26135 * math/s_catanl.c (__catanl): Likewise.
26136 * math/s_ccosh.c (__ccosh): Likewise.
26137 * math/s_ccoshf.c (__ccoshf): Likewise.
26138 * math/s_ccoshl.c (__ccoshl): Likewise.
26139 * math/s_cexp.c (__cexp): Likewise.
26140 * math/s_cexpf.c (__cexpf): Likewise.
26141 * math/s_cexpl.c (__cexpl): Likewise.
26142 * math/s_clog10.c (__clog10): Likewise.
26143 * math/s_clog10f.c (__clog10f): Likewise.
26144 * math/s_clog10l.c (__clog10l): Likewise.
26145 * math/s_clog.c (__clog): Likewise.
26146 * math/s_clogf.c (__clogf): Likewise.
26147 * math/s_clogl.c (__clogl): Likewise.
26148 * math/s_csin.c (__csin): Likewise.
26149 * math/s_csinf.c (__csinf): Likewise.
26150 * math/s_csinh.c (__csinh): Likewise.
26151 * math/s_csinhf.c (__csinhf): Likewise.
26152 * math/s_csinhl.c (__csinhl): Likewise.
26153 * math/s_csinl.c (__csinl): Likewise.
26154 * math/s_csqrt.c (__csqrt): Likewise.
26155 * math/s_csqrtf.c (__csqrtf): Likewise.
26156 * math/s_csqrtl.c (__csqrtl): Likewise.
26157 * math/s_ctan.c (__ctan): Likewise.
26158 * math/s_ctanf.c (__ctanf): Likewise.
26159 * math/s_ctanh.c (__ctanh): Likewise.
26160 * math/s_ctanhf.c (__ctanhf): Likewise.
26161 * math/s_ctanhl.c (__ctanhl): Likewise.
26162 * math/s_ctanl.c (__ctanl): Likewise.
26163 * math/w_pow.c: Likewise.
26164 * math/w_powf.c: Likewise.
26165 * math/w_powl.c: Likewise.
26166 * math/w_scalb.c (sysv_scalb): Likewise.
26167 * math/w_scalbf.c (sysv_scalbf): Likewise.
26168 * math/w_scalbl.c (sysv_scalbl): Likewise.
26169 * misc/error.c (error_tail): Likewise.
26170 * misc/pselect.c (__pselect): Likewise.
26171 * nis/nis_callback.c (__nis_create_callback): Likewise.
26172 * nis/nis_call.c (__nisfind_server): Likewise.
26173 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26174 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26175 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26176 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26177 * nis/nis_lookup.c (nis_lookup): Likewise.
26178 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26179 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26180 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26181 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26182 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26183 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26184 * nis/nss_compat/compat-initgroups.c (add_group)
26185 (internal_getgrent_r): Likewise.
26186 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26187 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26188 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26189 (internal_getspnam_r): Likewise.
26190 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26191 (_nss_nis_getaliasbyname_r): Likewise.
26192 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26193 (_nss_nis_getntohost_r): Likewise.
26194 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26195 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26196 (_nss_nis_getgrgid_r): Likewise.
26197 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26198 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26199 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26200 (_nss_nis_gethostbyname4_r): Likewise.
26201 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26202 (initgroups_netid): Likewise.
26203 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26204 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26205 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26206 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26207 (_nss_nis_getprotobynumber_r): Likewise.
26208 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26209 (_nss_nis_getsecretkey): Likewise.
26210 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26211 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26212 (_nss_nis_getpwuid_r): Likewise.
26213 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26214 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26215 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26216 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26217 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26218 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26219 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26220 Likewise.
26221 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26222 (_nss_nisplus_getntohost_r): Likewise.
26223 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26224 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26225 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26226 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26227 Likewise.
26228 * nis/nss_nisplus/nisplus-initgroups.c
26229 (_nss_nisplus_initgroups_dyn): Likewise.
26230 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26231 (_nss_nisplus_getnetbyaddr_r): Likewise.
26232 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26233 (_nss_nisplus_getprotobynumber_r): Likewise.
26234 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26235 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26236 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26237 Likewise.
26238 * nis/nss_nisplus/nisplus-service.c
26239 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26240 (_nss_nisplus_getservbyport_r): Likewise.
26241 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26242 (_nss_nisplus_getspnam_r): Likewise.
26243 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26244 Likewise.
26245 * nscd/aicache.c (addhstaiX): Likewise.
26246 * nscd/cache.c (cache_search, prune_cache): Likewise.
26247 * nscd/connections.c (register_traced_file, send_ro_fd)
26248 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26249 (main_loop_epoll): Likewise.
26250 * nscd/grpcache.c (addgrbyX): Likewise.
26251 * nscd/hstcache.c (addhstbyX): Likewise.
26252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26253 * nscd/mem.c (gc, mempool_alloc): Likewise.
26254 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26255 (addinnetgrX): Likewise.
26256 * nscd/nscd-client.h (__nscd_acquire_maplock)
26257 (__nscd_drop_map_ref): Likewise.
26258 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26259 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26261 Likewise.
26262 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26263 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26264 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26265 (__nscd_get_map_ref): Likewise.
26266 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26267 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26268 Likewise.
26269 * nscd/pwdcache.c (addpwbyX): Likewise.
26270 * nscd/selinux.c (preserve_capabilities): Likewise.
26271 * nscd/servicescache.c (addservbyX): Likewise.
26272 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26273 * posix/fnmatch.c (fnmatch): Likewise.
26274 * posix/getopt.c (_getopt_internal_r): Likewise.
26275 * posix/glob.c (glob, glob_in_dir): Likewise.
26276 * posix/wordexp.c (exec_comm_child): Likewise.
26277 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26278 (getanswer_r, gaih_getanswer_slice): Likewise.
26279 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26280 * resolv/res_init.c: Likewise.
26281 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26282 * resolv/res_query.c (__libc_res_nquery): Likewise.
26283 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26284 Likewise.
26285 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26286 * stdio-common/perror.c (perror): Likewise.
26287 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26288 * stdio-common/tmpnam.c (tmpnam): Likewise.
26289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26290 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26291 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26292 Likewise.
26293 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26294 * stdlib/putenv.c (putenv): Likewise.
26295 * stdlib/setenv.c (__add_to_environ): Likewise.
26296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26297 * stdlib/strtol_l.c (INTERNAL): Likewise.
26298 * string/memmem.c (memmem): Likewise.
26299 * string/strerror.c (strerror): Likewise.
26300 * string/strnlen.c (__strnlen): Likewise.
26301 * string/test-memmem.c (simple_memmem): Likewise.
26302 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26303 * sunrpc/pm_getport.c (__get_socket): Likewise.
26304 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26305 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26306 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26307 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26308 Likewise.
26309 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26310 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26311 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26312 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26313 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26314 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26315 Likewise.
26316 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26317 Likewise.
26318 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26319 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26321 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26322 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26324 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26326 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26327 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26328 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26329 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26330 Likewise.
26331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26332 Likewise.
26333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26334 Likewise.
26335 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26339 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26340 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26341 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26350 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26351 Likewise.
26352 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26353 Likewise.
26354 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26355 Likewise.
26356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26357 Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26360 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26361 Likewise.
26362 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26363 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26364 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26365 * sysdeps/posix/sleep.c: Likewise.
26366 * sysdeps/posix/tempname.c: Likewise.
26367 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26368 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26369 Likewise.
26370 * sysdeps/powerpc/powerpc32/dl-machine.h
26371 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26372 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26374 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26375 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26376 Likewise.
26377 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26378 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26379 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26380 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26381 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26382 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26383 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26384 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26385 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26388 (elf_machine_lazy_rel): Likewise.
26389 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26391 (elf_machine_lazy_rel): Likewise.
26392 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26393 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26394 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26395 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26396 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26397 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26398 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26400 Likewise.
26401 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26402 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26403 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26404 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26405 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26406 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26407 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26408 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26409 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26410 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26411 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26412 Likewise.
26413 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26414 (__posix_fallocate64_l64): Likewise.
26415 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26416 (posix_fallocate): Likewise.
26417 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26418 Likewise.
26419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26420 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26421 (getifaddrs_internal): Likewise.
26422 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26423 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26424 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26425 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26426 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26427 (__posix_fallocate64_l64): Likewise.
26428 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26429 Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26431 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26432 (__get_clockfreq): Likewise.
26433 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26434 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26435 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26438 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26439 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26440 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26441 Likewise.
26442 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26443 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26444 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26446 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26447 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26448 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26449 Likewise.
26450 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26451 (posix_fallocate): Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26453 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26454 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26455 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26456 (elf_machine_rela, elf_machine_rela_relative)
26457 (elf_machine_lazy_rel): Likewise.
26458 * time/asctime.c (asctime_internal): Likewise.
26459 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26460 * time/tzset.c (__tzset_parse_tz): Likewise.
26461 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26462 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26463 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26464 * wcsmbs/wcsmbsload.h: Likewise.
26465
26466 [BZ #15894]
26467 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26468
26469 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26470 (arena_get2): Remove THREAD_STATS conditionals.
26471 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26472 (__malloc_stats, int): Likewise.
26473
26474 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26475
26476 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26477 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26478
26479 * manual/setjmp.texi: Fix typos/grammar errors.
26480
26481 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26482 Only return early when n is <= 0. Delete unused return statement.
26483
26484 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26485 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26486 * debug/tst-longjmp_chk3.c: New file.
26487
26488 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26489 (test_main): Replace code with set_fortify_handler call.
26490 * debug/test-strcpy_chk.c: Likewise.
26491 * debug/tst-chk1.c: Likewise.
26492 * debug/tst-longjmp_chk.c: Likewise.
26493 * test-skeleton.c: Include fcntl.h & paths.h
26494 (set_fortify_handler): Define.
26495
26496 * debug/tst-longjmp_chk.c: Add header comment and include
26497 ../test-skeleton.c.
26498 (do_test): Mark static.
26499 (TEST_FUNCTION): Define.
26500
26501 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26502 (IP_PMTUDISC_INTERFACE): Likewise.
26503 (IP_MULTICAST_IF): Likewise.
26504 (IP_MULTICAST_TTL): Likewise.
26505 (IP_MULTICAST_LOOP): Likewise.
26506 (IP_ADD_MEMBERSHIP): Likewise.
26507 (IP_DROP_MEMBERSHIP): Likewise.
26508 (IP_UNBLOCK_SOURCE): Likewise.
26509 (IP_BLOCK_SOURCE): Likewise.
26510 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26511 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26512 (IP_MSFILTER): Likewise.
26513 (MCAST_JOIN_GROUP): Likewise.
26514 (MCAST_BLOCK_SOURCE): Likewise.
26515 (MCAST_UNBLOCK_SOURCE): Likewise.
26516 (MCAST_LEAVE_GROUP): Likewise.
26517 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26518 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26519 (MCAST_MSFILTER): Likewise.
26520 (IP_MULTICAST_ALL): Likewise.
26521 (IP_UNICAST_IF): Likewise.
26522
26523 * timezone/Makefile: Delete $(have-ksh) check.
26524 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26525 * timezone/tzselect.ksh: Add +x mode bits.
26526
26527 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26528 (ANON_INODE_FS_MAGIC): Likewise.
26529 (BDEVFS_MAGIC): Likewise.
26530 (BINFMTFS_MAGIC): Likewise.
26531 (BTRFS_TEST_MAGIC): Likewise.
26532 (CRAMFS_MAGIC_WEND): Likewise.
26533 (DEBUGFS_MAGIC): Likewise.
26534 (ECRYPTFS_SUPER_MAGIC): Likewise.
26535 (EXT3_SUPER_MAGIC): Likewise.
26536 (EXT4_SUPER_MAGIC): Likewise.
26537 (FUTEXFS_SUPER_MAGIC): Likewise.
26538 (HOSTFS_SUPER_MAGIC): Likewise.
26539 (HUGETLBFS_MAGIC): Likewise.
26540 (MINIX3_SUPER_MAGIC): Likewise.
26541 (MTD_INODE_FS_MAGIC): Likewise.
26542 (NILFS_SUPER_MAGIC): Likewise.
26543 (OPENPROM_SUPER_MAGIC): Likewise.
26544 (PIPEFS_MAGIC): Likewise.
26545 (PSTOREFS_MAGIC): Likewise.
26546 (QNX6_SUPER_MAGIC): Likewise.
26547 (RAMFS_MAGIC): Likewise.
26548 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26549 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26550 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26551 (SECURITYFS_MAGIC): Likewise.
26552 (SELINUX_MAGIC): Likewise.
26553 (SMACK_MAGIC): Likewise.
26554 (SOCKFS_MAGIC): Likewise.
26555 (SQUASHFS_MAGIC): Likewise.
26556 (STACK_END_MAGIC): Likewise.
26557 (TMPFS_MAGIC): Likewise.
26558 (USBDEVICE_SUPER_MAGIC): Likewise.
26559 (V9FS_MAGIC): Likewise.
26560 (XENFS_SUPER_MAGIC): Likewise.
26561 (CRAMFS_MAGIC): Fix typo in comment.
26562 (EXT2_SUPER_MAGIC): Update comment.
26563 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26564
26565 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26566
26567 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26568 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26569 * sysdeps/unix/sysv/linux/arm: Move directory from
26570 ports/sysdeps/unix/sysv/linux/arm.
26571 * README: Update listing for arm-*-linux-gnueabi.
26572
26573 * README: Remove mention of am33.
26574
26575 2014-02-07 Roland McGrath <roland@hack.frob.com>
26576
26577 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26578 than the comma operator, to avoid "rhs of comma has no effect"
26579 compiler warnings.
26580 (__sigfillset, __sigandset, __sigorset): Likewise.
26581 * include/signal.h (__sigemptyset): Likewise.
26582 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26583
26584 2014-02-07 Allan McRae <allan@archlinux.org>
26585
26586 * version.h (RELEASE): Set to "development".
26587 (VERSION): Set to "2.19.90"
26588 * NEWS: Add 2.20 section.
26589
26590 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26591
26592 [BZ #16529]
26593 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26594
26595 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26596
26597 * manual/contrib.texi: Update entry for Carlos O'Donell,
26598 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26599
26600 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26601
26602 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26603
26604 * sysdeps/unix/sysv/linux/kernel-features.h
26605 [__LINUX_KERNEL_VERSION >= 0x020621]
26606 (__ASSUME_PROC_PID_TASK_COMM): Define.
26607
26608 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26609
26610 [BZ #16398]
26611 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26612 conversion when destination buffer does not have enough space.
26613 * libio/tst-ftell-partial-wide.c: New test case.
26614 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26615
26616 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26617 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26618 Leonard and Allan McRae.
26619
26620 2014-02-04 David S. Miller <davem@davemloft.net>
26621
26622 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26623 32-bit.
26624
26625 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26626
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26628 New file
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26630 New file
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26632 New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26634 New file.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26636 New file.
26637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26638 New file.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26640 New file.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26642 New file.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26644 New file.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26646 New file.
26647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26648 New file.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26650 New file.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26652 New file.
26653
26654 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26655
26656 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26657 * shlib-versions: Likewise.
26658
26659 2014-02-04 Roland McGrath <roland@hack.frob.com>
26660 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26661
26662 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26663 (abilist-pattern): New variable, set to %-le.abilist.
26664
26665 * Makerules (abilist-pattern): New variable.
26666 (vpath): Use $(abilist-pattern) in place of %.abilist.
26667 (check-abi-% pattern rule): Likewise.
26668 (check-abi, update-abi): Likewise.
26669
26670 2014-02-04 Eric Wong <normalperson@yhbt.net>
26671
26672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26673
26674 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26675
26676 * manual/startup.texi: Add next, previous, and top entries for
26677 the `Program Arguments' and `Environment Variables' nodes.
26678
26679 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26680
26681 * manual/macros.texi: Add comments before MTASC-safety macros.
26682
26683 * manual/users.texi: Document MTASC-safety properties.
26684
26685 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26686 (pthread_getspecific, pthread_setspecific): Format with
26687 @deftypefun, and add @safety note.
26688 * manual/signal.texi: Move comments that analyze the above
26689 functions to their home place.
26690
26691 2014-02-03 Allan McRae <allan@archlinux.org>
26692
26693 * po/sl.po: Update Slovenian translation from translation project.
26694
26695 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26696
26697 * manual/time.texi (timegm): Add missing blank after @c.
26698 Reported by Joseph Myers <joseph@codesourcery.com>.
26699
26700 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26701
26702 * manual/check-safety.sh: New.
26703 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26704
26705 * manual/terminal.texi: Document MTASC-safety properties.
26706
26707 * manual/filesys.texi: Document MTASC-safety properties.
26708
26709 * manual/errno.texi: Document MTASC-safety properties.
26710
26711 * manual/intro.texi: Document safety identifiers and
26712 conditionals.
26713
26714 * manual/string.texi (wcstok): Fix prototype.
26715 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26716
26717 * manual/time.texi: Document MTASC-safety properties.
26718
26719 * manual/string.texi: Document MTASC-safety properties.
26720
26721 * manual/threads.texi: Document MTASC-safety properties.
26722
26723 * manual/stdio.texi: Document MTASC-safety properties.
26724
26725 * manual/syslog.texi: Document MTASC-safety properties.
26726
26727 * manual/sysinfo.texi: Document MTASC-safety properties.
26728
26729 * manual/startup.texi: Document MTASC-safety properties.
26730
26731 * manual/socket.texi: Document MTASC-safety properties.
26732
26733 * manual/signal.texi: Document MTASC-safety properties.
26734
26735 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26736
26737 * manual/setjmp.texi: Document MTASC-safety properties.
26738
26739 * manual/search.texi: Document MTASC-safety properties.
26740
26741 * manual/resource.texi: Document MTASC-safety properties.
26742
26743 * manual/process.texi: Document MTASC-safety properties.
26744
26745 * manual/platform.texi: Document MTASC-safety properties.
26746
26747 * manual/pipe.texi: Document MTASC-safety properties.
26748
26749 * manual/pattern.texi: Document MTASC-safety properties.
26750
26751 * manual/message.texi: Document MTASC-safety properties.
26752
26753 [BZ #12751]
26754 * manual/memory.texi: Document MTASC-safety properties.
26755
26756 * manual/math.texi: Document MTASC-safety properties.
26757
26758 * manual/locale.texi: Document MTASC-safety properties.
26759
26760 * manual/llio.texi: Document MTASC-safety properties.
26761
26762 * manual/libdl.texi: New.
26763
26764 * manual/lang.texi: Document MTASC-safety properties.
26765
26766 * manual/job.texi: Document MTASC-safety properties.
26767
26768 * manual/getopt.texi: Document MTASC-safety properties.
26769
26770 * manual/ctype.texi: Document MTASC-safety properties.
26771
26772 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26773
26774 [BZ #16046]
26775 * csu/libc-tls.c (static_map): Remove variable.
26776 (__libc_setup_tls): Use main executable's link map for TLS data.
26777 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26778 casing for LM_ID_BASE and GL(dl_nns).
26779 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26780 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26781 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26782 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26783 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26784 member.
26785 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26786 l_phnum members.
26787
26788 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26789
26790 * manual/debug.texi: Document MTASC-safety properties.
26791
26792 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26793
26794 [BZ #16510]
26795 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26796 of __x86_64__ when disabling x87 inline functions.
26797
26798 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26799
26800 * manual/charset.texi: Document MTASC-safety properties.
26801
26802 * manual/crypt.texi: Document MTASC-safety properties.
26803
26804 * manual/conf.texi: Document MTASC-safety properties.
26805
26806 * manual/arith.texi: Document MTASC-safety properties.
26807
26808 * manual/argp.texi: Document MTASC-safety properties.
26809
26810 * manual/macros.texi: Introduce macros to document multi
26811 thread, asynchronous signal and asynchronous cancellation
26812 safety properties.
26813 * manual/intro.texi: Introduce the properties themselves.
26814
26815 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26816
26817 * sysdeps/sh/sh4/Makefile: New file.
26818
26819 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26820
26821 * math/gen-libm-test.pl ($srcdir): New variable.
26822 ($auto_input): Use it.
26823
26824 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26825
26826 [BZ #16506]
26827 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26828 access beyond array bounds when parsing netgroups file.
26829
26830 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26831 the old buffer before realloc.
26832
26833 2014-01-27 Allan McRae <allan@archlinux.org>
26834
26835 * po/fr.po: Update French translation from translation project.
26836
26837 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26838
26839 * sysdeps/sh/libm-test-ulps: Regenerate.
26840
26841 2014-01-24 David S. Miller <davem@davemloft.net>
26842
26843 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26844
26845 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26846
26847 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26848 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26849
26850 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26851
26852 [BZ #16474]
26853 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26854 string pointers after reallocation.
26855
26856 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26857
26858 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26859 __SH4A__ instead of __SH_FPU_ANY__.
26860
26861 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26862
26863 * sysdeps/sh/fpu_control.h: New file.
26864 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26865 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26866 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26867 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26868 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26869 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26870 * sysdeps/sh/sys/ucontext.h: Remove.
26871 * sysdeps/sh/sys: Remove directory.
26872
26873 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26874
26875 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26876 s390/sys/ucontext.h.
26877 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26878 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26879
26880 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26881
26882 [BZ #15605]
26883 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26884
26885 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26886
26887 [BZ#16431]
26888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26889 Adjust the vDSO correctly for internal calls.
26890 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26891
26892 2014-01-20 Allan McRae <allan@archlinux.org>
26893
26894 * po/ca.po: Update Catalan translation from translation project.
26895
26896 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26897
26898 * sysdeps/s390/sotruss-lib.c: New file.
26899
26900 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26901
26902 [BZ#16430]
26903 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26904 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26905 local calls issues by not having a PLT stub required for IFUNC calls.
26906 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26907
26908 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26909
26910 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26911 * math/test-fpucw-static.c: Likewise.
26912
26913 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26914
26915 [BZ #16453]
26916 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26917
26918 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26919
26920 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26921 implementation for powerpc.
26922
26923 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26924
26925 [BZ #14782]
26926 * sysdeps/posix/system.c (__libc_system): Do not enable
26927 asynchronous cancellation.
26928
26929 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26930
26931 [BZ #16427]
26932 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26933 handling only for numbers special also in the IEEE case.
26934
26935 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26936
26937 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26938
26939 2014-01-11 Allan McRae <allan@archlinux.org>
26940
26941 * po/bg.po: Update Bulgarian translation from translation project.
26942
26943 * po/de.po: Update German translation from translation project.
26944
26945 2014-01-10 Roland McGrath <roland@hack.frob.com>
26946
26947 * sysdeps/generic/gcc-compat.h: New file.
26948
26949 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26950
26951 * benchtests/asin-inputs: Correct slow inputs.
26952 * benchtests/acos-inputs: Likewise.
26953
26954 2014-01-10 Allan McRae <allan@archlinux.org>
26955
26956 * po:sv.po: Update Swedish translation from translation project.
26957
26958 * po/vi.po: Update Vietnamese translation from translation project.
26959
26960 * po/eo.po: Update Esperanto translation from translation project.
26961
26962 * po/cs.po: Update Czech translation from translation project.
26963
26964 * po/nl.po: Update Dutch translation from translation project.
26965
26966 * po/pl.po: Update Polish translation from translation project.
26967
26968 * po/ru.po: Update Russian translation from translation project.
26969
26970 * po/uk.po: Update Ukrainian translation from translation project.
26971
26972 2014-01-08 Brooks Moses <bmoses@google.com>
26973
26974 * elf/dl-load.c: Fix comment typo.
26975
26976 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26977
26978 * po/header.pot: Rename to...
26979 * po/pot.header: ... this.
26980 * po/Makefile: Use pot.header.
26981
26982 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26983 Maxim Kuvyrkov <maxim@kugelworks.com>
26984
26985 [BZ #16394]
26986 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26987 SRC and DEST against LEN.
26988
26989 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26990
26991 [BZ #16414]
26992 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26993 implementation.
26994 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26995
26996 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26997
26998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26999
27000 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27001
27002 [BZ #16408]
27003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27004 for large positive arguments.
27005
27006 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27007
27008 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27009
27010 * math/auto-libm-test-in: Mark various tests with
27011 xfail-rounding:ldbl-128ibm.
27012 * math/auto-libm-test-out: Regenerated.
27013
27014 [BZ #16407]
27015 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27016 Increase overflow threshold.
27017
27018 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27019
27020 [BZ #14286]
27021 * stdio-common/vfprintf.c: Check for integer overflow.
27022
27023 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27024
27025 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27026 the first argument and return value of __tls_get_addr_internal.
27027
27028 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27029
27030 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27031 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27032
27033 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27034
27035 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27036 * sysdeps/s390/rtld-global-offsets.sym: New file.
27037 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27038 GLIBC_2.19 symbol.
27039 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27040 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27041 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27042 ... this.
27043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27045 ... this.
27046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27047 Regenerate.
27048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27049 Regenerate.
27050 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27051 halfs of GPRs for high_gprs contexts.
27052 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27053 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27054 field.
27055 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27056 uc_flags field.
27057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27058 64 bit versions:
27059 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27060 for high GPRs (uc_high_gprs) and for future extensions
27061 (__reserved).
27062 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27063 for future extensions (__reserved).
27064 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27065 64 bit versions:
27066 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27067 SC_HIGHGPRS offset definition.
27068 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27069 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27070
27071 * Versions.def: Add GLIBC_2.19 for libpthread.
27072 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27073 siglongjmp for libpthread with GLIBC_2.19 symver.
27074 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27075 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27076 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27077 * sysdeps/s390/__longjmp.c: New file.
27078 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27079 * sysdeps/s390/longjmp.c: New file.
27080 * sysdeps/s390/setjmp.S: New file.
27081 * sysdeps/s390/sigjmp.S: New file.
27082 * sysdeps/s390/v1-longjmp.c: New file.
27083 * sysdeps/s390/v1-setjmp.h: New file.
27084 * sysdeps/s390/v1-sigjmp.c: New file.
27085 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27086 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27087 GLIBC_2.19 version.
27088 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27089 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27090 versioned symbols for ____longjmp_chk.
27091 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27092 Likewise.
27093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27094 Regenerate.
27095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27096 Regenerate.
27097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27098 Regenerate.
27099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27100 Regenerate.
27101 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27102 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27103 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27104 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27105 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27106 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27107 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27108 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27109 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27110 * sysdeps/s390/rtld-__longjmp.c: New file.
27111 * sysdeps/s390/rtld-setjmp.S: New file.
27112
27113 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27114
27115 [BZ #16400]
27116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27117 Return -__logl (x) for small positive arguments without evaluating
27118 a polynomial.
27119
27120 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27121
27122 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27123 Rename to ...
27124 (__ptrace_peeksiginfo_args): ... this.
27125 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27127 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27128
27129 2014-01-06 Allan McRae <allan@archlinux.org>
27130
27131 * inet/netinet/in.h: Fix typo in comment.
27132
27133 2014-01-05 Andreas Jaeger <aj@suse.de>
27134
27135 * sysdeps/i386/fpu/libm-test-ulps: Update.
27136
27137 2014-01-05 Allan McRae <allan@archlinux.org>
27138
27139 * po/libc.pot: Regenerated.
27140
27141 * malloc/memusagestat.c: Fix gettext call formatting.
27142
27143 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27144
27145 * nscd/nscd.c: Improve usage() output.
27146
27147 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27148
27149 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27150 * sysdeps/unix/sysv/linux/configure: Regenerated.
27151 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27152 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27153
27154 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27155
27156 [BZ #16390]
27157 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27158 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27159
27160 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27163 extra tokens at end of #undef directive.
27164 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27165 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27166 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27167
27168 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27169
27170 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27171
27172 * math/auto-libm-test-in: Mark various tests with
27173 xfail-rounding:ldbl-128ibm.
27174 * math/auto-libm-test-out: Regenerated.
27175
27176 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #16386]
27179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27180 numbers with subnormal high part when calculating exponent.
27181
27182 [BZ #16385]
27183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27184 fabs.
27185
27186 [BZ #16384]
27187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27188 M_LN2l.
27189 (__ieee754_acoshl): Use __log1pl not __log1p.
27190
27191 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27192
27193 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27194 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27195 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27196 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27197 (reused_arena, arena_get2): Convert to GNU style.
27198 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27199 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27200 (memalign_check, __malloc_set_state): Likewise.
27201 * malloc/mallocbug.c (main): Likewise.
27202 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27203 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27204 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27205 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27206 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27207 (__posix_memalign, malloc_info): Likewise.
27208 * malloc/malloc.h: Likewise.
27209 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27210 (mallochook, memalignhook, reallochook, mabort): Likewise.
27211 * malloc/mcheck.h: Likewise.
27212 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27213 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27214 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27215 * malloc/morecore.c (__default_morecore): Likewise.
27216 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27217 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27218 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27219 (print_and_abort): Likewise.
27220 * malloc/obstack.h: Likewise.
27221 * malloc/set-freeres.c (__libc_freeres): Likewise.
27222 * malloc/tst-mallocstate.c (main): Likewise.
27223 * malloc/tst-mtrace.c (main): Likewise.
27224 * malloc/tst-realloc.c (do_test): Likewise.
27225
27226 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27227
27228 [BZ #16366]
27229 * nscd/netgroupcache.c (do_notfound): New function.
27230 (addgetnetgrentX): Use it.
27231
27232 [BZ # 16365]
27233 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27234 NSS_STATUS_NOTFOUND.
27235
27236 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27237
27238 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27240
27241 2014-01-01 Allan McRae <allan@archlinux.org>
27242
27243 * scripts/update-copyrights: Update configure input file suffix.
27244
27245 * NEWS: Update copyright year.
27246 * catgets/gencat.c: Likewise.
27247 * csu/version.c: Likewise.
27248 * debug/catchsegv.sh: Likewise.
27249 * debug/pcprofiledump.c: Likewise.
27250 * debug/xtrace.sh: Likewise.
27251 * elf/ldconfig.c: Likewise.
27252 * elf/ldd.bash.in: Likewise.
27253 * elf/pldd.c: Likewise.
27254 * elf/sotruss.ksh: Likewise.
27255 * elf/sprof.c: Likewise.
27256 * iconv/iconv_prog.c: Likewise.
27257 * iconv/iconvconfig.c: Likewise.
27258 * locale/programs/locale.c: Likewise.
27259 * locale/programs/localedef.c: Likewise.
27260 * login/programs/pt_chown.c: Likewise.
27261 * malloc/memusage.sh: Likewise.
27262 * malloc/memusagestat.c: Likewise.
27263 * malloc/mtrace.pl: Likewise.
27264 * manual/libc.texinfo: Likewise.
27265 * nscd/nscd.c: Likewise.
27266 * nss/getent.c: Likewise.
27267 * nss/makedb.c: Likewise.
27268 * posix/getconf.c: Likewise.
27269 * scripts/test-installation.pl: Likewise.
27270
27271 * All files with FSF copyright notices: Update copyright dates
27272 using scripts/update-copyrights.
27273 * intl/plural.c: Regenerated.
27274 * locale/programs/charmap-kw.h: Likewise.
27275 * locale/programs/locfile-kw.h: Likewise.
27276
27277 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27278
27279 * sysdeps/unix/sysv/linux/configure: Regenerated.
27280 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27281 the linux/fanotify.h header.
27282 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27283 HAVE_LINUX_FANOTIFY_H is defined.
27284
27285 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27286
27287 * benchtests/cos-inputs: New inputs.
27288 * benchtests/sin-inputs: Likewise.
27289
27290 * benchtests/atan-inputs: New inputs. Fix name of multiple
27291 precision fallback inputs.
27292
27293 * benchtests/atanh-inputs: New inputs.
27294 * benchtests/tanh-inputs: Likewise.
27295
27296 * benchtests/acosh-inputs: New inputs.
27297 * benchtests/asinh-inputs: Likewise.
27298
27299 * benchtests/cosh-inputs: New inputs.
27300 * benchtests/sinh-inputs: Likewise.
27301
27302 * benchtests/acos-inputs: Add more inputs.
27303 * benchtests/asin-inputs: Likewise.
27304
27305 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27306
27307 [BZ #16375]
27308 * manual/arith.texi: Fix spelling.
27309 * manual/charset.texi: Likewise.
27310 * manual/errno.texi: Likewise.
27311 * manual/filesys.texi: Likewise.
27312 * manual/lang.texi: Likewise.
27313 * manual/llio.texi: Likewise.
27314 * manual/locale.texi: Likewise.
27315 * manual/message.texi: Likewise.
27316 * manual/resource.texi: Likewise.
27317 * manual/search.texi: Likewise.
27318 * manual/setjmp.texi: Likewise.
27319 * manual/stdio.texi: Likewise.
27320 * manual/string.texi: Likewise.
27321 * manual/sysinfo.texi: Likewise.
27322 * manual/time.texi: Likewise.
27323
27324 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27325
27326 * po/sl.po: New file.
27327
27328 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27329
27330 * .gitignore: Add core/.gdbinit/.gdb_history.
27331
27332 2013-12-27 Allan McRae <allan@archlinux.org>
27333
27334 [BZ #16369]
27335 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27336 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27337
27338 2013-12-24 Brooks Moses <bmoses@google.com>
27339
27340 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27341 all compilers that claim C++98 compliance, not just GCC.
27342 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27343 Likewise.
27344
27345 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27346
27347 * NEWS: Restore accidentally deleted bug-fix entries.
27348
27349 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27350 Ondřej Bílka <neleai@seznam.cz>
27351
27352 [BZ #15073]
27353 * malloc/malloc.c (_int_free): Perform sanity check only if we
27354 have_lock.
27355
27356 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27357
27358 [BZ #12986]
27359 * manual/stdio.texi (String Input Conversions): Clarify that character
27360 classes are not supported.
27361
27362 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27363
27364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27365
27366 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27367
27368 [BZ #16337]
27369 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27370 Calculate results for small negative arguments directly rather
27371 than using reflection formula with special underflow handling.
27372
27373 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27374 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27375 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27376 (fchflags): Likewise.
27377 (revoke): Likewise.
27378 (setlogin): Likewise.
27379 (sigaltstack): Likewise.
27380 (wait4): Likewise.
27381 (sigblock): Remove.
27382 (sigsetmask): Likewise.
27383 (wait3): Likewise.
27384 (waitpid): Likewise.
27385 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27386 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27387 file.
27388 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27389 * sysdeps/unix/bsd/Makefile: ... here.
27390 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27391 * sysdeps/unix/bsd/Versions: ... here.
27392 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27393 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27394 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27395 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27396 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27397 * sysdeps/unix/bsd/sigblock.c: ... here.
27398 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27399 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27400 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27401 * sysdeps/unix/bsd/sigvec.c: ... here.
27402 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27403 * sysdeps/unix/bsd/tcdrain.c: ... here.
27404 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27405 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27406 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27407 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27408 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27409 * sysdeps/unix/bsd/wait.c: ... here.
27410 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27411 * sysdeps/unix/bsd/wait3.c: ... here.
27412 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27413 * sysdeps/unix/bsd/waitpid.c: ... here.
27414
27415 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27416
27417 [BZ #16356]
27418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27419 round-to-nearest for [!USE_AS_EXPM1L].
27420 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27421 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27422 more tests of exp and exp10. Expect some exp10 tests to miss
27423 exceptions or fail in directed rounding modes.
27424 * math/auto-libm-test-out: Regenerated.
27425 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27426 (exp10_test_tonearest): New function.
27427 (exp10_towardzero_test_data): New array.
27428 (exp10_test_towardzero): New function.
27429 (exp10_downward_test_data): New array.
27430 (exp10_test_downward): New function.
27431 (exp10_upward_test_data): New array.
27432 (exp10_test_upward): New function.
27433 (main): Call the new functions.
27434 * sysdeps/i386/fpu/libm-test-ulps: Update.
27435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436
27437 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27438
27439 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27440 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27441 * math/auto-libm-test-out: Regenerated.
27442 * math/libm-test.inc (acosh_test_data): Add more tests.
27443 (atanh_test_data): Likewise.
27444 (ceil_test_data): Likewise.
27445 (copysign_test_data): Likewise.
27446 * sysdeps/i386/fpu/libm-test-ulps: Update.
27447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27448
27449 * timezone/checktab.awk: Update from tzcode 2013i.
27450 * timezone/private.h: Likewise.
27451 * timezone/scheck.c: Likewise.
27452 * timezone/tzfile.h: Likewise.
27453 * timezone/tzselect.ksh: Likewise.
27454 * timezone/zdump.c: Likewise.
27455 * timezone/zic.c: Likewise.
27456
27457 * math/auto-libm-test-in: Add tests of cpow.
27458 * math/auto-libm-test-out: Regenerated.
27459 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27461 mpc_cc_c.
27462 (func_calc_desc): Add mpc_cc_c union field.
27463 (test_functions): Add cpow.
27464 (special_fill_2pi): New function.
27465 (special_real_inputs): Add 2pi.
27466 (calc_generic_results): Handle mpc_cc_c.
27467 * sysdeps/i386/fpu/libm-test-ulps: Update.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
27470 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27471 csqrt, ctan and ctanh.
27472 * math/auto-libm-test-out: Regenerated.
27473 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27474 (TEST_COND_x86): Likewise.
27475 (ccos_test_data): Use AUTO_TESTS_c_c.
27476 (ccosh_test_data): Likewise.
27477 (cexp_test_data): Likewise.
27478 (clog_test_data): Likewise.
27479 (csqrt_test_data): Likewise.
27480 (ctan_test_data): Likewise.
27481 (ctan_tonearest_test_data): Likewise.
27482 (ctan_towardzero_test_data): Likewise.
27483 (ctan_downward_test_data): Likewise.
27484 (ctan_upward_test_data): Likewise.
27485 (ctanh_test_data): Likewise.
27486 (ctanh_tonearest_test_data): Likewise.
27487 (ctanh_towardzero_test_data): Likewise.
27488 (ctanh_downward_test_data): Likewise.
27489 (ctanh_upward_test_data): Likewise.
27490 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27491 mpc_c_c.
27492 (func_calc_desc): Add mpc_c_c union field.
27493 (FUNC_mpc_c_c): New macro.
27494 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27495 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27496 ctanh.
27497 (special_fill_min_subnorm_p120): New function.
27498 (special_real_inputs): Add min_subnorm_p120.
27499 (calc_generic_results): Handle mpc_c_c.
27500 * sysdeps/i386/fpu/libm-test-ulps: Update.
27501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27502
27503 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27504
27505 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27506 (do_sin_slow): New functions.
27507 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27508 (cslow2, csloww1, csloww2): Use the new functions.
27509
27510 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27511 Use M to change sign of result instead of X. Assume X is
27512 positive.
27513 (csloww1): Likewise.
27514 (__sin): Adjust.
27515 (__cos): Adjust.
27516
27517 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27518 arguments A and DA.
27519 (__sin): Adjust.
27520 (__cos): Likewise.
27521
27522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27523 (__cos): Likewise.
27524 (sloww1): Don't adjust sign of DX.
27525 (csloww1): Likewise.
27526 (sloww2): Use X directly and don't adjust sign of DX.
27527 (csloww2): Likewise.
27528
27529 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27530
27531 * math/auto-libm-test-in: Add tests of cabs and carg.
27532 * math/auto-libm-test-out: Regenerated.
27533 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27534 (carg_test_data): Likewise.
27535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27536 mpc_c_f.
27537 (func_calc_desc): Add mpc_c_f union field.
27538 (test_functions): Add cabs and carg.
27539 (calc_generic_results): Handle mpc_c_f.
27540
27541 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27542 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27543 as a macro and a compat symbol.
27544 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27545 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27546 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27547 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27548 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27549 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27550 not use .hidden.
27551 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27552 Likewise.
27553 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27554 Likewise.
27555 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27556 Likewise.
27557 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27558 Likewise.
27559 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27560 Likewise.
27561 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27562 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27563 from GLIBC_2.3.2.
27564
27565 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27566
27567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27568
27569 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27570
27571 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27572 trailing whitespace removed.
27573 * scripts/config.guess: Update to version 2013-11-29.
27574 * scripts/config.sub: Update to version 2013-10-01.
27575
27576 * math/auto-libm-test-in: Add tests of sincos.
27577 * math/auto-libm-test-out: Regenerated.
27578 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27580 mpfr_f_11.
27581 (func_calc_desc): Add mpfr_f_11 union field.
27582 (test_functions): Add sincos.
27583 (calc_generic_results): Handle mpfr_f_11.
27584 * sysdeps/i386/fpu/libm-test-ulps: Update.
27585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27586
27587 2013-12-19 Andreas Schwab <schwab@suse.de>
27588
27589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27590 CALL_MCOUNT.
27591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27592 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27593 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27594
27595 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27596
27597 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27598 * sysdeps/i386/fpu/libm-test-ulps: Update.
27599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27600
27601 [BZ #16293]
27602 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27603 round-to-nearest mode when using frndint.
27604 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27605 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27606 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27607 Likewise.
27608 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27609 sinh test to fail.
27610 * math/auto-libm-test-out: Regenerated.
27611 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27612 (TEST_COND_x86): Likewise.
27613 (expm1_tonearest_test_data): New array.
27614 (expm1_test_tonearest): New function.
27615 (expm1_towardzero_test_data): New array.
27616 (expm1_test_towardzero): New function.
27617 (expm1_downward_test_data): New array.
27618 (expm1_test_downward): New function.
27619 (expm1_upward_test_data): New array.
27620 (expm1_test_upward): New function.
27621 (main): Run the new test functions.
27622 * sysdeps/i386/fpu/libm-test-ulps: Update.
27623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27624
27625 * include/features.h: Update comment documenting feature test
27626 macros. Mention _DEFAULT_SOURCE in comment.
27627 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27628 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27629 _BSD_SOURCE and _SVID_SOURCE.
27630 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27631 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27632 !_SVID_SOURCE]: Likewise.
27633 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27634 (__USE_POSIX_IMPLICITLY): Define.
27635 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27636 (_POSIX_SOURCE): Undefine and redefine.
27637 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27638 (_POSIX_C_SOURCE): Likewise.
27639 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27640 (Feature Test Macros): Update documentation of default features.
27641
27642 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27643
27644 * benchtests/Makefile: Add bench-strtok.
27645 * benchtests/bench-strtok.c: New file: strtok benchtest.
27646
27647 2013-12-19 Allan McRae <allan@archlinux.org>
27648
27649 * manual/install.texi: Suppress menu for plain text output.
27650 * INSTALL: Regenerated.
27651
27652 2013-12-18 Brooks Moses <bmoses@google.com>
27653
27654 [BZ #15846]
27655 * misc/getauxval.c: Include errno.h.
27656 (__getauxval): Set errno to ENOENT if the requested type is not
27657 found.
27658 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27659 don't declare with __attribute_const__.
27660 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27661 * manual/startup.texi: Document that getauxval sets errno.
27662
27663 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27664
27665 * math/auto-libm-test-in: Add tests of jn and yn.
27666 * math/auto-libm-test-out: Regenerated.
27667 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27668 (yn_test_data): Likewise.
27669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27670 mpfr_if_f.
27671 (func_calc_desc): Add mpfr_if_f union field.
27672 (FUNC_mpfr_if_f): New macro.
27673 (test_functions): Add jn and yn.
27674 (calc_generic_results): Assert type of second input for
27675 mpfr_ff_f. Handle mpfr_if_f.
27676 (output_for_one_input_case): Disable all checking for arguments
27677 fitting floating-point types in case of an integer argument.
27678 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27680
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27682 Don't expect fegetround reference in libm.so.
27683
27684 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27685
27686 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27687 $(config-cflags-nofma).
27688
27689 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27690
27691 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27692 * math/auto-libm-test-out: Regenerated.
27693
27694 [BZ #16338]
27695 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27696 to determine exponent and adjust argument to have exponent of -1.
27697 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27698 log2.
27699 * math/auto-libm-test-out: Regenerated.
27700 * sysdeps/i386/fpu/libm-test-ulps: Update.
27701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27702
27703 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27704
27705 * manual/probes.texi: Remove cases when per-thread arenas are
27706 disabled.
27707
27708 2013-12-18 Andreas Schwab <schwab@suse.de>
27709
27710 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27711 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27712 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27713 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27714 * sysdeps/i386/i686/multiarch/Makefile: Update.
27715 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27716
27717 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27718
27719 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27720 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27721
27722 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27723
27724 [BZ #15968]
27725 Support TZ transition times < 00:00:00.
27726 This is needed for version-3 tz-format files; it supports time
27727 stamps past 2037 for America/Godthab (the only entry in the tz
27728 database for which this change is relevant).
27729 * manual/time.texi (TZ Variable): Document transition times
27730 from -167:59:59 through -00:00:01.
27731 * time/tzset.c (tz_rule): Time of day is now signed.
27732 (__tzset_parse_tz): Parse negative time of day.
27733
27734 Document TZ transition times >= 25:00:00.
27735 * manual/time.texi (TZ Variable): Document transition times from
27736 25:00:00 through 167:59:59. These are already supported, and this
27737 support will help with version-3 tz-format files.
27738
27739 * manual/time.texi (TZ Variable): Modernize North America example
27740 to reflect current (i.e., 2007-and-later) daylight saving rules.
27741
27742 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27743
27744 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27745
27746 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27747 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27750 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27751 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27752 * sysdeps/unix/bsd/clock.c: Likewise.
27753 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27754 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27755 * sysdeps/unix/bsd/init-posix.c: Likewise.
27756 * sysdeps/unix/bsd/poll.c: Likewise.
27757 * sysdeps/unix/bsd/ptsname.c: Likewise.
27758 * sysdeps/unix/bsd/seekdir.c: Likewise.
27759 * sysdeps/unix/bsd/setegid.c: Likewise.
27760 * sysdeps/unix/bsd/seteuid.c: Likewise.
27761 * sysdeps/unix/bsd/setgid.c: Likewise.
27762 * sysdeps/unix/bsd/setrgid.c: Likewise.
27763 * sysdeps/unix/bsd/setruid.c: Likewise.
27764 * sysdeps/unix/bsd/setsid.c: Likewise.
27765 * sysdeps/unix/bsd/setuid.c: Likewise.
27766 * sysdeps/unix/bsd/sigaction.c: Likewise.
27767 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27768 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27769 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27770 * sysdeps/unix/bsd/telldir.c: Likewise.
27771 * sysdeps/unix/bsd/times.c: Likewise.
27772 * sysdeps/unix/bsd/usleep.c: Likewise.
27773
27774 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27775 ($(objpfx)libbsd-compat.a): Remove rule.
27776
27777 * include/features.h (__FAVOR_BSD): Do not define.
27778 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27779 features conflicting with POSIX.
27780 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27781 (_BSD_SOURCE): Remove description of not being a subset of other
27782 feature test macros.
27783 * manual/job.texi (getpgrp): Do not document BSD version.
27784 (getpgid): Do not document by reference to BSD getpgrp.
27785 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27786 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27787 * signal/signal.h [__FAVOR_BSD]: Likewise.
27788 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27789 instead of making contents conditional on [__FAVOR_BSD].
27790 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27791
27792 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27793
27794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27795
27796 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27797
27798 [BZ #16314]
27799 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27800 values below 2**-450, not 2**-500.
27801 * math/auto-libm-test-in: Don't allow spurious underflow from
27802 hypot.
27803 * math/auto-libm-test-out: Regenerated.
27804
27805 [BZ #16316]
27806 [BZ #16330]
27807 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27808 values of ha and hb and sort them after adjusting subnormal
27809 arguments.
27810 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27811 Likewise.
27812 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27813 values of ea and eb and sort them after adjusting subnormal
27814 arguments.
27815 * math/auto-libm-test-in: Do not expect some hypot tests of
27816 subnormals to fail. Add more hypot tests.
27817 * math/auto-libm-test-out: Regenerated.
27818
27819 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27820
27821 [BZ #13304]
27822 * sysdeps/sh/s_fma.c: New file.
27823 * sysdeps/sh/s_fmaf.c: New file.
27824 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27825 version.
27826 * sysdeps/sh/Implies: Add sh/soft-fp.
27827
27828 2013-12-16 Roland McGrath <roland@hack.frob.com>
27829
27830 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27831 level of indirection to members `objname', `errstring', `malloced'.
27832 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27833 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27834 it as the __longjmp argument (just pass 1 instead).
27835 (_dl_catch_error): Initialize C with argument pointers and address of
27836 volatile local ERRCODE rather than copying values out of C at return.
27837
27838 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27839
27840 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27841 * math/auto-libm-test-out: Regenerated.
27842 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27843 (hypot_test_data): Likewise.
27844 (pow_test_data): Likewise.
27845 (pow_tonearest_test_data): Likewise.
27846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27847 mpfr_ff_f.
27848 (func_calc_desc): Add mpfr_ff_f union field.
27849 (FUNC_mpfr_ff_f): New macro.
27850 (test_functions): Add atan2, hypot and pow.
27851 (special_fill_min): New function.
27852 (special_fill_minus_min): Likewise.
27853 (special_fill_min_subnorm): Likewise.
27854 (special_fill_minus_min_subnorm): Likewise.
27855 (special_real_inputs): Add min, -min, min_subnorm and
27856 -min_subnorm.
27857 (calc_generic_results): Handle mpfr_ff_f.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
27861 2013-12-16 Will Newton <will.newton@linaro.org>
27862
27863 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27864 (Aligned Memory Blocks): Add documentation for aligned_alloc
27865 and suggest it as an alternative to posix_memalign.
27866 (Hooks for Malloc): Document __memalign_hook is also called
27867 for aligned_alloc. (Summary of Malloc): Add summary for
27868 aligned alloc. Document __memalign_hook is also called
27869 for aligned_alloc.
27870
27871 2013-12-16 Will Newton <will.newton@linaro.org>
27872
27873 * manual/memory.texi (Malloc Examples): Clarify default
27874 alignment documentation. Suggest posix_memalign rather
27875 than memalign or valloc.
27876 (Aligned Memory Blocks): Remove suggestion to use memalign
27877 or valloc. Remove obsolete comment about BSD.
27878 Document memalign errno values and mark the function obsolete.
27879 Document posix_memalign returned error codes. Mark valloc
27880 as obsolete. (Hooks for Malloc): __memalign_hook is also
27881 called for posix_memalign and valloc.
27882 (Summary of Malloc): Add posix_memalign to function summary.
27883 __memalign_hook is also called for posix_memalign and valloc.
27884
27885 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27886
27887 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27888 TAYLOR_SIN.
27889 (__sin): Adjust.
27890 (__cos): Likewise.
27891 (sloww): Use mynumber union. Expand ternary operator into
27892 if-else statements.
27893 (cslow): use mynumber union.
27894
27895 2013-12-16 Allan McRae <allan@archlinux.org>
27896
27897 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27898 * configure: Regenerated.
27899
27900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27901
27902 [BZ #14120]
27903 * configure.ac: Added --enable-maintainer-mode. Check for
27904 autoconf when enabled.
27905 * configure: Regenerated.
27906
27907 * nscd/nscd.service: New file.
27908 * nscd/nscd.tmpfiles: New file.
27909
27910 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27911
27912 [BZ #12100]
27913 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27914 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27915 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27916 (strstr): Add __strstr_sse2_unaligned ifunc.
27917 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27918 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27919 (strcasestr): Remove __strcasestr_sse42 ifunc.
27920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27923
27924 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27925
27926 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27927 * sysdeps/sh/bits/fenv.h: ... here.
27928 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27929
27930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27931
27932 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27933
27934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27935 hypotf multiarch implementations.
27936 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27937 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27938 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27939 multiarch hypot for PPC64.
27940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27941 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27943 multiarch hypotf for PPC64.
27944
27945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27946 modff multiarch implementations.
27947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27950 multiarch modf for PPC64.
27951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27954 multiarch modff for PPC64.
27955
27956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27957 and logl multiarch implementations.
27958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27961 multiarch logb for PPC64.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27965 multiarch logb for PPC64.
27966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27969 multiarch logb for PPC64.
27970
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27972 isinff multiarch implementation.
27973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27974 file.
27975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27977 multiarch isinf for PPC64.
27978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27979 file.
27980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27981 multiarch isinff for PPC64.
27982
27983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27984 finitef multiarch implementation.
27985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27986 file.
27987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27989 multiarch finite for PPC64.
27990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27991 file.
27992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27993 multiarch finitef for PPC64.
27994
27995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27996 lrint multiarch implementation.
27997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27998 file.
27999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28001 multiarch llrint for PPC64.
28002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28003 multiarch lrint for PPC64.
28004
28005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28006 copysignf multiarch implementation.
28007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28008 file.
28009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28010 file.
28011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28012 multiarch copysign for PPC64.
28013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28014 multiarch copysignf for PPC64.
28015
28016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28017 multiarch implementation.
28018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28019 file.
28020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28021 file.
28022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28023 file.
28024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28025 file.
28026 multiarch llround for PPC64.
28027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28028 multiarch trunc for PPC64.
28029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28030 multiarch truncf for PPC64.
28031
28032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28033 multiarch implementation.
28034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28035 file.
28036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28037 file.
28038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28039 file.
28040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28041 file.
28042 multiarch llround for PPC64.
28043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28044 multiarch round for PPC64.
28045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28046 multiarch roundf for PPC64.
28047
28048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28049 multiarch implementation.
28050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28051 file.
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28053 file.
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28055 file.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28057 file.
28058 multiarch llround for PPC64.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28060 multiarch floor for PPC64.
28061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28062 multiarch floorf for PPC64.
28063
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28065 multiarch implementation.
28066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28067 file.
28068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28069 file.
28070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28071 file.
28072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28073 file.
28074 multiarch llround for PPC64.
28075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28076 multiarch ceil for PPC64.
28077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28078 multiarch ceilf for PPC64.
28079
28080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28081 multiarch implementation.
28082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28083 file.
28084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28085 file.
28086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28087 file.
28088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28089 multiarch llround for PPC64.
28090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28091 multiarch lround for PPC64.
28092
28093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28094 multiarch implementation.
28095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28098 file.
28099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28102 multiarch isnan for PPC64.
28103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28104 multiarch isnanf for PPC64.
28105
28106 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28107 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28108 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28109 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28110 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28112
28113 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28117
28118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28119 multiarch implementations.
28120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28121 (__libc_ifunc_impl_list): Likewise.
28122 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28123 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28124 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28125 multiarch stpcpy for PPC64.
28126
28127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28128 multiarch implementations.
28129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28130 (__libc_ifunc_impl_list): Likewise.
28131 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28132 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28133 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28134 multiarch strcpy for PPC64.
28135
28136 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28137 redefine function name.
28138 (_wordcopy_fwd_dest_aligned): Likewise.
28139 (_wordcopy_bwd_aligned): Likewise.
28140 (_wordcopy_bwd_dest_aligned): Likewise.
28141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28142 multiarch implementations.
28143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28144 (__libc_ifunc_impl_list): Likewise.
28145 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28146 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28149 multiarch wcscpy for PPC64.
28150
28151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28152 multiarch implementations.
28153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28154 (__libc_ifunc_impl_list): Likewise.
28155 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28156 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28157 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28158 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28159 multiarch wcscpy for PPC64.
28160
28161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28162 multiarch implementations.
28163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28164 (__libc_ifunc_impl_list): Likewise.
28165 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28166 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28167 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28168 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28169 multiarch wcsrchr for PPC64.
28170
28171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28172 multiarch implementations.
28173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28174 (__libc_ifunc_impl_list): Likewise.
28175 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28176 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28177 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28178 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28179 multiarch wcschr for PPC64.
28180
28181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28182 multiarch implementations.
28183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28184 (__libc_ifunc_impl_list): Likewise.
28185 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28186 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28187 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28188 multiarch strchrnul for PPC64.
28189
28190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28191 implementations.
28192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28193 (__libc_ifunc_impl_list): Likewise.
28194 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28195 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28196 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28197 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28198 strchr for PPC64.
28199
28200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28201 implementations.
28202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28203 (__libc_ifunc_impl_list): Likewise.
28204 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28207 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28208 strncmp for PPC64.
28209
28210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28211 multiarch implementations.
28212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28213 (__libc_ifunc_impl_list): Likewise.
28214 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28215 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28216 strncasecmp for PPC64.
28217 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28218 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28219 multiarch strncasecmp_l for PPC64.
28220
28221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28222 multiarch implementations.
28223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28224 (__libc_ifunc_impl_list): Likewise.
28225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28227 multiarch strcasecmp for PPC64.
28228 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28229 file.
28230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28231 multiarch strcasecmp_l for PPC64.
28232
28233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28234 implementations.
28235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28236 (__libc_ifunc_impl_list): Likewise.
28237 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28238 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28239 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28240 strnlen for PPC64.
28241
28242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28243 implementations.
28244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28245 (__libc_ifunc_impl_list): Likewise.
28246 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28249 strlen for PPC64.
28250
28251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28252 implementations.
28253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28254 (__libc_ifunc_impl_list): Likewise.
28255 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28256 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28257 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28258 rawmemrchr for PPC64.
28259
28260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28261 implementation.
28262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28263 (__libc_ifunc_impl_list): Likewise.
28264 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28265 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28266 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28267 memrchr for PPC64.
28268
28269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28270 implementation.
28271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28272 (__libc_ifunc_impl_list): Likewise.
28273 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28274 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28275 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28276 memchr for PPC64.
28277
28278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28279 implementation.
28280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28281 (__libc_ifunc_impl_list): Likewise.
28282 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28283 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28284 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28285 mempcpy for PPC64.
28286
28287 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28288 avoid cretion of __bzero symbol.
28289 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28290 Likewise.
28291 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28292 Likewise.
28293 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28294 Likewise.
28295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28296 multiarch implementations.
28297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28298 (__libc_ifunc_impl_list): Likewise.
28299 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28300 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28301 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28303 bzero for PPC32.
28304 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28305 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28306 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28307 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28308 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28309 memset for PPC64.
28310 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28311
28312 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28314 implementations.
28315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28316 (__libc_ifunc_impl_list): Likewise.
28317 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28318 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28319 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28320 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28321 memcmp for PPC64.
28322
28323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28324 multiarch for POWER/PPC64.
28325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28326 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28327 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28328 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28330 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28333 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28334 memcpy for PPC64.
28335
28336 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28337 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28338 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28339 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28340 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28341 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28342 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28343 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28344 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28345 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28346 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28347 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28348 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28349 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28350 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28358
28359 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28360
28361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28362
28363 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28364
28365 * benchtests/Makefile (bench): Add exp2 and log2.
28366 (LDLIBS-bench-exp2): Add -lm.
28367 (LDLIBS-bench-log2): Likewise.
28368 * benchtests/exp2-inputs: New inputs file.
28369 * benchtests/log2-inputs: New inputs file.
28370 * benchtests/log-inputs: Add new inputs.
28371 * benchtests/tan-inputs: Likewise.
28372
28373 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28374
28375 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28376 definition...
28377 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28378 (csloww2): ... from here.
28379
28380 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28381 instead of structures.
28382 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28383 (POLYNOMIAL): Likewise.
28384 (TAYLOR_SLOW): Likewise.
28385 (__sin): Likewise.
28386 (__cos): Likewise.
28387 (slow1): Likewise.
28388 (slow2): Likewise.
28389 (sloww): Likewise.
28390 (sloww1); Likewise.
28391 (sloww2): Likewise.
28392 (bsloww1): Likewise.
28393 (bsloww2): Likewise.
28394 (cslow2): Likewise.
28395 (csloww): Likewise.
28396 (csloww1): Likewise.
28397 (csloww2): Likewise.
28398
28399 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28400
28401 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28402 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28403 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28404 * malloc/hooks.c (realloc_check): Likewise.
28405
28406 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28407 * malloc/arena.c: Remove PER_THREAD conditional.
28408 [!PER_THREAD]: Remove code.
28409 (ptmalloc_unlock_all2): Likewise.
28410 (ptmalloc_init): Likewise.
28411 (_int_new_arena): Likewise.
28412 (arena_get2): Likewise.
28413 * malloc/hooks.c (__malloc_get_state): Likewise.
28414 (__malloc_set_state): Likewise.
28415 * malloc/malloc.c: Likewise.
28416 (struct malloc_state): Likewise.
28417 (struct malloc_par): Likewise.
28418 (__libc_realloc): Likewise.
28419 (__libc_mallopt): Likewise.
28420
28421 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28422
28423 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28424
28425 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28426
28427 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28428 macro to a function. Check for zero perturb_byte.
28429 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28430
28431 * malloc/malloc.c: (force_reg): Remove.
28432 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28433 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28434 force_reg by atomic_forced_read.
28435 * malloc/arena.c (ptmalloc_init): Likewise.
28436 * malloc/hooks.c (top_check): Likewise.
28437
28438 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28439
28440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28441
28442 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28443
28444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28445
28446 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28447
28448 * math/auto-libm-test-in: Add tests of lgamma.
28449 * math/auto-libm-test-out: Regenerated.
28450 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28451 (M_LOG_2_SQRT_PIl): Likewise.
28452 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28453 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28454 mpfr_f_f1.
28455 (func_calc_desc): Add mpfr_f_f1 union field.
28456 (ARGS1): New macro.
28457 (ARGS2): Likewise.
28458 (ARGS3): Likewise.
28459 (ARGS4): Likewise.
28460 (RET1): Likewise.
28461 (RET2): Likewise.
28462 (CALC): Likewise.
28463 (FUNC): Likewise.
28464 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28465 (test_functions): Add lgamma.
28466 (calc_generic_results): Handle mpfr_f_f1.
28467 * sysdeps/i386/fpu/libm-test-ulps: Update.
28468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28469
28470 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28471
28472 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28473 __mpn_add_n for PowerPC64/POWER7.
28474 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28475 __mpn_sub_n for PowerPC64/POWER7.
28476
28477 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28478 __mpn_addmul_1 for PowerPC64.
28479 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28480 __mpn_submul_1 for PowerPC64.
28481 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28482 for PowerPC64.
28483 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28484 for PowerPC64.
28485
28486 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28487
28488 [BZ #15089]
28489 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28490
28491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28492
28493 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28494
28495 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28496 add multiarch folders.
28497 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28498 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28499 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28500 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28501 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28502 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28503 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28504 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28505 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28506 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28507 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28514
28515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28516 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28518 New file.
28519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28520 New file.
28521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28522 multiarch __ieee754_hypot for PowerPC32.
28523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28524 New file.
28525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28526 New file.
28527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28528 multiarch __ieee754_hypotf for PowerPC32.
28529
28530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28531 long_double_symbol only if __logbl is defined.
28532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28533 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28535 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28537 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28539 path for implementation.
28540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28543 logb, and logbl multiarch implementations for PowerPC32.
28544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28545 file.
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28547 file.
28548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28549 multiarch logb for PowerPC32.
28550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28551 file.
28552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28553 file.
28554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28555 multiarch logbf for PowerPC32.
28556 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28558 file.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28560 multiarch logbl implementation for PowerPC32.
28561
28562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28563 and modff multiarch implementations.
28564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28565 New file.
28566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28567 New file.
28568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28569 multiarch modf for PowerPC32.
28570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28571 New file.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28573 New file.
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28575 multiarch modff for PowerPC32.
28576
28577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28578 and lrintf multiarch implementations.
28579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28580 New file.
28581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28582 New file.
28583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28584 multiarch lrint for PowerPC32.
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28586 file: multiarch lrintf for PowerPC32.
28587
28588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28589 and lroundf multiarch implementations.
28590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28591 New file.
28592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28593 New file.
28594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28595 New file.
28596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28597 multiarch lround for PowerPC32.
28598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28599 file: multiarch lroundf for PowerPC32.
28600
28601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28602 copysign and copysignf multiarch implementations.
28603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28604 New file.
28605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28606 New file.
28607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28608 file: multiarch copysign for PowerPC32.
28609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28610 file: multiarch copysignf for PowerPC32.
28611
28612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28613 and truncf multiarch implementations.
28614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28615 New file.
28616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28617 file.
28618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28619 multiarch trunc for PowerPC32.
28620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28621 New file.
28622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28623 New file.
28624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28625 multiarch truncf for PowerPC32.
28626
28627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28628 and roundf multiarch implementations.
28629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28630 New file.
28631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28632 file.
28633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28634 multiarch round for PowerPC32.
28635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28636 New file.
28637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28638 New file.
28639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28640 multiarch roundf for PowerPC32.
28641
28642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28643 and floorf multiarch implementations.
28644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28645 New file.
28646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28647 file.
28648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28649 multiarch floor for PowerPC32.
28650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28651 New file.
28652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28653 New file.
28654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28655 multiarch floorf for PowerPC32.
28656
28657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28658 and ceilf multiarch implementations.
28659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28660 New file.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28662 file.
28663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28664 multiarch ceil for PowerPC32.
28665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28666 New file.
28667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28668 file.
28669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28670 multiarch ceilf for PowerPC32.
28671
28672 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28673 is defined.
28674 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28675 FINITEF is defined.
28676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28677 and finitef multiarch implementations.
28678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28679 New file.
28680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28681 file.
28682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28683 multiarch finite for PowerPC32.
28684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28685 New file.
28686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28687 file: multiarch finitef for PowerPC32.
28688
28689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28690 and isinff multiarch implementations.
28691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28692 file.
28693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28694 file.
28695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28696 multiarch isinf for PowerPC32.
28697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28698 New file.
28699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28700 multiarch isinff for PowerPC32.
28701
28702 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28703 alias when __isnan is defined.
28704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28705 and isnanf multiarch implementations.
28706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28707 file.
28708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28709 file.
28710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28711 file.
28712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28713 file.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28715 multiarch isnan for PowerPC32.
28716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28717 New file.
28718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28719 New file.
28720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28721 multiarch isnanf for PowerPC32.
28722
28723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28724 and sqrtf multiarch implementations.
28725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28726 file.
28727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28728 file.
28729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28730 multiarch sqrt for PowerPC32.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28732 file.
28733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28734 file.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28736 multiarch sqrtf for PowerPC32.
28737
28738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28739 and llroundf multiarch implementations.
28740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28741 New file.
28742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28743 New file.
28744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28745 New file.
28746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28747 file: multiarch llround for PowerPC32.
28748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28749 file: multiarch llroundf for PowerPC32.
28750
28751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28752 multiarch PowerPC32 fpu implementations.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28754 New file.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28756 New file.
28757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28758 multiarch llrint for PowerPC32.
28759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28760 New file.
28761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28762 New file.
28763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28764 file.
28765
28766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28767
28768 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28769 file.
28770 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28771 file.
28772 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28773 file.
28774 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28775 multiarch wordcopy for PPC32.
28776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28777 wordcopy objects.
28778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28779 (__libc_ifunc_impl_list): Likewise.
28780 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28781 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28783 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28785 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28786
28787 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28789 file.
28790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28791 file.
28792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28793 file.
28794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28795 multiarch wcscpy for PPC32.
28796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28797 multiarch objects.
28798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28799 (__libc_ifunc_impl_list): Likewise.
28800 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28801 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28802 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28803 sysdeps/powerpc/power6/wcscpy.c.
28804
28805 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28807 file.
28808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28809 file.
28810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28811 file.
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28813 multiarch wcsrchr for PPC32.
28814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28815 multiarch objects.
28816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28817 (__libc_ifunc_impl_list): Likewise.
28818 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28819 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28820 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28821 sysdeps/powerpc/power6/wcsrchr.c.
28822
28823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28824 file.
28825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28826 file.
28827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28829 multiarch wcschr for PPc32.
28830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28831 multiarch objects.
28832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28833 (__libc_ifunc_impl_list): Likewise.
28834 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28835 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28836 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28837 sysdeps/powerpc/power6/wcschr.c.
28838
28839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28841 file.
28842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28843 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28844 file: multiarch strchr for PPC32.
28845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28846 multiarch objects.
28847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28848 (__libc_ifunc_impl_list): Likewise.
28849
28850 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28851 name.
28852 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28853 file.
28854 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28855 file.
28856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28857 multiarch strchrnul for PPC32.
28858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28859 multiarch objects.
28860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28861 (__libc_ifunc_impl_list): Likewise.
28862
28863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28864 file.
28865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28866 multiarch strncasecmp for PPC32.
28867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28868 file.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28870 multiarch strncasecmp_l for PPC32.
28871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28872 strncasecmp multiarch objects.
28873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28874 (__libc_ifunc_impl_list): Likewise.
28875
28876 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28877 file.
28878 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28879 multiarch strncasecmp for PPC32.
28880 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28881 New file.
28882 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28883 multiarch strcasecmp_l for PPC32.
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28885 multiarch objects.
28886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28887 (__libc_ifunc_impl_list): Likewise.
28888
28889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28890 file.
28891 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28892 file.
28893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28894 multiarch strncmp for PPC32.
28895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28896 multiarch objects.
28897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28898 (__libc_ifunc_impl_list): Likewise.
28899
28900 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28901 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28902 file.
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28906 multiarch objects.
28907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28908 (__libc_ifunc_impl_list): Likewise.
28909
28910 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28911 file.
28912 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28913 file.
28914 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28916 multiarch objects.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28918 (__libc_ifunc_impl_list): Likewise.
28919
28920 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28921 file.
28922 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28923 file.
28924 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28925 multiarch rawmemchr for PPC32.
28926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28927 multiarch objects.
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28929 (__libc_ifunc_impl_list): Likewise.
28930
28931 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28932 file.
28933 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28934 file.
28935 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28936 file: memrchr multiarch for PPC32.
28937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28938 multiarch objects.
28939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28940 (__libc_ifunc_impl_list): Likewise.
28941
28942 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28944 file.
28945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28946 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28947 multiarch memchr for PPC32.
28948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28949 multiarch objects.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28951 (__libc_ifunc_impl_list): Likewise.
28952
28953 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28954 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28955 file.
28956 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28957 file.
28958 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28959 file: multiarch mempcpy for PPC32.
28960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28961 multiarch objects.
28962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28963 (__libc_ifunc_impl_list): Likewise.
28964
28965 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28969 multiarch bzero for PPC32.
28970 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28971 file.
28972 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28973 file.
28974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28975 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28976 file: multiarch memset for PPC32.
28977 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28979 memset multiarch objects.
28980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28981 (__libc_ifunc_impl_list): Likewise.
28982
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28984 file.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28987 memcmp for PPC32.
28988 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28990 multiarch objects.
28991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28992 (__libc_ifunc_impl_list): Likewise.
28993
28994 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28997 file.
28998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28999 file.
29000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29001 file.
29002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29003 multiarch memcpy for PPC32.
29004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29005 multiarch objects.
29006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29007 (__libc_ifunc_impl_list): Likewise.
29008
29009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29010 support multiarch for POWER/PPC32.
29011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29012 Likewise.
29013 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29015 Implies file to make multiarch folder appers before the fpu and
29016 default folder for power4 configuration.
29017
29018 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29019
29020 * scripts/bench.pl: Append volatile keyword to type.
29021
29022 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29023
29024 * sysdeps/sh/sotruss-lib.c: New file.
29025 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29026
29027 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29028
29029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29030
29031 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29032
29033 [BZ #6810]
29034 * math/w_tgamma.c: Include <errno.h>.
29035 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29036 * math/w_tgammaf.c: Include <errno.h>.
29037 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29038 * math/w_tgammal.c: Include <errno.h>.
29039 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29040 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29041 underflow. Add more tgamma tests.
29042 * math/auto-libm-test-out: Regenerated.
29043 * sysdeps/i386/fpu/libm-test-ulps: Update.
29044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29045
29046 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29047 sin, sinh, tan, tanh, tgamma, y0 and y1.
29048 * math/auto-libm-test-out: Regenerated.
29049 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29050 (TEST_COND_x86): Likewise.
29051 (M_E2l): Remove macro.
29052 (M_E3l): Likewise.
29053 (M_2_SQRT_PIl): Likewise.
29054 (M_SQRT_PIl): Likewise.
29055 (M_1_DIV_El): Likewise.
29056 (log_test_data): Use AUTO_TESTS_f_f.
29057 (log10_test_data): Likewise.
29058 (log1p_test_data): Likewise.
29059 (log2_test_data): Likewise.
29060 (sin_test_data): Likewise.
29061 (sin_tonearest_test_data): Likewise.
29062 (sin_towardzero_test_data): Likewise.
29063 (sin_downward_test_data): Likewise.
29064 (sin_upward_test_data): Likewise.
29065 (sinh_test_data): Likewise.
29066 (sinh_tonearest_test_data): Likewise.
29067 (sinh_towardzero_test_data): Likewise.
29068 (sinh_downward_test_data): Likewise.
29069 (sinh_upward_test_data): Likewise.
29070 (tan_test_data): Likewise.
29071 (tan_tonearest_test_data): Likewise.
29072 (tan_towardzero_test_data): Likewise.
29073 (tan_downward_test_data): Likewise.
29074 (tan_upward_test_data): Likewise.
29075 (tanh_test_data): Likewise.
29076 (tgamma_test_data): Likewise.
29077 (y0_test_data): Likewise.
29078 (y1_test_data): Likewise.
29079 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29080 (special_real_inputs): Add pi/4.
29081 * sysdeps/i386/fpu/libm-test-ulps: Update.
29082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29083
29084 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29085
29086 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29087 "longjmp_target" static probes.
29088 (__longjmp): Rename to __longjmp_symbol.
29089 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29090 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29091 on which longjmp to generate.
29092 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29093 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29094 probe.
29095 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29096 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29098 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29099 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29100 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29102 __longjmp_symbol based on which __longjmp to generate.
29103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29104 probe.
29105 (setjmp): Rename to setjmp_symbol.
29106 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29107 (_setjmp): Rename to _setjmp_symbol.
29108 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29109 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29110 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29111 which setjmp to generate.
29112 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29113 "longjmp_target" static probes.
29114
29115 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29116
29117 * benchtests/README: Add note about output arguments.
29118 * benchtests/bench-sincos.c: Remove file.
29119 * benchtests/sincos-inputs: New file.
29120 * scripts/bench.pl: Identify output arguments and define
29121 static variables for them.
29122
29123 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29124
29125 [BZ #15941]
29126 * Makefile (INSTALL): Add install-plain.texi as the primary
29127 dependency.
29128 * manual/install-plain.texi: New file.
29129 * manual/install.texi: Include node directive only for
29130 non-plaintext output.
29131
29132 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29133
29134 * stdlib/longlong.h: Update from GCC.
29135
29136 [BZ #6807]
29137 [BZ #15901]
29138 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29139 * math/w_j0f.c (y0f): Likewise.
29140 * math/w_j0l.c (__y0l): Likewise.
29141 * math/w_j1.c (y1): Likewise.
29142 * math/w_j1f.c (y1f): Likewise.
29143 * math/w_j1l.c (__y1l): Likewise
29144 * math/w_jn.c (yn): Likewise.
29145 * math/w_jnf.c (ynf): Likewise.
29146 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29147 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29148 value for Bessel function domain errors outside _SVID_ mode.
29149 Adjust sign of return value for yn (negative integer, 0).
29150 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29151 by zero in return for negative x and set sign appropriately for
29152 negative n.
29153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29154 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29155 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29156 expectations in error cases.
29157 (y1_test_data): Likewise.
29158 (yn_test_data): Likewise.
29159 * sysdeps/i386/fpu/libm-test-ulps: Update.
29160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29161
29162 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29163
29164 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29165 "64" to "64-v1". Add "64-v2".
29166 (abi-64-options): Rename to ...
29167 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29168 (abi-64-condition): Rename to ...
29169 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29170 (abi-64-ld-soname): Rename to ...
29171 (abi-64-v1-ld-soname): ... this.
29172 (abi-64-v2-options): Define.
29173 (abi-64-v2-condition): Likewise.
29174 (abi-64-v2-ld-soname): Likewise.
29175 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29176 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29180
29181 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29182 Alan Modra <amodra@gmail.com>
29183
29184 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29185 New versions for use with the ELFv2 ABI.
29186 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29187 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29188 declaration.
29189 (struct La_ppc64v2_retval): Likewise.
29190 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29191 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29192 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29193 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29194 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29195 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29196 Do not save or restore CR.
29197 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29198 (_dl_profile_resolve): Do no save or restore CR. Support extended
29199 return values for ELFv2 ABI. Fix location of FPR return registers.
29200 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29201 updated values for _CALL_ELF == 2.
29202 (La_regs, La_retval, int_retval): Likewise.
29203
29204 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29205
29206 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29207 (FRAME_MIN_SIZE_PARM): Likewise.
29208 (FRAME_BACKCHAIN): Likewise.
29209 (FRAME_CR_SAVE): Likewise.
29210 (FRAME_LR_SAVE): Likewise.
29211 (FRAME_TOC_SAVE): Likewise.
29212 (FRAME_PARM_SAVE): Likewise.
29213 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29214 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29215 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29216 (call_mcount_parm_offset): New macro.
29217 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29218 (PROF): Use symbolic stack frame offsets.
29219 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29221 Redefine in terms of FRAME_MIN_SIZE.
29222 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29223 (_dl_profile_resolve): Likewise. Update comment.
29224 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29225 symbols stack frame offsets.
29226 (__sigsetjmp): Likewise.
29227 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29228 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29229 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29230 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29231
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29233 (FRAME_BACKCHAIN): Remove.
29234 (FRAME_CR_SAVE): Likewise.
29235 (FRAME_LR_SAVE): Likewise.
29236 (FRAME_COMPILER_DW): Likewise.
29237 (FRAME_LINKER_DW): Likewise.
29238 (FRAME_TOC_SAVE): Likewise.
29239 (FRAME_PARM_SAVE): Likewise.
29240 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29241 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29242 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29244 (CHECK_SP): Use symbolic stack frame offsets.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29246 zone" instead of caller's parameter save area for temp storage.
29247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29248 Likewise. Also, use symbolic stack frame offsets.
29249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29250 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29251 our own stack frame instead of the caller's.
29252 (__socket): Use symbolic stack frame offsets.
29253
29254 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29255 Alan Modra <amodra@gmail.com>
29256
29257 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29258 Define.
29259 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29260 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29261 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29262 New function.
29263 (elf_machine_fixup_plt): Call it.
29264 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29265 reloc arguments.
29266 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29268 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29269 r2 before calling target.
29270
29271 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29272 Alan Modra <amodra@gmail.com>
29273
29274 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29275 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29276 versions of macros to support ELFv2 ABI.
29277 (LOCALENTRY): New macro.
29278 (ENTRY, EALIGN): Use it.
29279 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29280 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29281 fall through into ENTRY entry point.
29282 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29283 Only define if _CALL_ELF != 2.
29284
29285 (elf_machine_matches_host): Verify ABI version matches.
29286 (RTLD_START): Use LOCALENTRY.
29287 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29288 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29289 (PLT_ENTRY_WORDS): New macro.
29290 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29291 (elf_machine_runtime_setup): Support ELFv2 ABI.
29292 (elf_machine_fixup_plt): Likewise.
29293 (elf_machine_plt_conflict): Likewise.
29294 (resolve_ifunc): Likewise.
29295 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29297 Likewise.
29298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29299 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29301 (makecontext): Support ELFv2 ABI.
29302 * elf/elf.h (EF_PPC64_ABI): Define.
29303
29304 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29305
29306 * sysdeps/powerpc/powerpc64/sysdep.h
29307 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29308 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29309 (ENTRY) [ASSEMBLER]: ... but instead here ...
29310 (EALIGN) [ASSEMBLER]: ... and here.
29311 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29312 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29313 (ENTRY_2) [!ASSEMBLER]: Use it.
29314 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29315 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29317 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29318 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29320 Use PPC64_LOAD_FUNCPTR.
29321
29322 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29323
29324 2013-12-04 Alan Modra <amodra@gmail.com>
29325
29326 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29327 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29328 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29329 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29330
29331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29332 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29333 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29334 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29335 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29336 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29337
29338 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29339
29340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29341 (__makecontext): Fix incorrect CFI when backtracing out of
29342 context created via makecontext.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29344 (__setcontext): Fix incorrect CFI during switch to new context.
29345 (__novec_setcontext): Likewise.
29346
29347 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29348
29349 [BZ #4772]
29350 * time/strptime_l.c (__strptime_internal): Allow modifiers
29351 in strptime.
29352 * time/tst-strptime.c (day_tests): Add testcase.
29353
29354 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29355
29356 * scripts/bench.pl: Skip over blank lines.
29357
29358 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29359
29360 [BZ #926]
29361 * manual/time.texi (Calendar Time): Clarify what timezone functions
29362 use.
29363
29364 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29365
29366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29367
29368 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29369
29370 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29371 implementation.
29372 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29373 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29374 * debug/memset_chk.c (__memset_chk): Likewise.
29375 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29376 * debug/strncpy_chk.c: Likewise.
29377
29378 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29379
29380 [BZ #15268]
29381 [BZ #15425]
29382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29383 (__ieee754_exp): For possibly underflowing results, check size of
29384 result and force underflow exception if required.
29385 * math/auto-libm-test-in: Add more tests of exp.
29386 * math/auto-libm-test-out: Regenerated.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29389
29390 [BZ #16283]
29391 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29392 * math/w_exp2f.c (__exp2f): Likewise.
29393 * math/w_exp2l.c (__exp2l): Likewise.
29394 * math/auto-libm-test-in: Do not allow missing errno on exp2
29395 underflow.
29396 * math/auto-libm-test-out: Regenerated.
29397
29398 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29399
29400 [BZ #16274]
29401 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29402 handle filename validation.
29403 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29404 (do_open): Delete.
29405
29406 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29407
29408 [BZ #6786]
29409 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29410 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29411 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29412 <float.h>.
29413 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29414 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29415 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29417 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29418 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29419 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29420 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29421 Add more erfc tests.
29422 * math/auto-libm-test-out: Regenerated.
29423 * sysdeps/i386/fpu/libm-test-ulps: Update.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29425
29426 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29427 exp2, expm1, j0 and j1.
29428 * math/auto-libm-test-out: Regenerated.
29429 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29430 (erfc_test_data): Likewise.
29431 (exp_test_data): Likewise.
29432 (exp_tonearest_test_data): Likewise.
29433 (exp_towardzero_test_data): Likewise.
29434 (exp_downward_test_data): Likewise.
29435 (exp_upward_test_data): Likewise.
29436 (exp10_test_data): Likewise.
29437 (exp2_test_data): Likewise.
29438 (expm1_test_data): Likewise.
29439 (j0_test_data): Likewise.
29440 (j1_test_data): Likewise.
29441 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29442 (input_flag_type): Add flag_xfail_rounding.
29443 (input_flags): Add xfail-rounding.
29444 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29445 (output_for_one_input_case): Handle flag_xfail_rounding.
29446 * sysdeps/i386/fpu/libm-test-ulps: Update.
29447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29448
29449 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29450
29451 [BZ #16289]
29452 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29453 division by 0.
29454
29455 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29456
29457 [BZ #16195]
29458 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29459 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29460 (STAP_PROBE0): New macro.
29461 (STAP_PROBE1): Likewise.
29462 (STAP_PROBE2): Likewise.
29463 (STAP_PROBE3): Likewise.
29464 (STAP_PROBE4): Likewise.
29465
29466 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29467
29468 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29469
29470 2013-12-02 Steve Ellcey <sellcey@mips.com>
29471
29472 * benchtests/Makefile (bench): Add sqrt.
29473 (LDLIBS-bench-sqrt): New.
29474 * benchtests/sqrt-input: New.
29475
29476 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29477
29478 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29479 (GAIH_EAI): Likewise.
29480 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29481 (gaih_inet): Likewise.
29482 (getaddrinfo): Don't use GAIH_EAI.
29483
29484 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29485 (struct gaih): Remove definition.
29486
29487 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29488
29489 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29490 Use HERRNOP directly.
29491
29492 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29493
29494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29495
29496 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29497
29498 * math/gen-auto-libm-tests.c (test_functions): Add more
29499 single-argument functions.
29500 (special_fill_pi_2): New function.
29501 (special_fill_minus_pi_2): Likewise.
29502 (special_fill_pi_6): Likewise.
29503 (special_fill_minus_pi_6): Likewise.
29504 (special_fill_pi_3): Likewise.
29505 (special_fill_2pi_3): Likewise.
29506 (special_fill_e): Likewise.
29507 (special_fill_1_e): Likewise.
29508 (special_fill_e_minus_1): Likewise.
29509 (special_real_inputs): Add more special inputs.
29510 (output_for_one_input_case): Do not require ERANGE on underflow to
29511 zero if round-to-nearest result does not underflow to zero, unless
29512 exact results required.
29513 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29514 atan, atanh, cbrt, cos and cosh.
29515 * math/auto-libm-test-out: Regenerated.
29516 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29517 (acos_tonearest_test_data): Likewise.
29518 (acos_towardzero_test_data): Likewise.
29519 (acos_downward_test_data): Likewise.
29520 (acos_upward_test_data): Likewise.
29521 (acosh_test_data): Likewise.
29522 (asin_test_data): Likewise.
29523 (asin_tonearest_test_data): Likewise.
29524 (asin_towardzero_test_data): Likewise.
29525 (asin_upward_test_data): Likewise.
29526 (asinh_test_data): Likewise.
29527 (atan_test_data): Likewise.
29528 (atanh_test_data): Likewise.
29529 (cbrt_test_data): Likewise.
29530 (cos_test_data): Likewise.
29531 (cos_tonearest_test_data): Likewise.
29532 (cos_towardzero_test_data): Likewise.
29533 (cos_downward_test_data): Likewise.
29534 (cos_upward_test_data): Likewise.
29535 (cosh_test_data): Likewise.
29536 (cosh_tonearest_test_data): Likewise.
29537 (cosh_towardzero_test_data): Likewise.
29538 (cosh_downward_test_data): Likewise.
29539 (cosh_upward_test_data): Likewise.
29540 * sysdeps/i386/fpu/libm-test-ulps: Update.
29541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29542
29543 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29544
29545 [BZ #6787]
29546 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29547 * math/w_exp10f.c (__exp10f): Likewise.
29548 * math/w_exp10l.c (__exp10l): Likewise.
29549 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29550 errno settings in existing tests.
29551
29552 [BZ #14032]
29553 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29554 precision control set to double precision.
29555 * sysdeps/i386/fpu/w_sqrt.c: New file.
29556 * math/auto-libm-test-in: Add more tests.
29557 * math/auto-libm-test-out: Update.
29558
29559 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29560 (sqrt_test_tonearest): New function.
29561 (sqrt_towardzero_test_data): New variable.
29562 (sqrt_test_towardzero): New function.
29563 (sqrt_downward_test_data): New variable.
29564 (sqrt_test_downward): New function.
29565 (sqrt_upward_test_data): New variable.
29566 (sqrt_test_upward): New function.
29567 (main): Call the new functions.
29568
29569 * math/gen-auto-libm-tests.c: New file.
29570 * math/auto-libm-test-in: Likewise.
29571 * math/auto-libm-test-out: New generated file.
29572 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29573 variables.
29574 (%beautify): Add generated representations of zero.
29575 (top level): Set $auto_input and call parse_auto_input.
29576 (beautify): Remove trailing "f" from hex float constants.
29577 (parse_args): Handle XFAIL_TEST.
29578 (convert_condition): New function.
29579 (or_value): Likewise.
29580 (or_cond_value): Likewise.
29581 (generate_testfile): Handle AUTO_TESTS_* lines.
29582 (parse_auto_input): New function.
29583 * math/libm-test.inc (XFAIL_TEST): New macro.
29584 (ERRNO_UNCHANGED): Update value.
29585 (ERRNO_EDOM): Likewise.
29586 (ERRNO_ERANGE): Likewise.
29587 (IGNORE_RESULT): Likewise.
29588 (TEST_COND_flt_32): New macro.
29589 (TEST_COND_dbl_64): Likewise.
29590 (TEST_COND_ldbl_96_intel): Likewise.
29591 (TEST_COND_ldbl_96_m68k): Likewise.
29592 (TEST_COND_ldbl_128): Likewise.
29593 (TEST_COND_ldbl_128ibm): Likewise.
29594 (TEST_COND_long32): Likewise.
29595 (TEST_COND_long64): Likewise.
29596 (TEST_COND_before_rounding): Likewise.
29597 (TEST_COND_after_rounding): Likewise.
29598 (enable_test): Handle XFAIL_TEST flag.
29599 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29600 with finite results.
29601 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29602 auto-libm-test-out.
29603
29604 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29605 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29606
29607 [BZ #16214]
29608 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29609 __tls_get_addr_internal instead of __tls_get_offset in order to
29610 avoid GOT pointer dependency. Make rtld export
29611 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29612 __tls_get_addr since we are a __tls_get_offset platform.
29613 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29614 GOT pointer being set up before.
29615 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29616
29617 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29618
29619 * manual/math.texi (Errors in Math Functions): Document accuracy
29620 goals.
29621
29622 [BZ #15004]
29623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29624 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29627 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29629 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29630 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29631 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29639
29640 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29641 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29642 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29643 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29644 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29645 Likewise.
29646 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29647 Likewise.
29648 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29649 Likewise.
29650 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29652 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29653 atomic-feupdateenv and flt-rounds.
29654 * sysdeps/powerpc/nofpu/Versions (libc): Add
29655 __atomic_feholdexcept, __atomic_feclearexcept,
29656 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29657 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29658 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29659 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29660 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29661 here.
29662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29663 Update.
29664
29665 * manual/arith.texi (FP Exceptions): Document that exceptions may
29666 not be raised when matherr is used.
29667 (Math Error Reporting): Document overflow in directed rounding
29668 modes. Document that errno may not be set when finite values are
29669 returned on overflow. Document intent to set errno on underflow
29670 only for underflow to zero.
29671
29672 [BZ #16271]
29673 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29674 round-to-nearest then adjust result for other rounding modes.
29675 * include/fenv.h (fegetround): Use libm_hidden_proto.
29676 * math/fegetround.c (fegetround): Use libm_hidden_def.
29677 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29678 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29679 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29680 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29681 Likewise.
29682 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29684 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29685 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29686
29687 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29688
29689 [BZ #16077]
29690 * nss/Versions (libnss_files): Add
29691 _nss_files_gethostbyname3_r.
29692 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29693 New function.
29694 (HOST_DB_LOOKUP): Remove macro.
29695 (_nss_files_gethostbyname_r): Implement function without the
29696 HOST_DB_LOOKUP macro.
29697 (_nss_files_gethostbyname2_r): Likewise.
29698
29699 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29700
29701 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29702
29703 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29704
29705 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29706 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29707 warning.
29708
29709 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29710
29711 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29712 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29713 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29714 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29715 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29716 __fe_nomask_env_priv and attribute_hidden.
29717 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29718 (libc_feupdateenv_test_ppc): Likewise.
29719 (libc_feresetround_ppc): Likewise.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29721 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29722 compat_symbol macro.
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29724 (__fe_nomask_env): Likewise.
29725 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29726
29727 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29728
29729 * string/Makefile: Remove ifunc tests.
29730 * string/test-string.h: Define TEST_IFUNC.
29731 * string/test-bcopy-ifunc.c: Remove.
29732 * string/test-bzero-ifunc.c: Likewise.
29733 * string/test-memccpy-ifunc.c: Likewise.
29734 * string/test-memchr-ifunc.c: Likewise.
29735 * string/test-memcmp-ifunc.c: Likewise.
29736 * string/test-memcpy-ifunc.c: Likewise.
29737 * string/test-memmem-ifunc.c: Likewise.
29738 * string/test-memmove-ifunc.c: Likewise.
29739 * string/test-mempcpy-ifunc.c: Likewise.
29740 * string/test-memrchr-ifunc.c: Likewise.
29741 * string/test-memset-ifunc.c: Likewise.
29742 * string/test-rawmemchr-ifunc.c: Likewise.
29743 * string/test-stpcpy-ifunc.c: Likewise.
29744 * string/test-stpncpy-ifunc.c: Likewise.
29745 * string/test-strcasecmp-ifunc.c: Likewise.
29746 * string/test-strcasestr-ifunc.c: Likewise.
29747 * string/test-strcat-ifunc.c: Likewise.
29748 * string/test-strchr-ifunc.c: Likewise.
29749 * string/test-strchrnul-ifunc.c: Likewise.
29750 * string/test-strcmp-ifunc.c: Likewise.
29751 * string/test-strcpy-ifunc.c: Likewise.
29752 * string/test-strcspn-ifunc.c: Likewise.
29753 * string/test-strlen-ifunc.c: Likewise.
29754 * string/test-strncasecmp-ifunc.c: Likewise.
29755 * string/test-strncat-ifunc.c: Likewise.
29756 * string/test-strncmp-ifunc.c: Likewise.
29757 * string/test-strncpy-ifunc.c: Likewise.
29758 * string/test-strnlen-ifunc.c: Likewise.
29759 * string/test-strpbrk-ifunc.c: Likewise.
29760 * string/test-strrchr-ifunc.c: Likewise.
29761 * string/test-strspn-ifunc.c: Likewise.
29762 * string/test-strstr-ifunc.c: Likewise.
29763
29764 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29765
29766 * benchtests/Makefile: Remove ifunc tests.
29767 * benchtests/bench-string.h: Define TEST_IFUNC.
29768 * benchtests/bench-bcopy-ifunc.c: Remove.
29769 * benchtests/bench-bzero-ifunc.c: Likewise.
29770 * benchtests/bench-memccpy-ifunc.c: Likewise.
29771 * benchtests/bench-memchr-ifunc.c: Likewise.
29772 * benchtests/bench-memcmp-ifunc.c: Likewise.
29773 * benchtests/bench-memcpy-ifunc.c: Likewise.
29774 * benchtests/bench-memmem-ifunc.c: Likewise.
29775 * benchtests/bench-memmove-ifunc.c: Likewise.
29776 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29777 * benchtests/bench-memrchr-ifunc.c: Likewise.
29778 * benchtests/bench-memset-ifunc.c: Likewise.
29779 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29780 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29781 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29782 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29783 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29784 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29785 * benchtests/bench-strcat-ifunc.c: Likewise.
29786 * benchtests/bench-strchr-ifunc.c: Likewise.
29787 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29788 * benchtests/bench-strcmp-ifunc.c: Likewise.
29789 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29790 * benchtests/bench-strcpy-ifunc.c: Likewise.
29791 * benchtests/bench-strcspn-ifunc.c: Likewise.
29792 * benchtests/bench-strlen-ifunc.c: Likewise.
29793 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29794 * benchtests/bench-strncat-ifunc.c: Likewise.
29795 * benchtests/bench-strncmp-ifunc.c: Likewise.
29796 * benchtests/bench-strncpy-ifunc.c: Likewise.
29797 * benchtests/bench-strnlen-ifunc.c: Likewise.
29798 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29799 * benchtests/bench-strrchr-ifunc.c: Likewise.
29800 * benchtests/bench-strsep-ifunc.c: Likewise.
29801 * benchtests/bench-strspn-ifunc.c: Likewise.
29802 * benchtests/bench-strstr-ifunc.c: Likewise.
29803
29804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29805
29806 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29807
29808 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29809
29810 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29811 * rt/aio.h: Likewise.
29812 * sysdeps/gnu/bits/utmp.h: Likewise.
29813 * sysdeps/gnu/bits/utmpx.h: Likewise.
29814 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29815 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29816 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29817 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29818 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29819 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29820 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29821 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29822 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29823 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29824 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29825 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29826 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29828 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29829 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29830 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29831 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29832 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29833 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29834 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29835 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29836 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29837 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29838 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29840 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29841 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29844 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29845 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29846 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29847 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29848 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29849 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29850 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29851 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29852 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29853 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29854 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29855 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29856
29857 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29858
29859 [BZ #16245]
29860 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29861 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29862
29863 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29864
29865 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29866 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29867 Likewise.
29868
29869 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29870
29871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29872 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29873 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29874 (__fesetround): Remove define.
29875 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29876 rounding and exceptions handling.
29877 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29878 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29879 (__fe_nomask_env): Likewise.
29880 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29881 __fegetround instead of fegetround.
29882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29883 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29884
29885 2013-11-21 Roland McGrath <roland@hack.frob.com>
29886
29887 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29888 it's there.
29889
29890 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29891
29892 2013-11-21 Meador Inge <meadori@codesourcery.com>
29893
29894 [BZ #11157]
29895 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29896 (encrypt_r): Likewise.
29897 * malloc/obstack.h (obstack_free): Likewise.
29898 * posix/unistd.h (encrypt): Likewise.
29899
29900 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29901
29902 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29903 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29904 DL_CALL_DT_FINI() that call the functions directly.
29905 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29906 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29907 * elf/dl-fini.c: Likewise.
29908
29909 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29910
29911 * malloc/hooks.c (memalign_check): Add alignment rounding.
29912 * malloc/malloc.c (_mid_memalign): New function.
29913 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29914 Implement by calling _mid_memalign.
29915 * manual/probes.texi (Memory Allocation Probes): Remove
29916 memory_valloc_retry and memory_pvalloc_retry.
29917
29918 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29919
29920 * locale/programs/locarchive.c (open_archive): Add const
29921 qualifier to ARCHIVEFNAME and copy default fname to
29922 DEFAULT_FNAME.
29923
29924 [BZ #15601]
29925 * libio/tst-widetext.input: Rename Oriya to Odia.
29926 * locale/iso-639.def: Likewise.
29927
29928 * manual/probes.texi (Mathematical Function Probes): Add
29929 documentation for sin, cos, asin and acos probes.
29930 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29931 (__sin32): Add slowasin probe.
29932 (__cos32): Add slowacos probe.
29933 (__mpsin): Add slowsin probe.
29934 (__mpcos): Add slowcos probe.
29935
29936 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29937
29938 [BZ #15483]
29939 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29940 thread-local __sim_exceptions_thread and global
29941 __sim_exceptions_global.
29942 (__sim_disabled_exceptions): Change to thread-local
29943 __sim_disabled_exceptions_thread and global
29944 __sim_disabled_exceptions_global.
29945 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29946 and global __sim_round_mode_global.
29947 (__simulate_exceptions): Use thread-local floating-point state and
29948 set global state from it as needed.
29949 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29950 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29951 __sim_round_mode_thread.
29952 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29953 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29954 and global __sim_exceptions_global.
29955 (__sim_disabled_exceptions): Change to thread-local
29956 __sim_disabled_exceptions_thread and global
29957 __sim_disabled_exceptions_global.
29958 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29959 and global __sim_round_mode_global.
29960 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29961 (SIM_SET_GLOBAL): Likewise.
29962 * sysdeps/powerpc/soft-fp/sfp-machine.h
29963 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29964 __sim_round_mode_thread.
29965 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29966 __sim_disabled_exceptions_thread.
29967 (__sim_exceptions): Change to __sim_exceptions_thread.
29968 (__sim_disabled_exceptions): Change to
29969 __sim_disabled_exceptions_thread.
29970 (__sim_round_mode): Change to __sim_round_mode_thread.
29971 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29972 thread-local floating-point state and set global state from it as
29973 needed.
29974 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29975 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29976 (__sim_disabled_exceptions): Remove extern declaration.
29977 (feenableexcept): Use thread-local floating-point state and set
29978 global state from it as needed.
29979 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29980 extern declaration.
29981 (__sim_disabled_exceptions): Likewise.
29982 (__sim_round_mode): Likewise.
29983 (__fegetenv): Use thread-local floating-point state.
29984 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29985 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29986 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29987 floating-point state and set global state from it as needed.
29988 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29989 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29990 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29991 Likewise.
29992 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29993 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29994 Likewise.
29995 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29996 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29997 Use __sim_round_mode_thread.
29998 * math/test-fenv-tls.c: New file.
29999 * math/Makefile (tests): Add test-fenv-tls.
30000 ($(objpfx)test-fenv-tls): Depend on
30001 $(common-objpfx)nptl/libpthread.so.
30002
30003 2013-11-19 Andreas Schwab <schwab@suse.de>
30004
30005 * locale/programs/locale.c (show_info): Decode wordarray elements.
30006 * locale/categories.def (LC_MONETARY): Add element for
30007 _NL_MONETARY_CRNCYSTR.
30008 * locale/C-monetary.c (conversion_rate): New variable.
30009 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30010 element.
30011
30012 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30013
30014 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30015 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30016
30017 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30018
30019 * elf/Makefile (tst-auxv): New test.
30020 * elf/tst-auxv.c: New
30021 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30022
30023 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30024
30025 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30026 (hidden_proto): Caller changed.
30027 (hidden_tls_proto): New macro.
30028 (libc_hidden_tls_proto): Likewise.
30029 (rtld_hidden_tls_proto): Likewise.
30030 (libm_hidden_tls_proto): Likewise.
30031 (libresolv_hidden_tls_proto): Likewise.
30032 (librt_hidden_tls_proto): Likewise.
30033 (libdl_hidden_tls_proto): Likewise.
30034 (libnss_files_hidden_tls_proto): Likewise.
30035 (libnsl_hidden_tls_proto): Likewise.
30036 (libnss_nisplus_hidden_tls_proto): Likewise.
30037 (libutil_hidden_tls_proto): Likewise.
30038
30039 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30040
30041 [BZ #10253]
30042 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30043 (decompose_rpath): Defer expansion to fillin_rpath.
30044 (_dl_init_paths): Pass linkmap to fillin_rpath.
30045
30046 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30047
30048 * benchtests/Makefile: Add strsep.
30049 * benchtests/bench-strsep.c: New file: strsep benchtest.
30050 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30051
30052 2013-11-18 Andreas Schwab <schwab@suse.de>
30053
30054 * locale/programs/locale.c (show_info) [case byte]: Check for
30055 '\377' instead of '\177'.
30056 * locale/C-monetary.c (not_available): Always use "\377".
30057 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30058 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30059 detect unavailable sign_posn locale elements.
30060 * locale/localeconv.c (__localeconv): For grouping and
30061 mon_grouping handle "\177" and "\377" like no grouping.
30062 (INT_ELEM): New macro. Use it to set all numeric members.
30063 * locale/programs/ld-monetary.c (monetary_read)
30064 <tok_mon_grouping>: Normalize single -1 to the empty string.
30065 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30066 Likewise.
30067
30068 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30069
30070 [BZ #16055]
30071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30072 when we match (nil).
30073 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30074
30075 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30076
30077 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30078 (NO_TEST_INLINE): Update value.
30079 (ERRNO_UNCHANGED): Likewise.
30080 (ERRNO_EDOM): Likewise.
30081 (ERRNO_ERANGE): Likewise.
30082 (IGNORE_RESULT): Likewise.
30083 (check_float_internal): Check signs of NaN results if
30084 TEST_NAN_SIGN used.
30085 (check_complex): Pass TEST_NAN_SIGN flag through to second
30086 check_float_internal call.
30087 (copysign_test_data): Add tests with quiet NaNs as second
30088 argument. Use TEST_NAN_SIGN.
30089 (fabs_test_data): Add test of negative quiet NaN argument. Use
30090 TEST_NAN_SIGN.
30091 (signbit_test_data): Add tests of quiet NaN argument.
30092 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30093
30094 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30095 $ignore_result.
30096 (parse_args): Handle function results specified as IGNORE.
30097 * math/libm-test.inc (IGNORE_RESULT): New macro.
30098 (check_float_internal): Do not check numerical result if flag
30099 IGNORE_RESULT set.
30100 (check_complex): Pass through IGNORE_RESULT to second
30101 check_float_internal call.
30102 (check_int): Do not check numerical result if flag IGNORE_RESULT
30103 set.
30104 (check_long): Likewise.
30105 (check_bool): Likewise.
30106 (check_longlong): Likewise.
30107 (lrint_test_data): Add tests of infinite and NaN arguments.
30108 (lrint_tonearest_test_data): Likewise.
30109 (lrint_towardzero_test_data): Likewise.
30110 (lrint_downward_test_data): Likewise.
30111 (lrint_upward_test_data): Likewise.
30112 (llrint_test_data): Likewise.
30113 (llrint_tonearest_test_data): Likewise.
30114 (llrint_towardzero_test_data): Likewise.
30115 (llrint_downward_test_data): Likewise.
30116 (llrint_upward_test_data): Likewise.
30117 (lround_test_data): Likewise.
30118 (llround_test_data): Likewise.
30119
30120 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30121 (ERRNO_UNCHANGED): Update value.
30122 (ERRNO_EDOM): Likewise.
30123 (ERRNO_ERANGE): Likewise.
30124 (NO_TEST_INLINE_FLOAT): New macro.
30125 (NO_TEST_INLINE_DOUBLE): Likewise.
30126 (enable_test): New function.
30127 (RUN_TEST_f_f): Check enable_test before running test.
30128 (RUN_TEST_2_f): Likewise.
30129 (RUN_TEST_fff_f): Likewise.
30130 (RUN_TEST_c_f): Likewise.
30131 (RUN_TEST_f_f1): Likewise.
30132 (RUN_TEST_fF_f1): Likewise.
30133 (RUN_TEST_fI_f1): Likewise.
30134 (RUN_TEST_ffI_f1): Likewise.
30135 (RUN_TEST_c_c): Likewise.
30136 (RUN_TEST_cc_c): Likewise.
30137 (RUN_TEST_f_i): Likewise.
30138 (RUN_TEST_f_i_tg): Likewise.
30139 (RUN_TEST_ff_i_tg): Likewise.
30140 (RUN_TEST_f_b): Likewise.
30141 (RUN_TEST_f_b_tg): Likewise.
30142 (RUN_TEST_f_l): Likewise.
30143 (RUN_TEST_f_L): Likewise.
30144 (RUN_TEST_fFF_11): Likewise.
30145 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30146 conditionals.
30147 (cosh_test_data): Likewise.
30148 (exp_test_data): Likewise.
30149 (expm1_test_data): Likewise.
30150 (hypot_test_data): Likewise.
30151 (pow_test_data): Likewise.
30152 (sinh_test_data): Likewise.
30153 (tanh_test_data): Likewise.
30154 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30155 flags argument.
30156
30157 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30158 tests with quiet NaN input and output.
30159 (acosh_test_data): Likewise.
30160 (asin_test_data): Likewise.
30161 (asinh_test_data): Likewise.
30162 (atan_test_data): Likewise.
30163 (atanh_test_data): Likewise.
30164 (atan2_test_data): Likewise.
30165 (cbrt_test_data): Likewise.
30166 (cos_test_data): Likewise.
30167 (cosh_test_data): Likewise.
30168 (erf_test_data): Likewise.
30169 (erfc_test_data): Likewise.
30170 (exp_test_data): Likewise.
30171 (exp10_test_data): Likewise.
30172 (exp2_test_data): Likewise.
30173 (expm1_test_data): Likewise.
30174 (hypot_test_data): Likewise.
30175 (j0_test_data): Likewise.
30176 (j1_test_data): Likewise.
30177 (jn_test_data): Likewise.
30178 (lgamma_test_data): Likewise.
30179 (log_test_data): Likewise.
30180 (log10_test_data): Likewise.
30181 (log1p_test_data): Likewise.
30182 (log2_test_data): Likewise.
30183 (pow_test_data): Likewise.
30184 (scalb_test_data): Likewise.
30185 (sin_test_data): Likewise.
30186 (sincos_test_data): Likewise.
30187 (sinh_test_data): Likewise.
30188 (tan_test_data): Likewise.
30189 (tanh_test_data): Likewise.
30190 (tgamma_test_data): Likewise.
30191 (y0_test_data): Likewise.
30192 (y1_test_data): Likewise.
30193 (yn_test_data): Likewise.
30194
30195 [BZ #16167]
30196 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30197 argument being NaN and avoid computations with second argument in
30198 that case.
30199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30201 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30202
30203 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30204
30205 * locale/iso-639.def: Add Chitwani Tharu (the).
30206
30207 2013-11-14 Andreas Schwab <schwab@suse.de>
30208
30209 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30210 word instead of empty string.
30211
30212 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30213
30214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30215 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30217 (__fe_nomask_env): Likewise.
30218
30219 2013-11-13 Steve Ellcey <sellcey@mips.com>
30220
30221 * benchtests/bench-timing.h: Include time.h.
30222
30223 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30224
30225 [BZ #15997]
30226 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30227 to 3.4.0 for x32.
30228 * sysdeps/unix/sysv/linux/configure: Regenerated.
30229
30230 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30231
30232 [BZ #16151]
30233 * stdlib/strtod_l.c (round_and_return): Do not consider
30234 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30235 exponent one less than half the least subnormal exponent.
30236 * stdlib/test-strtod-round-data: Add more tests.
30237 * stdlib/tst-strtod-round.c (tests): Regenerated.
30238
30239 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30240
30241 [BZ #14143]
30242 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30243 (__fe_mask_env): Likewise.
30244 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30245 libm_hidden_proto and add function prototype.
30246 (__fe_mask_env): Add function prototype.
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30248 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30250 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30252 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30253
30254 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30255
30256 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30257 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30258
30259 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30260
30261 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30262 of htab_find_slot().
30263
30264 2013-11-11 David S. Miller <davem@davemloft.net>
30265
30266 [BZ #16150]
30267 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30268 symbol in the non-vis3 case in static builds.
30269 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30270 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30271 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30272 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30273
30274 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30275
30276 [BZ #387]
30277 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30278 it is empty.
30279
30280 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30281
30282 * benchtests/Makefile: Add bench-strtod.
30283 * benchtests/bench-strtod.c: New file: strtod benchtest
30284
30285 2013-11-11 Andreas Schwab <schwab@suse.de>
30286
30287 [BZ #16153]
30288 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30289 terminating NUL in key length.
30290
30291 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30292
30293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30294 Add artificial ODP entry for vDSO symbol for PPC64.
30295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30296 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30297
30298 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30299
30300 [BZ #15374]
30301 * nss/getent.c (services_keys): Recognize services starting with digit.
30302
30303 2013-11-06 David S. Miller <davem@davemloft.net>
30304
30305 [BZ #15985]
30306 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30307 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30308
30309 2013-11-06 Will Newton <will.newton@linaro.org>
30310
30311 * manual/memory.texi (Malloc Examples): Remove register
30312 keyword from examples.
30313
30314 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30315
30316 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30317
30318 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30319
30320 [BZ #6981]
30321 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30322 depending on [__GCC_IEC_559 > 0].
30323 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30324 depending on [__GCC_IEC_559_COMPLEX > 0].
30325
30326 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30327
30328 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30329 to iso-639.def.
30330
30331 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30332
30333 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30334
30335 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30336
30337 [BZ #16112]
30338 * malloc/malloc (malloc_info): Do not handle first bin as
30339 special case.
30340
30341 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30342
30343 * locale/iso-639.def: Add Central Nahuatl (nhn).
30344
30345 2013-11-01 Bruno Haible <bruno@clisp.org>
30346
30347 [BZ #7003]
30348 * manual/math.texi (BSD Random): Specify range upper bound as
30349 in POSIX.
30350
30351 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30352
30353 * locale/iso-639.def: Add Meadow Mari (mhr).
30354
30355 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30356
30357 [BZ #14752], [BZ #15763]
30358 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30359 Validate name.
30360 * rt/tst_shm.c: Add test for escaping directory.
30361
30362 2013-10-31 Andreas Schwab <schwab@suse.de>
30363
30364 [BZ #15917]
30365 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30366 followed by 'x' as part of digit sequence.
30367 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30368
30369 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30370
30371 [BZ #16037]
30372 * configure.ac: allow GNU Make 4.0 and greater.
30373 * configure: Regenerated.
30374
30375 2013-10-30 Will Newton <will.newton@linaro.org>
30376
30377 [BZ #16038]
30378 * malloc/hooks.c (memalign_check): Limit alignment to the
30379 maximum representable power of two.
30380 * malloc/malloc.c (__libc_memalign): Likewise.
30381 * malloc/tst-memalign.c (do_test): Add test for very
30382 large alignment values.
30383 * malloc/tst-posix_memalign.c (do_test): Likewise.
30384
30385 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30386
30387 [BZ #11087]
30388 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30389 (munmap_chunk): Likewise.
30390 (mremap_chunk): Likewise.
30391
30392 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30393
30394 [BZ #15799]
30395 * stdlib/div.c (div): Remove obsolete code.
30396 * stdlib/ldiv.c (ldiv): Likewise.
30397 * stdlib/lldiv.c (lldiv): Likewise.
30398
30399 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30400
30401 [BZ #16071]
30402 * nss/nss_files/files-XXX.c (get_contents_ret): New
30403 enumerator.
30404 (get_contents): New function.
30405 (internal_getent): Use it. Expand size of LINEBUFLEN.
30406
30407 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30408
30409 * configure.in: Moved to ...
30410 * configure.ac: ... here. Change reference to configure.in
30411 to configure.ac.
30412 * sysdeps/arm/preconfigure.ac: ... here.
30413 configure.in to configure.ac.
30414 * sysdeps/gnu/configure.in: Moved to ...
30415 * sysdeps/gnu/configure.ac: ... here.
30416 * sysdeps/i386/configure.in: Moved to ...
30417 * sysdeps/i386/configure.ac: ... here.
30418 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30419 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30420 * sysdeps/mach/configure.in: Moved to ...
30421 * sysdeps/mach/configure.ac: ... here.
30422 * sysdeps/mach/hurd/configure.in: Moved to ...
30423 * sysdeps/mach/hurd/configure.ac: ... here.
30424 * sysdeps/powerpc/configure.in: Moved to ...
30425 * sysdeps/powerpc/configure.ac: ... here.
30426 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30427 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30428 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30429 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30430 * sysdeps/s390/s390-32/configure.in: Moved to ...
30431 * sysdeps/s390/s390-32/configure.ac: ... here.
30432 * sysdeps/s390/s390-64/configure.in: Moved to ...
30433 * sysdeps/s390/s390-64/configure.ac: ... here.
30434 * sysdeps/sh/configure.in: Moved to ...
30435 * sysdeps/sh/configure.ac: ... here.
30436 * sysdeps/sparc/configure.in: Moved to ...
30437 * sysdeps/sparc/configure.ac: ... here.
30438 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30439 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30440 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30441 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30442 * sysdeps/x86_64/configure.in: Moved to ...
30443 * sysdeps/x86_64/configure.ac: ... here.
30444 * sysdeps/x86_64/preconfigure.in: Moved to ...
30445 * sysdeps/x86_64/preconfigure.ac: ... here.
30446 * aclocal.m4: Change reference to configure.in to configure.ac.
30447 * config.h.in: Likewise.
30448 * manual/install.texi: Likewise.
30449 * manual/maint.texi: Likewise.
30450 * Makefile: Likewise.
30451 * malloc/Makefile: Likewise.
30452 * nscd/Makefile: Likewise.
30453 * Makeconfig: Change reference to configure.in and
30454 preconfigure.in to configure.ac and preconfigure.ac
30455 respectively.
30456 * INSTALL: Regenerated.
30457 * configure: Likewise.
30458 * sysdeps/gnu/configure: Likewise.
30459 * sysdeps/i386/configure: Likewise.
30460 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30461 * sysdeps/mach/configure: Likewise.
30462 * sysdeps/mach/hurd/configure: Likewise.
30463 * sysdeps/powerpc/configure: Likewise.
30464 * sysdeps/powerpc/powerpc32/configure: Likewise.
30465 * sysdeps/powerpc/powerpc64/configure: Likewise.
30466 * sysdeps/s390/s390-32/configure: Likewise.
30467 * sysdeps/s390/s390-64/configure: Likewise.
30468 * sysdeps/sh/configure: Likewise.
30469 * sysdeps/sparc/configure: Likewise.
30470 * sysdeps/unix/sysv/linux/configure: Likewise.
30471 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30472 * sysdeps/x86_64/configure: Likewise.
30473 * sysdeps/x86_64/preconfigure: Likewise.
30474
30475 2013-10-29 Andreas Schwab <schwab@suse.de>
30476
30477 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30478
30479 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30480
30481 * benchtests/pow-inputs: Add new inputs.
30482
30483 * benchtests/exp-inputs: Add new inputs.
30484
30485 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30486 conditional check for return value.
30487 (__cos32): Likewise.
30488
30489 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30490
30491 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30492 to provide a boost for large inputs with word alignment.
30493 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30494 implementation based on optimized PPC64 strcpy.
30495 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30496 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30497 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30498 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30499
30500 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30501
30502 [BZ #2801]
30503 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30504
30505 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30506
30507 [BZ #14876]
30508 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30509 * time/tst-strptime.c (day_tests): Add testcase.
30510
30511 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30512
30513 [BZ #14029]
30514 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30515
30516 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30517
30518 [BZ #16074]
30519 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30520 MAP_FAILED on error.
30521
30522 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30523
30524 [BZ #16072]
30525 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30526 heap for large requests.
30527
30528 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30529
30530 [BZ #9954]
30531 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30532 result if the result has no associated interface.
30533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30534 interface for all 127.X.Y.Z addresses.
30535
30536 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30537
30538 * locale/iso-639.def: Add Ligurian (lij)
30539
30540 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30541
30542 [BZ #15825]
30543 * sunrpc/rpc_main.c: Document rpcgen -5.
30544
30545 2013-10-19 Michael Stahl <mstahl@redhat.com>
30546
30547 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30548
30549 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30550
30551 [BZ #10278]
30552 * posix/glob.c: Match only directories when trailing slash is present.
30553 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30554 (main): Add testcase.
30555
30556 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30557
30558 [BZ #15670]
30559 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30560
30561 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30562
30563 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30564 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30565 AUTH_DES and cindex for FIPS 140-2.
30566 (DES Encryption): Add cindex FIPS 46-3.
30567
30568 * locale/locarchive.h (struct locarhandle): Add fname.
30569 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30570 if an optional argument was specified to --list-archive,
30571 otherwise NULL.
30572 * locale/programs/locarchive.c (show_archive_content): Take new
30573 argument fname and pass it via ah.fname to open_archive.
30574 * locale/programs/localedef.h: Update decl.
30575 (open_archive): If AH->fname is non-null, open that file
30576 rather than the default file name, and don't ignore ENOENT.
30577 (create_archive): Set AH.fname to NULL.
30578 (delete_locales_from_archive): Likewise.
30579 (add_locales_to_archive): Likewise.
30580 * locale/programs/locfile.c (write_all_categories): Likewise.
30581
30582 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30583 Aldy Hernandez <aldyh@redhat.com>
30584
30585 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30586 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30587 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30588 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30589 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30590 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30591 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30592 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30593 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30594 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30595 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30596 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30597 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30598 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30599 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30600 Likewise.
30601 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30602 Likewise.
30603 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30604 Likewise.
30605 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30606 Likewise.
30607 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30608 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30609 Likewise.
30610 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30611 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30612 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30613 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30614 Likewise.
30615 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30616 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30617 * sysdeps/powerpc/preconfigure: Likewise.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30619 Likewise.
30620 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30621 Replace contents of file by #include of <fenv_libc.h>.
30622 * sysdeps/powerpc/soft-fp/sfp-machine.h
30623 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30624 and <sys/prctl.h>.
30625 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30638 Allow copysignl PLT reference to be missing.
30639
30640 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30641 Joseph Myers <joseph@codesourcery.com
30642
30643 [BZ #15948]
30644 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30645 single character.
30646 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30647
30648 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30649
30650 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30651 * elf/tst-tls1.c: Likewise.
30652 * elf/tst-tls10.h: Likewise.
30653 * elf/tst-tls14.c: Likewise.
30654 * elf/tst-tls2.c: Likewise.
30655 * elf/tst-tls3.c: Likewise.
30656 * elf/tst-tls4.c: Likewise.
30657 * elf/tst-tls5.c: Likewise.
30658 * elf/tst-tls6.c: Likewise.
30659 * elf/tst-tls7.c: Likewise.
30660 * elf/tst-tls8.c: Likewise.
30661 * elf/tst-tls9.c: Likewise.
30662 * elf/tst-tlsmod1.c: Likewise.
30663 * elf/tst-tlsmod13.c: Likewise.
30664 * elf/tst-tlsmod13a.c: Likewise.
30665 * elf/tst-tlsmod14a.c: Likewise.
30666 * elf/tst-tlsmod16a.c: Likewise.
30667 * elf/tst-tlsmod16b.c: Likewise.
30668 * elf/tst-tlsmod2.c: Likewise.
30669 * elf/tst-tlsmod3.c: Likewise.
30670 * elf/tst-tlsmod4.c: Likewise.
30671 * elf/tst-tlsmod5.c: Likewise.
30672 * elf/tst-tlsmod6.c: Likewise.
30673
30674 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30675
30676 [BZ #12486]
30677 * malloc/malloc.c: remove checks for statistics.
30678
30679 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30680
30681 [BZ #15277]
30682 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30683 * inet/tst-network.c: Add testcase.
30684
30685 2013-10-17 Andreas Schwab <schwab@suse.de>
30686
30687 [BZ #15218]
30688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30689 to determine canonical name.
30690
30691 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30692
30693 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30694 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30702 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30717 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30719 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30725 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30726 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30751
30752 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30753
30754 [BZ #16041]
30755 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30756 make result into a quiet NaN.
30757
30758 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30759
30760 * soft-fp/adddf3.c: Fix horizontal whitespace.
30761 * soft-fp/addsf3.c: Likewise.
30762 * soft-fp/addtf3.c: Likewise.
30763 * soft-fp/divdf3.c: Likewise.
30764 * soft-fp/divsf3.c: Likewise.
30765 * soft-fp/divtf3.c: Likewise.
30766 * soft-fp/double.h: Likewise.
30767 * soft-fp/eqdf2.c: Likewise.
30768 * soft-fp/eqsf2.c: Likewise.
30769 * soft-fp/eqtf2.c: Likewise.
30770 * soft-fp/extenddftf2.c: Likewise.
30771 * soft-fp/extended.h: Likewise.
30772 * soft-fp/extendsfdf2.c: Likewise.
30773 * soft-fp/extendsftf2.c: Likewise.
30774 * soft-fp/extendxftf2.c: Likewise.
30775 * soft-fp/fixdfdi.c: Likewise.
30776 * soft-fp/fixdfsi.c: Likewise.
30777 * soft-fp/fixdfti.c: Likewise.
30778 * soft-fp/fixsfdi.c: Likewise.
30779 * soft-fp/fixsfsi.c: Likewise.
30780 * soft-fp/fixsfti.c: Likewise.
30781 * soft-fp/fixtfdi.c: Likewise.
30782 * soft-fp/fixtfsi.c: Likewise.
30783 * soft-fp/fixtfti.c: Likewise.
30784 * soft-fp/fixunsdfdi.c: Likewise.
30785 * soft-fp/fixunsdfsi.c: Likewise.
30786 * soft-fp/fixunsdfti.c: Likewise.
30787 * soft-fp/fixunssfdi.c: Likewise.
30788 * soft-fp/fixunssfsi.c: Likewise.
30789 * soft-fp/fixunssfti.c: Likewise.
30790 * soft-fp/fixunstfdi.c: Likewise.
30791 * soft-fp/fixunstfsi.c: Likewise.
30792 * soft-fp/fixunstfti.c: Likewise.
30793 * soft-fp/floatdidf.c: Likewise.
30794 * soft-fp/floatdisf.c: Likewise.
30795 * soft-fp/floatditf.c: Likewise.
30796 * soft-fp/floatsidf.c: Likewise.
30797 * soft-fp/floatsisf.c: Likewise.
30798 * soft-fp/floatsitf.c: Likewise.
30799 * soft-fp/floattidf.c: Likewise.
30800 * soft-fp/floattisf.c: Likewise.
30801 * soft-fp/floattitf.c: Likewise.
30802 * soft-fp/floatundidf.c: Likewise.
30803 * soft-fp/floatundisf.c: Likewise.
30804 * soft-fp/floatunditf.c: Likewise.
30805 * soft-fp/floatunsidf.c: Likewise.
30806 * soft-fp/floatunsisf.c: Likewise.
30807 * soft-fp/floatunsitf.c: Likewise.
30808 * soft-fp/floatuntidf.c: Likewise.
30809 * soft-fp/floatuntisf.c: Likewise.
30810 * soft-fp/floatuntitf.c: Likewise.
30811 * soft-fp/fmadf4.c: Likewise.
30812 * soft-fp/fmasf4.c: Likewise.
30813 * soft-fp/fmatf4.c: Likewise.
30814 * soft-fp/gedf2.c: Likewise.
30815 * soft-fp/gesf2.c: Likewise.
30816 * soft-fp/getf2.c: Likewise.
30817 * soft-fp/ledf2.c: Likewise.
30818 * soft-fp/lesf2.c: Likewise.
30819 * soft-fp/letf2.c: Likewise.
30820 * soft-fp/muldf3.c: Likewise.
30821 * soft-fp/mulsf3.c: Likewise.
30822 * soft-fp/multf3.c: Likewise.
30823 * soft-fp/negdf2.c: Likewise.
30824 * soft-fp/negsf2.c: Likewise.
30825 * soft-fp/negtf2.c: Likewise.
30826 * soft-fp/op-1.h: Likewise.
30827 * soft-fp/op-2.h: Likewise.
30828 * soft-fp/op-4.h: Likewise.
30829 * soft-fp/op-8.h: Likewise.
30830 * soft-fp/op-common.h: Likewise.
30831 * soft-fp/quad.h: Likewise.
30832 * soft-fp/single.h: Likewise.
30833 * soft-fp/soft-fp.h: Likewise.
30834 * soft-fp/sqrtdf2.c: Likewise.
30835 * soft-fp/sqrtsf2.c: Likewise.
30836 * soft-fp/sqrttf2.c: Likewise.
30837 * soft-fp/subdf3.c: Likewise.
30838 * soft-fp/subsf3.c: Likewise.
30839 * soft-fp/subtf3.c: Likewise.
30840 * soft-fp/truncdfsf2.c: Likewise.
30841 * soft-fp/trunctfdf2.c: Likewise.
30842 * soft-fp/trunctfsf2.c: Likewise.
30843 * soft-fp/trunctfxf2.c: Likewise.
30844 * soft-fp/unorddf2.c: Likewise.
30845 * soft-fp/unordsf2.c: Likewise.
30846 * soft-fp/unordtf2.c: Likewise.
30847
30848 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30849
30850 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30851 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30852
30853 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30854
30855 * elf/dl-libc.c: Clear initfini list after freeing.
30856
30857 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30858
30859 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30860 * soft-fp/addsf3.c: Likewise.
30861 * soft-fp/addtf3.c: Likewise.
30862 * soft-fp/divdf3.c: Likewise.
30863 * soft-fp/divsf3.c: Likewise.
30864 * soft-fp/divtf3.c: Likewise.
30865 * soft-fp/double.h: Likewise.
30866 * soft-fp/eqdf2.c: Likewise.
30867 * soft-fp/eqsf2.c: Likewise.
30868 * soft-fp/eqtf2.c: Likewise.
30869 * soft-fp/extenddftf2.c: Likewise.
30870 * soft-fp/extended.h: Likewise.
30871 * soft-fp/extendsfdf2.c: Likewise.
30872 * soft-fp/extendsftf2.c: Likewise.
30873 * soft-fp/extendxftf2.c: Likewise.
30874 * soft-fp/fixdfdi.c: Likewise.
30875 * soft-fp/fixdfsi.c: Likewise.
30876 * soft-fp/fixdfti.c: Likewise.
30877 * soft-fp/fixsfdi.c: Likewise.
30878 * soft-fp/fixsfsi.c: Likewise.
30879 * soft-fp/fixsfti.c: Likewise.
30880 * soft-fp/fixtfdi.c: Likewise.
30881 * soft-fp/fixtfsi.c: Likewise.
30882 * soft-fp/fixtfti.c: Likewise.
30883 * soft-fp/fixunsdfdi.c: Likewise.
30884 * soft-fp/fixunsdfsi.c: Likewise.
30885 * soft-fp/fixunsdfti.c: Likewise.
30886 * soft-fp/fixunssfdi.c: Likewise.
30887 * soft-fp/fixunssfsi.c: Likewise.
30888 * soft-fp/fixunssfti.c: Likewise.
30889 * soft-fp/fixunstfdi.c: Likewise.
30890 * soft-fp/fixunstfsi.c: Likewise.
30891 * soft-fp/fixunstfti.c: Likewise.
30892 * soft-fp/floatdidf.c: Likewise.
30893 * soft-fp/floatdisf.c: Likewise.
30894 * soft-fp/floatditf.c: Likewise.
30895 * soft-fp/floatsidf.c: Likewise.
30896 * soft-fp/floatsisf.c: Likewise.
30897 * soft-fp/floatsitf.c: Likewise.
30898 * soft-fp/floattidf.c: Likewise.
30899 * soft-fp/floattisf.c: Likewise.
30900 * soft-fp/floattitf.c: Likewise.
30901 * soft-fp/floatundidf.c: Likewise.
30902 * soft-fp/floatundisf.c: Likewise.
30903 * soft-fp/floatunsidf.c: Likewise.
30904 * soft-fp/floatunsisf.c: Likewise.
30905 * soft-fp/floatuntidf.c: Likewise.
30906 * soft-fp/floatuntisf.c: Likewise.
30907 * soft-fp/floatuntitf.c: Likewise.
30908 * soft-fp/fmadf4.c: Likewise.
30909 * soft-fp/fmasf4.c: Likewise.
30910 * soft-fp/fmatf4.c: Likewise.
30911 * soft-fp/gedf2.c: Likewise.
30912 * soft-fp/gesf2.c: Likewise.
30913 * soft-fp/getf2.c: Likewise.
30914 * soft-fp/ledf2.c: Likewise.
30915 * soft-fp/lesf2.c: Likewise.
30916 * soft-fp/letf2.c: Likewise.
30917 * soft-fp/muldf3.c: Likewise.
30918 * soft-fp/mulsf3.c: Likewise.
30919 * soft-fp/multf3.c: Likewise.
30920 * soft-fp/negdf2.c: Likewise.
30921 * soft-fp/negsf2.c: Likewise.
30922 * soft-fp/negtf2.c: Likewise.
30923 * soft-fp/op-1.h: Likewise.
30924 * soft-fp/op-2.h: Likewise.
30925 * soft-fp/op-4.h: Likewise.
30926 * soft-fp/op-8.h: Likewise.
30927 * soft-fp/op-common.h: Likewise.
30928 * soft-fp/quad.h: Likewise.
30929 * soft-fp/single.h: Likewise.
30930 * soft-fp/soft-fp.h: Likewise.
30931 * soft-fp/sqrtdf2.c: Likewise.
30932 * soft-fp/sqrtsf2.c: Likewise.
30933 * soft-fp/sqrttf2.c: Likewise.
30934 * soft-fp/subdf3.c: Likewise.
30935 * soft-fp/subsf3.c: Likewise.
30936 * soft-fp/subtf3.c: Likewise.
30937 * soft-fp/truncdfsf2.c: Likewise.
30938 * soft-fp/trunctfdf2.c: Likewise.
30939 * soft-fp/trunctfsf2.c: Likewise.
30940 * soft-fp/trunctfxf2.c: Likewise.
30941 * soft-fp/unorddf2.c: Likewise.
30942 * soft-fp/unordsf2.c: Likewise.
30943 * soft-fp/unordtf2.c: Likewise.
30944
30945 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30946
30947 [BZ #15672]
30948 * misc/error.c (error_tail): Fix possible buffer overflow.
30949
30950 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30951
30952 [BZ #13028]
30953 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30954 address.
30955
30956 2013-10-14 P. J. McDermott <pj@pehjota.net>
30957
30958 [BZ #832]
30959 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30960 testing pipefail option.
30961
30962 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30963
30964 * soft-fp/double.h: Indent preprocessor directives inside #if.
30965 * soft-fp/extended.h: Likewise.
30966 * soft-fp/op-2.h: Likewise.
30967 * soft-fp/op-4.h: Likewise.
30968 * soft-fp/op-common.h: Likewise.
30969 * soft-fp/quad.h: Likewise.
30970 * soft-fp/single.h: Likewise.
30971 * soft-fp/soft-fp.h: Likewise.
30972
30973 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30974
30975 * iconv/iconv_prog.c: Fix typos.
30976 * stdio-common/psiginfo-data.h: Likewise.
30977
30978 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30979
30980 [BZ #15764]
30981 * locale/setlocale.c: Fix typo.
30982
30983 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30984
30985 [BZ #16036]
30986 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30987 signaling NaN arguments.
30988 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30989 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30990
30991 [BZ #14910]
30992 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30993 unordered operands.
30994 * soft-fp/gesf2.c (__gesf2): Likewise.
30995 * soft-fp/getf2.c (__getf2): Likewise.
30996 * soft-fp/ledf2.c (__ledf2): Likewise.
30997 * soft-fp/lesf2.c (__lesf2): Likewise.
30998 * soft-fp/letf2.c (__letf2): Likewise.
30999
31000 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31001 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31002 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31003 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31004 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31005 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31006 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31007 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31008 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31009 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31010 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31011 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31012 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31013 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31014 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31015 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31016 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31017 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31018 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31019 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31020 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31021 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31022 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31023 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31024 * soft-fp/floattidf.c (__floattidf): Likewise.
31025 * soft-fp/floattisf.c (__floattisf): Likewise.
31026 * soft-fp/floattitf.c (__floattitf): Likewise.
31027 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31028 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31029 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31030 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31031 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31032 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31033 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31034 * soft-fp/gesf2.c (__gesf2): Likewise.
31035 * soft-fp/getf2.c (__getf2): Likewise.
31036 * soft-fp/ledf2.c (__ledf2): Likewise.
31037 * soft-fp/lesf2.c (__lesf2): Likewise.
31038 * soft-fp/letf2.c (__letf2): Likewise.
31039
31040 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31041 Undefine and redefine.
31042 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31043 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31044 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31045 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31046 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31047 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31048 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31049 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31050 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31051 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31052 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31053 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31054 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31055 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31056 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31057
31058 [BZ #16032]
31059 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31060 without decrementing exponent if mantissa >= that for the
31061 denominator, not >.
31062 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31063 denominator, not >. Decrement exponent in < case instead of
31064 incrementing in >= case.
31065 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31066 without decrementing exponent if mantissa >= that for the
31067 denominator, not >.
31068
31069 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31070 computing saturated result for unsigned overflow.
31071
31072 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31073 Jeff Law <law@redhat.com>
31074
31075 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31076 (atan2Mp): Add systemtap probe marker.
31077 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31078 (__ieee754_log): Add systemtap probe marker.
31079 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31080 (atanMp): Add systemtap probe marker.
31081 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31082 (tanMp): Add systemtap probe marker.
31083 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31084 (__slowexp): Add systemtap probe marker.
31085 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31086 (__slowpow): Add systemtap probe marker.
31087 * manual/probes.texi: Document probes.
31088
31089 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31090
31091 [BZ #15362]
31092 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31093 written.
31094 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31095 written.
31096 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31097 written to buffer but not flushed.
31098 * libio/iofwrite_u.c: Likewise.
31099 * libio/iopadn.c: Return bytes returned even if EOF was
31100 encountered.
31101 * libio/iowpadn.c: Likewise.
31102 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31103 if _IO_padn does not write the whole buffer.
31104 [!COMPILE_WPRINTF] (PAD): Likewise.
31105
31106 2013-10-10 David S. Miller <davem@davemloft.net>
31107
31108 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31109 directory block.
31110
31111 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31112
31113 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31114 instead of FSF address.
31115 * soft-fp/fixdfti.c: Likewise.
31116 * soft-fp/fixsfti.c: Likewise.
31117 * soft-fp/fixtfti.c: Likewise.
31118 * soft-fp/fixunsdfti.c: Likewise.
31119 * soft-fp/fixunssfti.c: Likewise.
31120 * soft-fp/fixunstfti.c: Likewise.
31121 * soft-fp/floattidf.c: Likewise.
31122 * soft-fp/floattisf.c: Likewise.
31123 * soft-fp/floattitf.c: Likewise.
31124 * soft-fp/floatuntidf.c: Likewise.
31125 * soft-fp/floatuntisf.c: Likewise.
31126 * soft-fp/floatuntitf.c: Likewise.
31127 * soft-fp/trunctfxf2.c: Likewise.
31128
31129 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31130 * soft-fp/fixdfti.c: Likewise.
31131 * soft-fp/fixsfti.c: Likewise.
31132 * soft-fp/fixtfti.c: Likewise.
31133 * soft-fp/fixunsdfti.c: Likewise.
31134 * soft-fp/fixunssfti.c: Likewise.
31135 * soft-fp/fixunstfti.c: Likewise.
31136 * soft-fp/floattidf.c: Likewise.
31137 * soft-fp/floattisf.c: Likewise.
31138 * soft-fp/floattitf.c: Likewise.
31139 * soft-fp/floatuntidf.c: Likewise.
31140 * soft-fp/floatuntisf.c: Likewise.
31141 * soft-fp/floatuntitf.c: Likewise.
31142 * soft-fp/trunctfxf2.c: Likewise.
31143
31144 2013-10-10 David S. Miller <davem@davemloft.net>
31145
31146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31147
31148 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31149
31150 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31151 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31152 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31153 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31154 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31155 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31156 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31157
31158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31159 for NaNs before doing comparisons on argument.
31160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31161 Likewise.
31162
31163 2013-10-10 Will Newton <will.newton@linaro.org>
31164
31165 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31166 passed to _int_memalign does not overflow.
31167
31168 2013-10-10 Torvald Riegel <triegel@redhat.com>
31169
31170 * scripts/bench.pl: Add include-sources directive.
31171 * benchtests/README: Update documentation.
31172
31173 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31174
31175 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31176 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31177 instead of FP_INIT_ROUNDMODE.
31178 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31179 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31180
31181 [BZ #16034]
31182 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31183 copy class of input value.
31184 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31185 not handle exceptions.
31186 * soft-fp/negsf2.c (__negsf2): Likewise.
31187 * soft-fp/negtf2.c (__negtf2): Likewise.
31188 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31189
31190 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31191
31192 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31193 semicolon. From Linux kernel.
31194
31195 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31196
31197 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31198
31199 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31200
31201 [BZ #156]
31202 * manual/socket.texi: Added statement about buffer
31203 for gethostbyname2_r.
31204
31205 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31206
31207 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31208 Use .p2align directive instead, throughout.
31209 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31210 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31211 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31214 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31215 * sysdeps/x86_64/strchr.S: Likewise.
31216 * sysdeps/x86_64/strrchr.S: Likewise.
31217
31218 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31219
31220 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31221
31222 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31223
31224 * sysdeps/generic/math_private.h (__mpsin1): Remove
31225 declaration.
31226 (__mpcos1): Likewise.
31227 (__mpsin): New argument __range_reduce.
31228 (__mpcos): Likewise.
31229 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31230 (slow): Use __mpsin and __mpcos.
31231 (slow1): Likewise.
31232 (slow2): Likewise.
31233 (sloww): Likewise.
31234 (sloww1): Likewise.
31235 (sloww2): Likewise.
31236 (bsloww): Likewise.
31237 (bsloww1): Likewise.
31238 (bsloww2): Likewise.
31239 (cslow2): Likewise.
31240 (csloww): Likewise.
31241 (csloww1): Likewise.
31242 (csloww2): Likewise.
31243 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31244 range_reduce. Merge in __mpsin1.
31245 (__mpcos): Likewise.
31246 (__mpsin1): Remove.
31247 (__mpcos1): Likewise.
31248
31249 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31250
31251 * locale/loadlocale.c (_nl_intern_locale_data): Use
31252 LOCFILE_ALIGNED_P.
31253 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31254 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31255 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31256 obstack data is appropriately aligned.
31257 (obstack_int32_grow_fast): Likewise.
31258 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31259 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31260 (add_locale_uint32_array): Likewise.
31261
31262 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31263
31264 * benchtests/Makefile: Remove ARGLIST and RET variables.
31265 ($(objpfx)bench-%.c): Pass only function name to the script.
31266 * benchtests/README: Update documentation.
31267 * benchtests/acos-inputs: Add new directives.
31268 * benchtests/acosh-inputs: Likewise.
31269 * benchtests/asin-inputs: Likewise.
31270 * benchtests/asinh-inputs: Likewise.
31271 * benchtests/atan-inputs: Likewise.
31272 * benchtests/atanh-inputs: Likewise.
31273 * benchtests/cos-inputs: Likewise.
31274 * benchtests/cosh-inputs: Likewise.
31275 * benchtests/exp-inputs: Likewise.
31276 * benchtests/log-inputs: Likewise.
31277 * benchtests/pow-inputs: Likewise.
31278 * benchtests/rint-inputs: Likewise.
31279 * benchtests/sin-inputs: Likewise.
31280 * benchtests/sinh-inputs: Likewise.
31281 * benchtests/tan-inputs: Likewise.
31282 * benchtests/tanh-inputs: Likewise.
31283 * scripts/bench.pl: Add support for new directives.
31284
31285 2013-10-07 Alan Modra <amodra@gmail.com>
31286
31287 * README: Fix careless merge.
31288
31289 2013-10-05 Alan Modra <amodra@gmail.com>
31290
31291 * NEWS: Mention powerpc64le support and bugs fixed.
31292 * README: Both big-endian and little-endian powerpc64 supported.
31293
31294 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31295
31296 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31297 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31298 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31299 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31300
31301 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31302
31303 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31304 match prototype.
31305
31306 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31307
31308 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31309 Move -mhard-float appending from
31310 ports/sysdeps/powerpc/powerpc32/Makefile.
31311 [$(with-fp) = yes] (ASFLAGS): Likewise.
31312 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31313 * sysdeps/powerpc/nofpu: Move directory from
31314 ports/sysdeps/powerpc/nofpu.
31315 * sysdeps/powerpc/soft-fp: Move directory from
31316 ports/sysdeps/powerpc/soft-fp.
31317 * sysdeps/powerpc/powerpc32/405: Move directory from
31318 ports/sysdeps/powerpc/powerpc32/405.
31319 * sysdeps/powerpc/powerpc32/440: Move directory from
31320 ports/sysdeps/powerpc/powerpc32/440.
31321 * sysdeps/powerpc/powerpc32/464: Move directory from
31322 ports/sysdeps/powerpc/powerpc32/464.
31323 * sysdeps/powerpc/powerpc32/476: Move directory from
31324 ports/sysdeps/powerpc/powerpc32/476.
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31326 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31328 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31330 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31332 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31334 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31335 * README: Update for powerpc-*-linux-gnu software floating point
31336 support in libc.
31337
31338 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31339 case to powerpc/powerpc32*.
31340 * sysdeps/unix/sysv/linux/configure: Regenerated.
31341
31342 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31343 (_FPU_MASK_OM): Define as 0x04.
31344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31346 0x00c10080.
31347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31348 0x0000003c.
31349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31350
31351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31353 getcontext_e500.
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31355 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31356 setcontext_e500.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31358 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31359 and setcontext_e500.
31360
31361 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31362
31363 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31364
31365 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31366
31367 * manual/threads.texi (Default Thread Attributes): Fix typo.
31368
31369 2013-10-04 Will Newton <will.newton@linaro.org>
31370
31371 * malloc/Makefile: Add tst-memalign.
31372 * malloc/tst-memalign.c: New file.
31373
31374 * malloc/tst-posix_memalign.c: Add comments.
31375 (do_test): Add comments and call free on all potentially
31376 allocated pointers. Add space after cast.
31377
31378 * malloc/tst-pvalloc.c: Add comments.
31379 (do_test): Add comments and call free on all potentially
31380 allocated pointers. Remove duplicate check for NULL pointer.
31381 Add space after cast.
31382
31383 * malloc/tst-valloc.c: Add comments.
31384 (do_test): Add comments and call free on all potentially
31385 allocated pointers. Remove duplicate check for NULL pointer.
31386 Add space after cast.
31387
31388 2013-10-04 Alan Modra <amodra@gmail.com>
31389
31390 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31391 Use stdint types in rather than __attribute__((mode())).
31392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31393
31394 2013-10-04 Alan Modra <amodra@gmail.com>
31395
31396 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31397 Correct handling of unaligned relocs for little-endian.
31398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31399
31400 2013-10-04 Alan Modra <amodra@gmail.com>
31401
31402 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31403 * configure: Regenerate.
31404 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31405 * shlib-versions: Likewise.
31406
31407 2013-10-04 Alan Modra <amodra@gmail.com>
31408
31409 * string/tester.c (test_memrchr): Increment reported test cycle.
31410
31411 2013-10-04 Alan Modra <amodra@gmail.com>
31412
31413 * string/test-memcpy.c (do_one_test): When reporting errors, print
31414 string address and don't overrun end of string.
31415
31416 2013-10-04 Alan Modra <amodra@gmail.com>
31417
31418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31419 insrdi. Make better use of reg selection to speed exit slightly.
31420 Schedule entry path a little better. Remove useless "are we done"
31421 checks on entry to main loop. Handle wrapping around zero address.
31422 Correct main loop count. Handle single left-over word from main
31423 loop inline rather than by using loop_small. Remove extra word
31424 case in loop_small caused by wrong loop count. Add little-endian
31425 support.
31426 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31428 cache hint.
31429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31430 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31431 support. Avoid rlwimi.
31432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31433
31434 2013-10-04 Alan Modra <amodra@gmail.com>
31435
31436 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31437 insrdi. Formatting.
31438 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31439 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31440 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31441 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31442 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31443 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31444
31445 2013-10-04 Alan Modra <amodra@gmail.com>
31446
31447 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31450 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31451 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31453 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31455 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31456 use of regs. Use power7 mtocrf. Tidy function tails.
31457
31458 2013-10-04 Alan Modra <amodra@gmail.com>
31459
31460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31461 Formatting. Consistently use rXXX register defines or rN defines.
31462 Use early exit labels that avoid restoring unused non-volatile regs.
31463 Make cr field use more consistent with rWORDn compares. Rename
31464 regs used as shift registers for unaligned loop, using rN defines
31465 for short lifetime/multiple use regs.
31466 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31468 addi 1,1,64 to pop stack frame. Simplify return value code.
31469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31470
31471 2013-10-04 Alan Modra <amodra@gmail.com>
31472
31473 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31474 support. Correct typos, formatting. Optimize tail. Use insrdi
31475 rather than rlwimi.
31476 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31477 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31478 little-endian support. Correct typos.
31479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31480 rather than rlwimi.
31481 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31482 in loop and entry code to keep "and." results.
31483 (strchr): Add little-endian support. Comment. Move cntlzd
31484 earlier in tail.
31485 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31486
31487 2013-10-04 Alan Modra <amodra@gmail.com>
31488
31489 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31490 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31491 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31492 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31493
31494 2013-10-04 Alan Modra <amodra@gmail.com>
31495
31496 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31497 (rTMP): Define as r11.
31498 (strcmp): Add little-endian support. Optimise tail.
31499 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31500 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31501 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31502 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31506
31507 2013-10-04 Alan Modra <amodra@gmail.com>
31508
31509 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31510 little-endian support. Remove unnecessary "are we done" tests.
31511 Handle "s" wrapping around zero and extremely large "size".
31512 Correct main loop count. Handle single left-over word from main
31513 loop inline rather than by using small_loop. Correct comments.
31514 Delete "zero" tail, use "end_max" instead.
31515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31516
31517 2013-10-04 Alan Modra <amodra@gmail.com>
31518
31519 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31520 support. Don't branch over align.
31521 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31522 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31523 support. Rearrange tmp reg use to suit. Comment.
31524 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31525
31526 2013-10-04 Alan Modra <amodra@gmail.com>
31527
31528 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31529
31530 2013-10-04 Alan Modra <amodra@gmail.com>
31531
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31533 conditional form of branch and link when obtaining pc.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31535
31536 2013-10-04 Alan Modra <amodra@gmail.com>
31537
31538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31539 HIWORD/LOWORD.
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31542
31543 2013-10-04 Alan Modra <amodra@gmail.com>
31544
31545 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31546 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31547 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31548 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31549 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31550 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31551 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31552 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31553 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31554 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31555
31556 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31557 Alistair Popple <alistair@ozlabs.au.ibm.com>
31558 Alan Modra <amodra@gmail.com>
31559
31560 [BZ #15723]
31561 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31562 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31563 _dl_hwcap access for little-endian.
31564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31565 destroy vmx regs when saving unaligned.
31566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31568 destroy vmx regs when saving unaligned.
31569
31570 2013-10-04 Alan Modra <amodra@gmail.com>
31571
31572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31573 Don't use a union to pack hi/low value.
31574
31575 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31576
31577 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31578 for little-endian.
31579 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31581 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31582 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31583 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31584
31585 2013-10-04 Alan Modra <amodra@gmail.com>
31586
31587 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31588 constants to usual value for .cst8 section, and remove redundant
31589 high address load.
31590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31591 constant for 0x1p52. Load little-endian words of double from
31592 correct stack offsets.
31593
31594 2013-10-04 Alan Modra <amodra@gmail.com>
31595
31596 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31597 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31598 words of double from correct stack offsets.
31599 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31600 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31601 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31602 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31606 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31607 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31611 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31612 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31613 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31614 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31615 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31616
31617 2013-10-04 Alan Modra <amodra@gmail.com>
31618
31619 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31620 64-bit int/double union.
31621 (_FPU_SETCW): Likewise.
31622 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31623 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31624
31625 2013-10-04 Alan Modra <amodra@gmail.com>
31626
31627 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31628 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31629
31630 2013-10-04 Alan Modra <amodra@gmail.com>
31631
31632 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31633 use vector int constants.
31634 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31635
31636 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31637
31638 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31639 array with long long.
31640 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31641 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31642 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31643 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31644 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31645 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31646 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31647 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31648 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31649 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31650 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31651 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31652 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31653
31654 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31655
31656 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31657 (__signbit): Likewise. Correct for little-endian.
31658 (__signbitl): Call __signbit.
31659 (lrint): Correct for little-endian.
31660 (lrintf): Call lrint.
31661
31662 2013-10-04 Alan Modra <amodra@gmail.com>
31663
31664 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31665 union 32-bit int array member with 64-bit int array.
31666 (t515, tm256): Double rather than long double.
31667 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31668
31669 2013-10-04 Alan Modra <amodra@gmail.com>
31670
31671 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31672 Delete.
31673 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31674 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31675 version of math_ldbl.h.
31676
31677 2013-10-04 Alan Modra <amodra@gmail.com>
31678
31679 [BZ #15734], [BZ #15735]
31680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31681 all uses of ieee875 long double macros and unions. Simplify test
31682 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31683 ldbl_extract_mantissa value for ix,iy exponents. Properly
31684 normalize after ldbl_extract_mantissa, and don't add hidden bit
31685 already handled. Don't treat low word of ieee854 mantissa like
31686 low word of IBM long double and mask off bit when testing for
31687 zero.
31688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31689 all uses of ieee875 long double macros and unions. Simplify tests
31690 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31691 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31692 two1022, instead use their values. Recognise that tests for large
31693 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31694 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31695 Rewrite all uses of ieee875 long double macros and unions. Simplify
31696 test for 0.0L and nan. Correct negation.
31697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31698 ieee875 long double macros and unions. Correct output for large
31699 magnitude x. Correct absolute value calculation.
31700 (__erfcl): Likewise.
31701 * math/libm-test.inc: Add tests for errors discovered in IBM long
31702 double versions of fmodl, remainderl, erfl and erfcl.
31703
31704 2013-10-04 Alan Modra <amodra@gmail.com>
31705
31706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31707 all uses of ieee854 long double macros and unions. Simplify tests
31708 for long doubles that are fully specified by the high double.
31709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31710 Likewise.
31711 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31712 Remove dead code too.
31713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31714 (__ieee754_ynl): Likewise.
31715 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31718 Remove dead code too.
31719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31720 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31721 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31722 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31723 Simplify.
31724 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31725 Simplify.
31726 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31729 Comment on variable precision.
31730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31732 Likewise.
31733 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31738
31739 2013-10-04 Alan Modra <amodra@gmail.com>
31740
31741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31742 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31743 all uses of ieee854 long double macros and unions.
31744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31748 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31749 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31750 Likewise.
31751 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31753 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31757 Simplify sign and nan test too.
31758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31759 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31760 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31762 Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31764 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31765 Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31768 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31769 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31772
31773 2013-10-04 Alan Modra <amodra@gmail.com>
31774
31775 * stdio-common/printf_size.c (__printf_size): Don't use
31776 union ieee854_long_double in fpnum union.
31777 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31778 signbit macro to retrieve sign from long double.
31779 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31780 retrieve sign from long double.
31781 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31782 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31783 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31784 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31785 * math/test-misc.c (main): Don't use union ieee854_long_double.
31786
31787 2013-10-04 Alan Modra <amodra@gmail.com>
31788
31789 [BZ #15680]
31790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31792 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31793 calculation. Remove unnecessary test for denormal exponent.
31794 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31795 Correct handling of denormals. Avoid undefined shift behaviour.
31796 Correct normalisation of low mantissa when low double is denormal.
31797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31798 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31799 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31800 Correct normalisation of low mantissa. Test for overflow of high
31801 mantissa and normalise.
31802 (ldbl_nearbyint): Use more readable constant for two52.
31803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31804 (__mpn_construct_long_double): Fix test for overflow of high
31805 mantissa and correct normalisation. Avoid undefined shift.
31806
31807 2013-10-04 Alan Modra <amodra@gmail.com>
31808
31809 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31810 (union ibm_extended_long_double): Define as an array of ieee754_double.
31811 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31813 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31814 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31818 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31820 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31821 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31822
31823 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31824
31825 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31826 page size instead of calling getpagesize.
31827
31828 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31829 (LOCFILE_ALIGN_MASK): Likewise.
31830 (LOCFILE_ALIGN_UP): Likewise.
31831 (LOCFILE_ALIGNED_P): Likewise.
31832 * locale/programs/ld-collate.c (collate_output): Use the new
31833 macros instead of __alignof__ (int32_t).
31834 * locale/weight.h (findidx): Likewise.
31835
31836 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31837
31838 [BZ #431]
31839 * manual/string.texi: Fix strncat and wcsncat.
31840
31841 2013-10-03 Brooks Moses <bmoses@google.com>
31842
31843 [BZ #15915]
31844 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31845 * Makerules: ...here, and adjust associated comments.
31846
31847 2013-10-02 Will Newton <will.newton@linaro.org>
31848
31849 * malloc/Makefile: Add tst-pvalloc.
31850 * malloc/tst-pvalloc.c: New file.
31851
31852 2013-10-02 Will Newton <will.newton@linaro.org>
31853
31854 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31855 improve test coverage.
31856
31857 2013-10-02 Will Newton <will.newton@linaro.org>
31858
31859 * malloc/Makefile: Add tst-posix_memalign.
31860 * malloc/tst-posix_memalign.c: New file.
31861
31862 2013-10-01 Eric Blake <eblake@redhat.com>
31863
31864 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31865 Use __THROWNL rather than __THROW on static functions.
31866
31867 2013-09-30 Petr Machata <pmachata@redhat.com>
31868
31869 * elf/elf.h (R_AARCH64_ABS16): New macro.
31870 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31871 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31872 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31873 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31874 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31875 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31876 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31877 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31878 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31879 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31880 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31881 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31882 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31883 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31884 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31885 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31886 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31887 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31888 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31889 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31890 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31891 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31892 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31893 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31894 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31895 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31896 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31897 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31898 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31899 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31900 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31901 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31902 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31903 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31904 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31905 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31906 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31907 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31908 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31909 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31910 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31911 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31912 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31913 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31914 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31915 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31916 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31917 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31918 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31919 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31920 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31921 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31922 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31923 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31924 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31925 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31926 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31927 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31928 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31929 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31930 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31931 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31932 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31933 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31934 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31935 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31936 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31937 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31938 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31939 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31940 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31941 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31942 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31943 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31944 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31945 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31946 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31947 (R_AARCH64_TLSDESC_LDR): Likewise.
31948 (R_AARCH64_TLSDESC_ADD): Likewise.
31949 (R_AARCH64_TLSDESC_CALL): Likewise.
31950
31951 2013-09-30 Andreas Schwab <schwab@suse.de>
31952
31953 [BZ #15048]
31954 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31955 the nss database lookup.
31956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31958
31959 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31960
31961 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31962
31963 2013-09-28 P. J. McDermott <pj@pehjota.net>
31964
31965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31966 ${Bash-specific parameter/pattern/string} parameter expansion.
31967 * sysdeps/unix/make-syscalls.sh: Likewise.
31968
31969 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31970
31971 * sysdeps/sh/stackguard-macros.h: New file.
31972
31973 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31974
31975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31977 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31979 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31980 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31981
31982 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31983
31984 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31985 Fix thread ID register.
31986
31987 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31988
31989 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31990 [POSIX || UNIX98]: Require rather than permitting all symbols from
31991 <time.h>.
31992 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31993 element of struct sched_param.
31994 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31995 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31996 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31997 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31998 constant.
31999
32000 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32001
32002 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32003 argument calculation.
32004
32005 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32006
32007 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32008 Expect macro.
32009 [POSIX] (pthread_attr_t): Do not require type.
32010 [POSIX] (pthread_cond_t): Likewise.
32011 [POSIX] (pthread_condattr_t): Likewise.
32012 [POSIX] (pthread_key_t): Likewise.
32013 [POSIX] (pthread_mutex_t): Likewise.
32014 [POSIX] (pthread_mutexattr_t): Likewise.
32015 [POSIX] (pthread_once_t): Likewise.
32016 [POSIX] (pthread_t): Likewise.
32017 [POSIX-based standards] (pthread_atfork): Expect function.
32018
32019 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32020 Richard Sandiford <richard@codesourcery.com>
32021
32022 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32023 (swap_endianness_p): New extern variable.
32024 (set_big_endian): New inline function.
32025 (maybe_swap_uint32): Likewise.
32026 (maybe_swap_uint32_array): Likewise.
32027 (maybe_swap_uint32_obstack): Likewise.
32028 * locale/programs/locfile.c: Include <stdbool.h>.
32029 (swap_endianness_p): New variable.
32030 (add_locale_uint32): Call maybe_swap_uint32.
32031 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32032 (write_locale_data): Call maybe_swap_uint32_array.
32033 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32034 maybe_swap_uint32.
32035 (obstack_int32_grow_fast): Likewise.
32036 (output_weightwc): Call maybe_swap_uint32_obstack.
32037 (collate_output): Likewise.
32038 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32039 (OPT_LITTLE_ENDIAN): Likewise.
32040 (options): Add --little-endian and --big-endian options.
32041 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32042 * locale/programs/locarchive.c: Include "locfile.h".
32043 (GET): New macro.
32044 (SET): Likewise.
32045 (INC): Likewise.
32046 (create_archive): Use the new macros to access fields of
32047 structures directly mapped from or written to locale archives.
32048 (oldlocrecentcmp): Likewise.
32049 (enlarge_archive): Likewise.
32050 (insert_name): Likewise.
32051 (add_alias): Likewise.
32052 (add_locale): Likewise.
32053 (delete_locales_from_archive): Likewise.
32054 (show_archive_content): Likewise.
32055 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32056 locale data.
32057
32058 2013-09-24 Roland McGrath <roland@hack.frob.com>
32059
32060 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32061 http://www.gnu.org/doc/freemanuals.texi.
32062 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32063
32064 2013-09-24 Will Newton <will.newton@linaro.org>
32065
32066 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32067 macro.
32068
32069 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32070
32071 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32072 unsigned char.
32073
32074 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32075
32076 * manual/threads.texi (POSIX Threads): Fix a typo.
32077
32078 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32079
32080 [BZ #14547]
32081 * string/tst-strcoll-overflow.c: New test case.
32082 * string/Makefile (xtests): Add tst-strcoll-overflow.
32083 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32084 cache if string sizes may cause integer overflow.
32085
32086 [BZ #14547]
32087 * string/strcoll_l.c (coll_seq): New members rule, idx,
32088 save_idx and back_us.
32089 (get_next_seq_nocache): New function.
32090 (do_compare_nocache): New function.
32091 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32092 when malloc fails.
32093
32094 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32095
32096 [BZ #15754]
32097 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32098 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32099 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32100
32101 [BZ #15754]
32102 * elf/Makefile (tests): Add tst-ptrguard1.
32103 (tests-static): Add tst-ptrguard1-static.
32104 (tst-ptrguard1-ARGS): Define.
32105 (tst-ptrguard1-static-ARGS): Define.
32106 * elf/tst-ptrguard1.c: New file.
32107 * elf/tst-ptrguard1-static.c: New file.
32108 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32109 * sysdeps/i386/stackguard-macros.h: Likewise.
32110 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32111 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32112 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32113 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32114 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32115 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32116
32117 2013-09-23 Hector Marco <hecmargi@upv.es>
32118 Ismael Ripoll <iripoll@disca.upv.es>
32119 Carlos O'Donell <carlos@redhat.com>
32120
32121 [BZ #15754]
32122 * sysdeps/generic/stackguard-macros.h: Define
32123 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32124 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32125 Define __pointer_chk_guard_local.
32126 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32127 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32128
32129 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32130
32131 [BZ #15859]
32132 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32133
32134 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32135
32136 * include/string.h (__ffs): Declare as hidden.
32137 * string/ffs.c (__ffs): Define as hidden.
32138 * sysdeps/i386/ffs.c (__ffs): Likewise.
32139 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32140 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32141 * sysdeps/s390/ffs.c (__ffs): Likewise.
32142 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32143
32144 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32145
32146 * NEWS: Mention malloc probes.
32147
32148 * malloc/arena.c (new_heap): New memory_heap_new probe.
32149 (grow_heap): New memory_heap_more probe.
32150 (shrink_heap): New memory_heap_less probe.
32151 (heap_trim): New memory_heap_free probe.
32152 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32153 (systrim): New memory_sbrk_less probe.
32154 * manual/probes.texi: Document them.
32155
32156 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32157 * manual/probes.texi: Document it.
32158
32159 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32160 (__libc_realloc): Add memory_realloc_retry probe.
32161 (__libc_memalign): Add memory_memalign_retry probe.
32162 (__libc_valloc): Add memory_valloc_retry probe.
32163 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32164 (__libc_calloc): Add memory_calloc_retry probe.
32165 * manual/probes.texi: Document them.
32166
32167 * malloc/arena.c (get_free_list): Add probe
32168 memory_arena_reuse_free_list.
32169 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32170 and memory_arena_reuse.
32171 (arena_get2) [!PER_THREAD]: Likewise.
32172 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32173 memory_arena_reuse_realloc.
32174 * manual/probes.texi: Document them.
32175
32176 * malloc/malloc.c (__libc_free): Add
32177 memory_mallopt_free_dyn_thresholds probe.
32178 (__libc_mallopt): Add multiple memory_mallopt probes.
32179 * manual/probes.texi: Document them.
32180
32181 * malloc/malloc.c: Include stap-probe.h.
32182 (__libc_mallopt): Add memory_mallopt probe.
32183 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32184 * manual/probes.texi: New.
32185 * manual/Makefile (chapters): Add probes.
32186 * manual/threads.texi: Set next node.
32187
32188 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32189
32190 [BZ #15963, #13985]
32191 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32192 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32193 Add `Chinese' to `nan' entry name.
32194
32195 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32196
32197 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32198 (POLYNOMIAL): Likewise.
32199 (TAYLOR_SINCOS): Likewise.
32200 (TAYLOR_SLOW): Likewise.
32201 (__sin): Use TAYLOR_SINCOS.
32202 (__cos): Likewise.
32203 (slow): Use TAYLOR_SLOW.
32204 (sloww): Likewise.
32205 (bsloww): Likewise.
32206 (csloww): Likewise.
32207
32208 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32209
32210 * stdlib/strtod_l.c: Fix buffer overrun.
32211
32212 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32213
32214 * benchtests/Makefile (bench): Add sincos.
32215 * benchtests/bench-sincos.c: New file.
32216
32217 * math/libm-test.inc (cos_test_data): New test inputs.
32218 (sin_test_data): Likewise.
32219
32220 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32221 macro.
32222 (__sin): Use it.
32223 (__cos): Likewise.
32224 (slow1): Likewise.
32225 (slow2): Likewise.
32226 (sloww1): Likewise.
32227 (sloww2): Likewise.
32228 (bsloww1): Likewise.
32229 (bsloww2): Likewise.
32230 (cslow2): Likewise.
32231 (csloww1): Likewise.
32232 (csloww2): Likewise.
32233
32234 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32235 function.
32236 (__sin): Use it.
32237 (__cos): Likewise.
32238
32239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32240 gotos.
32241 (__cos): Likewise.
32242
32243 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32244
32245 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32246 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32247 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32248 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32249 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32250 * elf/cache.c (print_entry): Handle the new cache flags.
32251
32252 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32253 Aldy Hernandez <aldyh@redhat.com>
32254
32255 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32256 Change condition to [_SOFT_FLOAT].
32257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32269 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32272 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32273 declaration.
32274
32275 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32276
32277 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32278 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32279 (__longjmp): Use LOAD_GP to load saved GPRs.
32280 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32281 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32282 (__sigsetjmp): Use SAVE_GP to save GPRs.
32283
32284 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32285 Do not append -msoft-float.
32286 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32287
32288 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32289
32290 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32291
32292 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32293
32294 [BZ #15966]
32295 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32296 (_FPU_GETCW): Use initial "__" on variable and field names but not
32297 on macro parameter name.
32298 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32299 parentheses around reference to macro parameter.
32300
32301 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32302
32303 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32304 prototype.
32305 (ctype_startup): Use uint32_t in cast and sizeof for
32306 ctype->charnames.
32307
32308 2013-09-11 Jia Liu <proljc@gmail.com>
32309
32310 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32311 __daddr_t_defined.
32312 [__FreeBSD__]: Likewise.
32313
32314 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32315
32316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32317 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32318 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32319 (strchr): Remove __strchr_sse42 ifunc selection.
32320 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32321 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32322
32323 2013-09-11 Will Newton <will.newton@linaro.org>
32324
32325 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32326 parameter to RES. Remove hardcoded 1000 value.
32327 * benchtests/bench-skeleton.c (main): Pass RES parameter
32328 to TIMING_INIT and multiply result by 1000.
32329
32330 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32331
32332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32333
32334 2013-09-11 Andreas Schwab <schwab@suse.de>
32335
32336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32337 if not defined.
32338 (O_TMPFILE) [__USE_GNU]: Define.
32339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32340 Define.
32341
32342 2013-09-11 Will Newton <will.newton@linaro.org>
32343
32344 [BZ #15857]
32345 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32346 does not overflow.
32347
32348 2013-09-11 Will Newton <will.newton@linaro.org>
32349
32350 [BZ #15856]
32351 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32352 does not overflow.
32353
32354 2013-09-11 Will Newton <will.newton@linaro.org>
32355
32356 [BZ #15855]
32357 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32358 does not overflow.
32359
32360 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32361
32362 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32367
32368 2013-09-10 Allan McRae <allan@archlinux.org>
32369
32370 [BZ #15748]
32371 * manual/arith.texi (Parsing of Floats): Clarify
32372 cross-reference.
32373
32374 [BZ #15849]
32375 * manual/install.texi (Running make install): Mention
32376 --enable-pt-chown.
32377 * INSTALL: Regenerated.
32378
32379 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32380
32381 * csu/init-first.c (_init): Remove the !SHARED condition around
32382 FPU control word initialization.
32383 * elf/dl-support.c (_dl_fpu_control): New variable.
32384 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32385 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32386 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32387 * math/test-fpucw-static.c: New file.
32388 * math/test-fpucw-ieee.c: New file.
32389 * math/test-fpucw-ieee-static.c: New file.
32390 * math/Makefile (tests): Add `test-fpucw-ieee' and
32391 `$(tests-static)'.
32392 (tests-static): New variable.
32393 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32394 dependency to...
32395 [($(build-shared),yes)]
32396 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32397 ... this.
32398 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32399 New dependency.
32400
32401 2013-09-09 Allan McRae <allan@archlinux.org>
32402
32403 [BZ #15939]
32404 * manual/string.texi (Collation Functions): Fix typo in
32405 strcoll example.
32406 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32407
32408 [BZ #15893]
32409 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32410
32411 [BZ #15892]
32412 * libio/memstream.c (open_memstream): Fix memory leak.
32413 * libio/wmemstream.c (open_wmemstream): Likewise.
32414
32415 [BZ #15895]
32416 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32417
32418 2013-09-09 Will Newton <will.newton@linaro.org>
32419
32420 * malloc/Makefile: Add tst-realloc to tests.
32421 * malloc/tst-realloc.c: New file.
32422
32423 2013-09-09 Allan McRae <allan@archlinux.org>
32424
32425 [BZ #15844]
32426 * COPYING: Update from GNU website to fix FSF address.
32427 * COPYING.LIB: Likewise.
32428
32429 2013-09-06 David S. Miller <davem@davemloft.net>
32430
32431 * po/zh_TW.po: Update Chinese (traditional) translation from
32432 translation project.
32433
32434 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32435 Joseph Myers <joseph@codesourcery.com>
32436
32437 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32438 "localeinfo.h".
32439 (obstack_chunk_alloc): New macro.
32440 (obstack_chunk_free): Likewise.
32441 (record_offset): New function.
32442 (init_locale_data): Likewise.
32443 (align_locale_data): Likewise.
32444 (add_locale_empty): Likewise.
32445 (add_locale_raw_data): Likewise.
32446 (add_locale_raw_obstack): Likewise.
32447 (add_locale_string): Likewise.
32448 (add_locale_wstring): Likewise.
32449 (add_locale_uint32): Likewise.
32450 (add_locale_uint32_array): Likewise.
32451 (add_locale_char): Likewise.
32452 (start_locale_structure): Likewise.
32453 (end_locale_structure): Likewise.
32454 (start_locale_prelude): Likewise.
32455 (end_locale_prelude): Likewise.
32456 (write_locale_data): Take locale_file structure rather than an
32457 iovec.
32458 * locale/programs/locfile.h: Include "obstack.h".
32459 (struct locale_file): Change to store locale file contents instead
32460 of header.
32461 (init_locale_data): New prototype.
32462 (align_locale_data): Likewise.
32463 (add_locale_empty): Likewise.
32464 (add_locale_raw_data): Likewise.
32465 (add_locale_raw_obstack): Likewise.
32466 (add_locale_string): Likewise.
32467 (add_locale_wstring): Likewise.
32468 (add_locale_uint32): Likewise.
32469 (add_locale_uint32_array): Likewise.
32470 (add_locale_char): Likewise.
32471 (start_locale_structure): Likewise.
32472 (end_locale_structure): Likewise.
32473 (start_locale_prelude): Likewise.
32474 (end_locale_prelude): Likewise.
32475 (write_locale_data): Update prototype.
32476 * locale/programs/3level.h (struct TABLE): Remove result field.
32477 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32478 Use new locale_file interface.
32479 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32480 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32481 * locale/programs/ld-address.c (address_output): Use new
32482 locale_file interface.
32483 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32484 NO_ADD_LOCALE.
32485 (collate_finish): Don't call collseq_table_finalize.
32486 (collate_output): Use new locale_file interface.
32487 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32488 in file.
32489 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32490 (TABLE): Move defines earlier in file.
32491 (ELEMENT): Likewise.
32492 (DEFAULT): Likewise.
32493 (wctrans_table_add): Move macro and inline function earlier in
32494 file.
32495 (struct wctype_table): Move type earlier in file.
32496 (add_locale_wctype_table): New static prototype.
32497 (struct locale_ctype_t): Use logical types instead of struct iovec
32498 pointers for members.
32499 (ctype_output): Use new locale_file interface.
32500 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32501 new locale_file interface.
32502 (allocate_arrays): Update for use of new locale_file interface.
32503 * locale/programs/ld-identification.c (identification_output): Use
32504 new locale_file interface.
32505 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32506 * locale/programs/ld-messages.c (messages_output): Likewise.
32507 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32508 * locale/programs/ld-name.c (name_output): Likewise.
32509 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32510 * locale/programs/ld-paper.c (paper_output): Likewise.
32511 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32512 * locale/programs/ld-time.c (time_output): Likewise.
32513
32514 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32515
32516 * benchtests/Makefile: Add memrchr benchmark.
32517 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32518 benchmark as memrchr.
32519 * benchtests/bench-memrchr-ifunc.c: New file.
32520 * benchtests/bench-memrchr.c: New file.
32521
32522 2013-09-06 Will Newton <will.newton@linaro.org>
32523
32524 * benchtests/Makefile (string-bench): Add memcpy.
32525
32526 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32527 Cong Wang <amwang@redhat.com>
32528
32529 [BZ #15850]
32530 * sysdeps/unix/sysv/linux/bits/in.h
32531 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32532 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32533 before __USE_KERNEL_IPV6_DEFS uses.
32534 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32535 IPPROTO_BEETPH.
32536 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32537 sockaddr_in6, or ipv6_mreq.
32538
32539 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32540
32541 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32542 memory access for final bytes in some large inputs.
32543 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32544
32545 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32546
32547 * string/test-memrchr.c: New file.
32548 * string/test-memrchr-ifunc.c: New file.
32549 * string/Makefile: Add new memrchr testcase.
32550
32551 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32552
32553 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32554 fanotify_init returns EPERM.
32555
32556 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32557
32558 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32559 errors.
32560 (top level): Treat second token from macro or constant entries for
32561 allowed headers as allowed.
32562 * include/complex.h: Condition internal declarations on
32563 [!_ISOMAC].
32564 * include/fenv.h: Condition include of <stdbool.h> and internal
32565 declarations on [!_ISOMAC].
32566
32567 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32568
32569 [BZ #15923]
32570 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32571
32572 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32573
32574 * configure.in (--enable-versioning): Remove configure option.
32575 (libc_cv_asm_symver_directive): Remove configure test.
32576 (libc_cv_ld_version_script_option): Likewise.
32577 (VERSIONING): Remove variable and AC_SUBST.
32578 (DO_VERSIONING): Remove AC_DEFINE.
32579 * configure: Regenerated.
32580 * config.h.in (DO_VERSIONING): Remove macro.
32581 * Makerules [$(versioning) = yes]: Change conditionals to
32582 [$(build-shared) = yes].
32583 * config.make.in (versioning): Remove variable.
32584 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32585 [$(build-shared) = yes].
32586 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32587 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32588 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32589 [$(build-shared) = yes].
32590 * extra-lib.mk [$(versioning) = yes]: Likewise.
32591 * hurd/Makefile [$(versioning) = yes]: Likewise.
32592 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32593 [SHARED].
32594 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32595 [SHARED].
32596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32597 [SHARED && !NO_HIDDEN].
32598 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32599 [SHARED].
32600 [SHARED && DO_VERSIONING]: Likewise..
32601 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32602 [$(build-shared) = yes].
32603 * manual/install.texi (--disable-versioning): Remove
32604 documentation.
32605 * INSTALL: Regenerated.
32606 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32607 to [SHARED].
32608 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32609 [$(build-shared) = yes].
32610 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32611 * sysdeps/i386/i686/multiarch/strstr-c.c
32612 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32613 [SHARED && !NO_HIDDEN].
32614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32615 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32616 * sysdeps/powerpc/powerpc32/dl-machine.c
32617 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32618 * sysdeps/powerpc/powerpc32/sysdep.h
32619 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32620 to [SHARED && PIC && !NO_HIDDEN].
32621 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32622 conditional to [SHARED].
32623
32624 2013-09-04 Will Newton <will.newton@linaro.org>
32625
32626 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32627 * benchtests/bench-string.h: Include bench-timing.h instead
32628 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32629 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32630 call to HP_TIMING_DIFF_INIT.
32631 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32632 instead of hp-timing.h macros.
32633 * benchtests/bench-memchr.c: Likewise.
32634 * benchtests/bench-memcmp.c: Likewise.
32635 * benchtests/bench-memcpy.c: Likewise.
32636 * benchtests/bench-memmem.c: Likewise.
32637 * benchtests/bench-memmove.c: Likewise.
32638 * benchtests/bench-memset.c: Likewise.
32639 * benchtests/bench-rawmemchr.c: Likewise.
32640 * benchtests/bench-strcasecmp.c: Likewise.
32641 * benchtests/bench-strcasestr.c: Likewise.
32642 * benchtests/bench-strcat.c: Likewise.
32643 * benchtests/bench-strchr.c: Likewise.
32644 * benchtests/bench-strcmp.c: Likewise.
32645 * benchtests/bench-strcpy.c: Likewise.
32646 * benchtests/bench-strcpy_chk.c: Likewise.
32647 * benchtests/bench-strlen.c: Likewise.
32648 * benchtests/bench-strncasecmp.c: Likewise.
32649 * benchtests/bench-strncat.c: Likewise.
32650 * benchtests/bench-strncmp.c: Likewise.
32651 * benchtests/bench-strncpy.c: Likewise.
32652 * benchtests/bench-strnlen.c: Likewise.
32653 * benchtests/bench-strpbrk.c: Likewise.
32654 * benchtests/bench-strrchr.c: Likewise.
32655 * benchtests/bench-strspn.c: Likewise.
32656 * benchtests/bench-strstr.c: Likewise.
32657
32658 2013-09-04 Will Newton <will.newton@linaro.org>
32659
32660 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32661
32662 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32663
32664 [BZ #15427]
32665 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32666 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32667 * math/libm-test.inc (lgamma_test_data): Add more tests.
32668 * sysdeps/i386/fpu/libm-test-ulps: Update.
32669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32670
32671 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32672
32673 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32675 Add ifunc.
32676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32677 Add strcmp-sse2-unaligned
32678 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32679
32680 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32681
32682 * Versions.def (libc): Add GLIBC_2.19.
32683
32684 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32685
32686 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32688
32689 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32690
32691 [BZ #14155]
32692 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32693 intermediate calculations in recurrence.
32694 (__ieee754_ynf): Likewise.
32695 * math/libm-test.inc (jn_test_data): Do not allow spurious
32696 underflow exception. Add more tests.
32697 (yn_test_data): Add more tests.
32698 * sysdeps/i386/fpu/libm-test-ulps: Update.
32699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32700
32701 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32702
32703 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32704
32705 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32706
32707 * csu/init-first.c: Fix then/than typos.
32708 * locale/programs/ld-collate.c: Likewise.
32709 * locale/programs/linereader.h: Likewise.
32710 * manual/charset.texi: Likewise.
32711 * manual/filesys.texi: Likewise.
32712 * manual/stdio.texi: Likewise.
32713 * manual/string.texi: Likewise.
32714 * stdlib/fmtmsg.c: Likewise.
32715 * sysdeps/i386/stpncpy.S: Likewise.
32716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32717 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32718 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32719 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32720
32721 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32722
32723 * elf/dl-open.c: Fix typos.
32724 * iconvdata/gbbig5.c: Likewise.
32725 * iconvdata/iso-2022-jp.c: Likewise.
32726 * iconv/gconv_int.h: Likewise.
32727 * iconv/loop.c: Likewise.
32728 * nis/rpcsvc/nis.h: Likewise.
32729 * resolv/ns_name.c: Likewise.
32730 * stdio-common/vfscanf.c: Likewise.
32731 * streams/stropts.h: Likewise.
32732 * sunrpc/rpc_thread.c: Likewise.
32733 * sysdeps/i386/strpbrk.S: Likewise.
32734 * sysdeps/ieee754/k_standard.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32737 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32738 * sysdeps/mach/hurd/profil.c: Likewise.
32739 * sysdeps/s390/dl-procinfo.h: Likewise.
32740 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32741 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32742 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32743 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32745
32746 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32747
32748 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32750
32751 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32752
32753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32754 aix specific files.
32755 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32758 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32759 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32760 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32761 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32762 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32763
32764 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32765 Roland McGrath <roland@hack.frob.com>
32766
32767 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32768 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32769
32770 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32771
32772 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32773 __executable_start symbol instead of _start.
32774
32775 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32776
32777 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32778 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32779 Move macros to...
32780 * sysdeps/gnu/ldsodefs.h: ... this new file.
32781
32782 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32783 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32784 instead of ELFOSABI_LINUX.
32785
32786 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32787 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32788 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32789 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32790 Likewise.
32791 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32792 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32794 Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32796 (ibm_extended_long_double): Add ieee_nan member.
32797 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32798 (do_test): New function.
32799
32800 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32801 TEST_TRUNC.
32802 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32803 functions, renamed from truncdfsf_test, trunctfsf_test,
32804 trunctfdf_test.
32805 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32806 functions.
32807 (do_test): Run all these.
32808
32809 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32810
32811 * argp/argp-help.c: Fix typos.
32812 * argp/argp-parse.c: Likewise.
32813 * debug/backtracesyms.c: Likewise.
32814 * elf/elf.h: Likewise.
32815 * malloc/malloc.c: Likewise.
32816 * nis/nis_print.c: Likewise.
32817 * resolv/res_comp.c: Likewise.
32818 * stdlib/stdlib.h: Likewise.
32819 * sunrpc/clnt_tcp.c: Likewise.
32820 * sunrpc/clnt_udp.c: Likewise.
32821 * sunrpc/clnt_unix.c: Likewise.
32822 * sysdeps/unix/bsd/ptsname.c: Likewise.
32823 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32824 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32826 Likewise.
32827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32828 Likewise.
32829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32830 Likewise.
32831 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32832
32833 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32834
32835 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32837
32838 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32839
32840 [BZ #15897]
32841 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32842 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32843 ($(objpfx)bug-dl-leaf): New rule.
32844 ($(objpfx)bug-dl-leaf.so): Likewise.
32845 ($(objpfx)bug-dl-leaf.out): Likewise.
32846 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32847 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32848 * dlfcn/bug-dl-leaf.c: New test.
32849 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32850 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32851 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32852 (dlclose): Likewise.
32853 (dlmopen): Likewise.
32854
32855 2013-08-27 Roland McGrath <roland@hack.frob.com>
32856
32857 * include/netdb.h [!_ISOMAC]:
32858 Don't include <tls.h>.
32859 (h_errno, __libc_h_errno): Move declaration and macros out of
32860 [_LIBC_REENTRANT].
32861
32862 * include/resolv.h [_RESOLV_H_]:
32863 Don't include <tls.h>.
32864 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32865 * resolv/res_libc.c: Don't include <tls.h>.
32866 (_res): Use __attribute__ ((nocommon)) in place of
32867 __attribute__ ((section (".bss"))).
32868
32869 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32870 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32871
32872 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32873
32874 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32875 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32876
32877 * resolv/res_mkquery.c: Include <sys/time.h>.
32878
32879 * inet/ifreq.c: Moved to ...
32880 * sysdeps/unix/ifreq.c: ... here.
32881 * inet/ifreq.c: New file, true stub version.
32882
32883 * socket/sa_len.c: New file.
32884 * socket/Makefile (aux): Add it.
32885 * sysdeps/unix/sysv/linux/Makefile
32886 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32887 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32888 and #include <socket/sa_len.c>.
32889 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32890 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32891
32892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32893 * bits/socket.h: ... here.
32894
32895 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32896 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32897 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32898
32899 2013-08-27 Andreas Schwab <schwab@suse.de>
32900
32901 [BZ #15736]
32902 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32903 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32904 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32905 * string/test-strcasecmp.c (test_main): Run tests in several
32906 locales.
32907 * string/test-strncasecmp.c (test_main): Likewise.
32908
32909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32910 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32911 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32913 (__strncasecmp_ssse3) [PIC]: Likewise.
32914
32915 2013-08-26 Roland McGrath <roland@hack.frob.com>
32916
32917 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32918
32919 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32920 instead of explicitly declaring xdecrypt.
32921 * nis/nss_nis/nis-publickey.c: Likewise.
32922
32923 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32924
32925 [BZ #15890]
32926 * nscd/aicache.c: Include res_hconf.h.
32927 (addhstaiX): Initialize res_hconf.
32928
32929 2013-08-26 Andreas Schwab <schwab@suse.de>
32930
32931 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32932 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32933
32934 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32935
32936 * nscd/aicache.c (addhstaiX): Fix indentation.
32937
32938 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32939
32940 * configure.ac: Quote $build_pt_chown test.
32941 * configure: Regenerated.
32942
32943 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32944
32945 [BZ #15532]
32946 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32947 * math/s_cexpf.c (__cexpf): Likewise.
32948 * math/s_cexpl.c (__cexpl): Likewise.
32949 * math/libm-test.inc (cexp_test_data): Correct expected return
32950 value for NaN + i0. Add another test.
32951
32952 2013-08-22 David S. Miller <davem@davemloft.net>
32953
32954 * po/ca.po: Update Catalan translation from translation project.
32955 * po/uk.po: Add Ukrainian translations from translation project.
32956
32957 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32958
32959 [BZ #15797]
32960 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32961 is infinite, not alongside NaN test.
32962 * math/s_fdimf.c (__fdimf): Likewise.
32963 * math/s_fdiml.c (__fdiml): Likewise.
32964 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32965 errno is unchanged.
32966
32967 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32968
32969 * argp/argp-help.c: Fix typos.
32970 * crypt/speeds.c: Likewise.
32971 * csu/check_fds.c: Likewise.
32972 * elf/dl-load.c: Likewise.
32973 * elf/dl-open.c: Likewise.
32974 * elf/reldep3.c: Likewise.
32975 * elf/reldep.c: Likewise.
32976 * elf/sprof.c: Likewise.
32977 * iconv/iconv_charmap.c: Likewise.
32978 * iconv/skeleton.c: Likewise.
32979 * iconv/strtab.c: Likewise.
32980 * io/lockf64.c: Likewise.
32981 * libio/libioP.h: Likewise.
32982 * resolv/gai_notify.c: Likewise.
32983 * resolv/ns_name.c: Likewise.
32984 * resolv/ns_samedomain.c: Likewise.
32985 * resolv/res_send.c: Likewise.
32986 * stdlib/random.c: Likewise.
32987 * sunrpc/rpc/xdr.h: Likewise.
32988 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32996 * sysdeps/mach/hurd/check_fds.c: Likewise.
32997 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32998 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33001 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33003 * sysdeps/pthread/aio_notify.c: Likewise.
33004 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33005 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33008 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33009
33010 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33011
33012 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33013 version if bit_Slow_SSE4_2 is set.
33014 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33016
33017 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33018
33019 [BZ #15867]
33020 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33021 trampoline stack frame information.
33022 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33024 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33025 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33026 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33027 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33028 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33029 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33030 sa_flags value.
33031 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33032 interrupting a syscall and set with option SA_SIGINFO.
33033
33034 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33035
33036 [BZ #15531]
33037 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33038 argument is infinite.
33039 * math/s_cprojf.c (__cprojf): Likewise.
33040 * math/s_cprojl.c (__cprojl): Likewise.
33041 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33042 * math/libm-test.inc (cproj_test_data): Add more tests.
33043
33044 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33045
33046 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33047 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33048 size. Use __ffs to determine corresponding shift.
33049
33050 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33051 Roland McGrath <roland@hack.frob.com>
33052
33053 * Makefile (INSTALL): Remove trailing blank lines from output of
33054 makeinfo.
33055
33056 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33057
33058 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33059 Align 32 bit compat elf_greg to 8 bytes.
33060
33061 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33062
33063 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33064
33065 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33066
33067 * string/strcoll_l.c (coll_seq): New structure.
33068 (get_next_seq_cached): New function.
33069 (get_next_seq): New function.
33070 (do_compare): New function.
33071 (STRCOLL): Use GNU style definition. Simplify implementation
33072 by using get_next_seq, get_next_seq_cached and do_compare.
33073
33074 2013-08-16 Florian Weimer <fweimer@redhat.com>
33075
33076 [BZ #14699]
33077 CVE-2013-4237
33078 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33079 member.
33080 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33081 member.
33082 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33083 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33084 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33085 conditional.
33086 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33087 GETDENTS_64BIT_ALIGNED.
33088 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33089 * manual/filesys.texi (Reading/Closing Directory): Document
33090 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33091 strongly.
33092 * manual/conf.texi (Limits for Files): Add portability note to
33093 NAME_MAX, PATH_MAX.
33094 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33095
33096 2013-08-13 Andreas Schwab <schwab@suse.de>
33097
33098 [BZ #15749]
33099 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33100 of fabs.
33101 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33102 LDBL_MAX_EXP >= 16384]: Add tests for it.
33103
33104 2013-08-12 David S. Miller <davem@davemloft.net>
33105
33106 * version.h (RELEASE): Set to "development".
33107 (VERSION): Set to "2.18.90".
33108 * NEWS: Add 2.19 section.
33109
33110 2013-08-03 David S. Miller <davem@davemloft.net>
33111
33112 * po/ko.po: Update Korean translation from translation project.
33113
33114 2013-08-01 David S. Miller <davem@davemloft.net>
33115
33116 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33117 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33118 Bilka.
33119
33120 2013-07-30 David S. Miller <davem@davemloft.net>
33121
33122 * po/fr.po: Update French translation from translation project.
33123
33124 2013-07-28 David S. Miller <davem@davemloft.net>
33125
33126 * po/cs.po: Update Czech translation from translation project.
33127
33128 * po/sv.po: Update Swedish translation from translation project.
33129
33130 2013-07-27 David S. Miller <davem@davemloft.net>
33131
33132 * po/eo.po: Update Esperanto translation from translation project.
33133
33134 * po/vi.po: Update Vietnamese translation from translation project.
33135
33136 * po/de.po: Update German translation from translation project.
33137
33138 2013-07-26 David S. Miller <davem@davemloft.net>
33139
33140 * po/bg.po: Update Bulgarian translation from translation project.
33141
33142 * po/nl.po: Update Dutch translation from translation project.
33143 * po/pl.po: Update Polish translation from translation project.
33144 * po/ru.po: Update Russian translation from translation project.
33145
33146 2013-07-24 David S. Miller <davem@davemloft.net>
33147
33148 * po/libc.pot: Update.
33149
33150 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33151
33152 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33153 variable page size.
33154 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33155 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33157
33158 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33159
33160 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33161
33162 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33163 Andreas Schwab <schwab@suse.de>
33164 Roland McGrath <roland@hack.frob.com>
33165 Joseph Myers <joseph@codesourcery.com>
33166 Carlos O'Donell <carlos@redhat.com>
33167
33168 [BZ #15755]
33169 * config.h.in: Define HAVE_PT_CHOWN.
33170 * config.make.in (build-pt-chown): New variable.
33171 * configure.in (--enable-pt_chown): New configure option.
33172 * configure: Regenerate.
33173 * login/Makefile: Include Makeconfig. Build pt_chown only if
33174 build-pt-chown is enabled.
33175 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33176 pt_chown to fix pty ownership.
33177 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33178 CLOSE_ALL_FDS.
33179 * manual/install.texi (Configuring and compiling): Mention
33180 --enable-pt_chown. Add @findex for grantpt.
33181 * INSTALL: Regenerate.
33182
33183 2013-07-20 David S. Miller <davem@davemloft.net>
33184
33185 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33186 difference between 32-bit and 64-bit.
33187
33188 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33189
33190 [BZ #15711]
33191 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33192 Avoid system header dependency with -ffreestanding.
33193 ($(objpfx)bits/syscall%d): Likewise.
33194
33195 2013-07-13 David S. Miller <davem@davemloft.net>
33196
33197 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33198 underflows from atanl/atan2l due to bug 15319.
33199 (casinh_test_data): Likewise.
33200
33201 2013-07-07 David S. Miller <davem@davemloft.net>
33202
33203 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33204
33205 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33206
33207 * sysdeps/i386/fpu/libm-test-ulps: Update.
33208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33209
33210 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33211
33212 * configure.in (--enable-lock-elision): Fix message text.
33213 * INSTALL: Regenerate.
33214 * configure: Regenerate.
33215
33216 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33217
33218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33219
33220 2013-07-03 Andreas Jaeger <aj@suse.de>
33221
33222 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33223 define.
33224 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33225 (ptrace_peeksiginfo_args): Add.
33226 (__ptrace_peeksiginfo_flags): Add.
33227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33230
33231 2013-07-03 Allan McRae <allan@archlinux.org>
33232
33233 * sysdeps/i386/fpu/libm-test-ulps: Update.
33234
33235 2013-07-02 David S. Miller <davem@davemloft.net>
33236
33237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33238
33239 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33240
33241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33242
33243 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33244
33245 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33247
33248 2013-07-02 Andi Kleen <ak@linux.intel.com>
33249
33250 * config.h.in (ENABLE_LOCK_ELISION): Add.
33251 * configure.in (--enable-lock-elision): Add option.
33252 * manual/install.texi: Document --enable lock elision.
33253 * configure: Regenerate
33254 * INSTALL: Regenerate.
33255
33256 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33257
33258 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33259 SSE4.2 strcasecmp for libc.a.
33260 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33261
33262 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33263
33264 [BZ #13304]
33265 * soft-fp/op-common.h (_FP_FMA): New macro.
33266 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33267 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33268 (_FP_MUL_MEAT_1_imm): ... here.
33269 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33270 (_FP_MUL_MEAT_1_wide): ... here.
33271 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33272 (_FP_MUL_MEAT_1_hard): ... here.
33273 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33274 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33275 (_FP_MUL_MEAT_2_wide): ... here.
33276 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33277 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33278 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33279 (_FP_MUL_MEAT_2_gmp): ... here.
33280 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33281 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33282 (_FP_MUL_MEAT_4_wide): ... here.
33283 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33284 (_FP_MUL_MEAT_4_gmp): ... here.
33285 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33286 (_FP_WFRACBITS_DW_S): Likewise.
33287 (_FP_WFRACXBITS_DW_S): Likewise.
33288 (_FP_HIGHBIT_DW_S): Likewise.
33289 (FP_FMA_S): Likewise.
33290 (_FP_FRAC_HIGH_DW_S): Likewise.
33291 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33292 (_FP_WFRACBITS_DW_D): Likewise.
33293 (_FP_WFRACXBITS_DW_D): Likewise.
33294 (_FP_HIGHBIT_DW_D): Likewise.
33295 (FP_FMA_D): Likewise.
33296 (_FP_FRAC_HIGH_DW_D): Likewise.
33297 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33298 (_FP_WFRACBITS_DW_E): Likewise.
33299 (_FP_WFRACXBITS_DW_E): Likewise.
33300 (_FP_HIGHBIT_DW_E): Likewise.
33301 (FP_FMA_E): Likewise.
33302 (_FP_FRAC_HIGH_DW_E): Likewise.
33303 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33304 (_FP_WFRACBITS_DW_Q): Likewise.
33305 (_FP_WFRACXBITS_DW_Q): Likewise.
33306 (_FP_HIGHBIT_DW_Q): Likewise.
33307 (FP_FMA_Q): Likewise.
33308 (_FP_FRAC_HIGH_DW_Q): Likewise.
33309 * soft-fp/fmasf4.c: New file.
33310 * soft-fp/fmadf4.c: Likewise.
33311 * soft-fp/fmatf4.c: Likewise.
33312
33313 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33314
33315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33316 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33317 Silvermont.
33318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33319 macro.
33320 (index_Slow_SSE4_2): Likewise.
33321 (index_Prefer_PMINUB_for_stringop): Likewise.
33322 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33323 bit_Slow_SSE4_2 is set.
33324 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33326
33327 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33328
33329 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33330 rtld_global._dl_hwcap2.
33331 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33332 POWER8.
33333 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33334 POWER8 feature descriptions defined in _dl_hwcap2.
33335 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33336 string handling for POWER8 feature bits.
33337 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33338 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33339 _dl_powerpc_cap_flags.
33340 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33341 * sysdeps/powerpc/rtld-global-offsets.sym
33342 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33343 _dl_hwcap2 in the rtld_global_ro structure.
33344
33345 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33346
33347 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33348 hardware capabilities in support of AT_HWCAP2.
33349 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33350 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33351 GLRO(dl_hwcap2).
33352 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33353 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33354 explicitly the unknown a_type display mechanism is used.
33355 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33356 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33357 struct member.
33358 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33359 to macro prototype for AT_HWCAP2 support.
33360 * sysdeps/i386/dl-procinfo.h: Likewise.
33361 * sysdeps/s390/dl-procinfo.h: Likewise.
33362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33363 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33364 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33365 return -1 for unknown a_type display fallback.
33366 * sysdeps/sparc/dl-procinfo.h: Likewise.
33367 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33368 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33369
33370 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33371
33372 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33373 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33374
33375 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33376
33377 [BZ #12492]
33378 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33379 mprotect making __stack_prot writable.
33380
33381 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33382 Joseph Myers <joseph@codesourcery.com>
33383
33384 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33385 as being properly aligned.
33386
33387 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33388
33389 * dlfcn/modstatic5.c: New file.
33390 * dlfcn/tststatic5.c: New file.
33391 * dlfcn/Makefile (tests): Add tststatic5.
33392 (tests-static): Likewise.
33393 (modules-names): Add modstatic5.
33394 (tststatic5-ENV): New variable.
33395 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33396
33397 [BZ #15022]
33398 * elf/dl-support.c (_dl_main_map): New variable.
33399 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33400 (_dl_nns, _dl_load_adds): Set to 1.
33401 (_dl_initial_searchlist): Refer to _dl_main_map.
33402 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33403 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33404 call to _dl_get_origin.
33405 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33406 around call_map.
33407 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33408 * dlfcn/modstatic3.c: New file.
33409 * dlfcn/tststatic3.c: New file.
33410 * dlfcn/tststatic4.c: New file.
33411 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33412 (tests-static): Likewise.
33413 (modules-names): Add modstatic3.
33414 (tststatic3-ENV, tststatic4-ENV): New variables.
33415 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33416 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33417
33418 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33419
33420 * configure.in (CC): Require GCC version 4.4 or later.
33421 * configure: Regenerated.
33422 * manual/install.texi (Tools for Compilation): Update GCC version
33423 requirement.
33424 * INSTALL: Regenerated.
33425
33426 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33427
33428 [BZ #15674]
33429 * string/test-memcmp.c (check2): New.
33430 (main): Call check2.
33431
33432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33433
33434 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33435
33436 [BZ #15022]
33437 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33438 over to...
33439 (dl_open_worker) [!SHARED]: ... here.
33440
33441 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33442
33443 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33444
33445 2013-06-25 Richard Henderson <rth@redhat.com>
33446
33447 * locale/programs/locarchive.c: Include <libc-internal.h>
33448
33449 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33450
33451 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33452 trailing whitespace removed.
33453
33454 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33455
33456 [BZ #10283]
33457 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33458 * locale/programs/locarchive.c: Include libc-mmap.h.
33459 (prepare_address_space): Take two new outputs (the mmap base and len).
33460 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33461 values.
33462 (create_archive): Declare new mmap base and len values for
33463 prepare_address_space, and store the result in ah.
33464 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33465 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33466 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33467 Declare new mmap base and len values for
33468 prepare_address_space, and store the result in new_ah.
33469 (open_archive): Declare new mmap base and len values for
33470 prepare_address_space, and store the result in ah.
33471 (close_archive): If ah->mmap_base is not NULL, use that and
33472 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33473 * sysdeps/generic/libc-mmap.h: New file.
33474
33475 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33476
33477 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33478 (ALIGN_UP): Likewise.
33479 (PTR_ALIGN_DOWN): Likewise.
33480 (PTR_ALIGN_UP): Likewise.
33481
33482 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33483
33484 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33485 entry mapped to PPC_PLATFORM_POWER8.
33486 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33487 POWER8.
33488 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33489 (_dl_string_platform): Add case for exporting platform position for
33490 POWER8.
33491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33492 search path to sysdeps/powerpc/powerpc32/power8 directory.
33493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33494 search path to sysdeps/powerpc/powerpc64/power8 directory.
33495 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33496 power7 directories.
33497 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33498 power7 directories.
33499
33500 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33501
33502 * INSTALL: Regenerate.
33503
33504 * nscd/connections.c (nscd_init): Fix comment.
33505
33506 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33507
33508 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33509
33510 [BZ #15667]
33511 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33512 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33513
33514 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33515
33516 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33517 DL_DST_REQ_STATIC.
33518 (DL_DST_REQ_STATIC): Remove macro.
33519
33520 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33521
33522 [BZ #7006]
33523 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33524 with a shift of 0 bits.
33525
33526 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33527
33528 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33529 $(tststatic-ENV).
33530
33531 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33532
33533 [BZ #15655]
33534 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33535
33536 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33537
33538 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33539 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33540 accepts -fno-tree-loop-distribute-patterns.
33541 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33542 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33543 recursive call.
33544 * string/memset.c (memset): Likewise.
33545 * string/test-memmove.c (simple_memmove): Disable loop transformation
33546 to library calls.
33547 * string/test-memset.c (simple_memset): Likewise.
33548 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33549 * benchtests/bench-memset.c (simple_memset): Likewise.
33550 * configure: Regenerated.
33551
33552 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33553
33554 * math/test-misc.c (main): Ignore fesetround failure when failures
33555 of subsequent rounding tests would be ignored.
33556
33557 [BZ #15654]
33558 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33559 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33560 * math/fegetenv.c (__fegetenv): Return 0.
33561 * math/fegetexcept.c (fegetexcept): Return 0.
33562 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33563 FE_TONEAREST.
33564 * math/feholdexcpt.c (feholdexcept): Return 0.
33565 * math/fesetenv.c (__fesetenv): Return 0.
33566 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33567 argument FE_TONEAREST.
33568 * math/feupdateenv.c (__feupdateenv): Return 0.
33569 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33570
33571 2013-06-18 Roland McGrath <roland@hack.frob.com>
33572
33573 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33574 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33575 ($(objpfx)rtld-%.os rules): Use them.
33576
33577 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33578
33579 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33580 fields.
33581
33582 2013-06-17 Roland McGrath <roland@hack.frob.com>
33583
33584 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33585 length of target pattern, then descending length of dependency pattern.
33586 * configure.in (AWK): Require gawk 3.1.2 or newer.
33587 * manual/install.texi (Tools for Compilation): Say that we do.
33588 * configure: Regenerated.
33589
33590 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33591 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33592 * scripts/sysd-rules.awk: ... this new script.
33593 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33594 than a glob-style pattern.
33595
33596 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33597
33598 * math/test-misc.c (main): Do not treat incorrectly rounded
33599 conversions as failure unless ROUNDING_TESTS passes.
33600
33601 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33602
33603 [BZ #15631]
33604 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33605 restore exception state around main square root computation, then
33606 check for inexactness explicitly.
33607
33608 * math/libm-test.inc (fma_test_data): Add another test.
33609
33610 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 * manual/threads.texi (Non-POSIX Extensions): New document
33613 node. Document pthread_getattr_default_np and
33614 pthread_setattr_default_np.
33615
33616 * Versions.def (libpthread): Add GLIBC_2.18.
33617 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33619 Likewise.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33621 Likewise.
33622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33623 Likewise.
33624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33625 Likewise.
33626 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33627 Likewise.
33628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33629 Likewise.
33630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33631 Likewise.
33632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33633 Likewise.
33634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33635 Likewise.
33636
33637 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33638
33639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33640 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33641
33642 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33643 H.J. Lu <hjl.tools@gmail.com>
33644
33645 [BZ #15627]
33646 * sysdeps/x86_64/rtld-memset.c: Remove file.
33647 * sysdeps/x86_64/rtld-memset.S: New file.
33648
33649 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33650
33651 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33652 (test_in_one_mode): Take arguments for whether the rounding mode
33653 is supported for each floating-point type.
33654 (do_test): Pass new arguments to test_in_one_mode using
33655 ROUNDING_TESTS.
33656
33657 2013-06-13 Roland McGrath <roland@hack.frob.com>
33658
33659 * posix/tst-waitid.c (do_test): Distinguish different instances of
33660 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33661 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33662 before entering the kernel for waitpid.
33663
33664 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33665
33666 * NEWS: Fix note on clock function precision. Text by Roland
33667 McGrath.
33668
33669 2013-06-13 Roland McGrath <roland@hack.frob.com>
33670
33671 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33672 it into place only when and if the sanity check passes.
33673
33674 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33675
33676 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33677 output for whether conversion result is exact. Take argument
33678 indicating whether type is IBM long double.
33679 (round_for_all): Change need_exact field to ibm_ld.
33680 * stdlib/tst-strtod-round.c (struct exactness): New type.
33681 (struct test): Change bool ld_ok field to struct exactness exact.
33682 (TEST): Update all definitions for change to field.
33683 (tests): Regenerate array contents.
33684 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33685 field value. Check for IBM long double here.
33686 (do_test): Update calls to test_in_one_mode.
33687
33688 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33689
33690 [BZ #12515]
33691 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33692 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33693
33694 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33695
33696 [BZ #15605]
33697 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33698 generated by the compiler on loop optimizations.
33699 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33700 general definitions.
33701
33702 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33703
33704 * math/bug-nextafter.c: Include <math-tests.h>.
33705 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33706 the relevant type.
33707 * math/bug-nexttoward.c: Include <math-tests.h>.
33708 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33709 the relevant type.
33710 * math/test-misc.c: Include <math-tests.h>.
33711 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33712 the relevant type.
33713
33714 2013-06-12 Andreas Jaeger <aj@suse.de>
33715
33716 * po/ia.po: Update Interlingua translation from translation
33717 project.
33718
33719 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33720
33721 * include/fenv.h: Include stdbool.h.
33722 (struct rm_ctx): New structure.
33723 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33724 Define macro.
33725 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33726 (SET_RESTORE_ROUNDF): Likewise.
33727 (SET_RESTORE_ROUNDL): Likewise.
33728 (SET_RESTORE_ROUND_NOEX): Likewise.
33729 (SET_RESTORE_ROUND_NOEXF): Likewise.
33730 (SET_RESTORE_ROUND_NOEXL): Likewise.
33731 (SET_RESTORE_ROUND_53BIT): Likewise.
33732 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33733 (libc_feresetround_noexf_ctx): Likewise.
33734 (libc_feresetround_noexl_ctx): Likewise.
33735 (libc_feholdsetround_53bit_ctx): Likewise.
33736 (libc_feresetround_53bit_ctx): Likewise.
33737 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33738 (libc_feholdexcept_setround_sse_ctx): New function.
33739 (libc_fesetenv_sse_ctx): Likewise.
33740 (libc_feupdateenv_sse_ctx): Likewise.
33741 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33742 (libc_feholdexcept_setround_387_ctx): Likewise.
33743 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33744 (libc_feholdsetround_387_prec_ctx): Likewise.
33745 (libc_feholdsetround_387_ctx): Likewise.
33746 (libc_feholdsetround_387_53bit_ctx): Likewise.
33747 (libc_feholdsetround_sse_ctx): Likewise.
33748 (libc_feresetround_sse_ctx): Likewise.
33749 (libc_feresetround_387_ctx): Likewise.
33750 (libc_feupdateenv_387_ctx): Likewise.
33751 (libc_feholdexcept_setroundf_ctx): Define macro.
33752 (libc_fesetenvf_ctx): Likewise.
33753 (libc_feupdateenvf_ctx): Likewise.
33754 (libc_feholdsetroundf_ctx): Likewise.
33755 (libc_feresetroundf_ctx): Likewise.
33756 (libc_feholdexcept_setround_ctx): Likewise.
33757 (libc_fesetenv_ctx): Likewise.
33758 (libc_feupdateenv_ctx): Likewise.
33759 (libc_feholdsetround_ctx): Likewise.
33760 (libc_feresetround_ctx): Likewise.
33761 (libc_feholdexcept_setroundl_ctx): Likewise.
33762 (libc_feupdateenvl_ctx): Likewise.
33763 (libc_feholdsetroundl_ctx): Likewise.
33764 (libc_feresetroundl_ctx): Likewise.
33765 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33766 (libc_feresetround_53bit_ctx): Likewise.
33767
33768 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33769
33770 * locale/iso-639.def: Convert to UTF-8.
33771
33772 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33773
33774 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33775 (EXCEPTION_TESTS_double): Likewise.
33776 (EXCEPTION_TESTS_long_double): Likewise.
33777 (EXCEPTION_TESTS): Likewise.
33778 * math/libm-test.inc (test_exceptions): Only test exceptions if
33779 EXCEPTION_TESTS (FLOAT).
33780
33781 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33782
33783 * benchtests/Makefile (string-bench): Add strcpy_chk and
33784 stpcpy_chk.
33785 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33786 * benchtests/bench-stpcpy_chk.c: New file.
33787 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33788 * benchtests/bench-strcpy_chk.c: New file.
33789 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33790 code.
33791 (do_test): Likewise.
33792
33793 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33794
33795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33796 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33797 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33798 with tabs where appropriate.
33799 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33800 dl-procinfo.h.
33801 [PPC_PLATFORM_PPC440]: Likewise.
33802 [PPC_PLATFORM_PPC464]: Likewise.
33803 [PPC_PLATFORM_PPC476]: Likewise.
33804 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33805 ppc464, and ppc476 platform strings merging from ports/
33806 dl-procinfo.h.
33807
33808 2013-06-11 Andreas Schwab <schwab@suse.de>
33809
33810 [BZ #14991]
33811 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33812 (from_ucs4_idx): Regenerate.
33813 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33814 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33815 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33816 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33817 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33818 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33819 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33820 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33821 from FROM_LOOP and TO_LOOP specific macros.
33822 (BODY): Handle combining characters.
33823 * iconvdata/BIG5HKSCS.irreversible: Update.
33824 * iconvdata/BIG5HKSCS.precomposed: New file.
33825 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33826 characters.
33827 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33828
33829 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33830
33831 * include/sys/time.h: Fix indentation and add copyright header.
33832
33833 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33834 (do_test): Likewise.
33835 * string/test-memchr.c (do_one_test): Likewise.
33836 (do_test): Likewise.
33837 * string/test-memcmp.c (do_one_test): Likewise.
33838 (do_test): Likewise.
33839 * string/test-memcpy.c (do_one_test): Likewise.
33840 (do_test): Likewise.
33841 * string/test-memmem.c (do_one_test): Likewise.
33842 (do_test): Likewise.
33843 (do_random_tests): Likewise.
33844 * string/test-memmove.c (do_one_test): Likewise.
33845 (do_test): Likewise.
33846 * string/test-memset.c (do_one_test): Likewise.
33847 (do_test): Likewise.
33848 * string/test-rawmemchr.c (do_one_test): Likewise.
33849 (do_test): Likewise.
33850 * string/test-strcasecmp.c (do_one_test): Likewise.
33851 (do_test): Likewise.
33852 * string/test-strcasestr.c (do_one_test): Likewise.
33853 (do_test): Likewise.
33854 * string/test-strcat.c (do_one_test): Likewise.
33855 (do_test): Likewise.
33856 * string/test-strchr.c (do_one_test): Likewise.
33857 (do_test): Likewise.
33858 * string/test-strcmp.c (do_one_test): Likewise.
33859 (do_test): Likewise.
33860 * string/test-strcpy.c (do_one_test): Likewise.
33861 (do_test): Likewise.
33862 * string/test-string.h: Likewise.
33863 (test_init): Likewise.
33864 * string/test-strlen.c (do_one_test): Likewise.
33865 (do_test): Likewise.
33866 * string/test-strncasecmp.c (do_one_test): Likewise.
33867 (do_test): Likewise.
33868 * string/test-strncat.c (do_one_test): Likewise.
33869 (do_test): Likewise.
33870 * string/test-strncmp.c (do_one_test): Likewise.
33871 (do_test_limit): Likewise.
33872 (do_test): Likewise.
33873 * string/test-strncpy.c (do_one_test): Likewise.
33874 (do_test): Likewise.
33875 * string/test-strnlen.c (do_one_test): Likewise.
33876 (do_test): Likewise.
33877 * string/test-strpbrk.c (do_one_test): Likewise.
33878 (do_test): Likewise.
33879 * string/test-strrchr.c (do_one_test): Likewise.
33880 (do_test): Likewise.
33881 * string/test-strspn.c (do_one_test): Likewise.
33882 (do_test): Likewise.
33883 * string/test-strstr.c (do_one_test): Likewise.
33884 (do_test): Likewise.
33885
33886 * benchtests/Makefile (string-bench): Add string benchmarks.
33887 * benchtests/bench-bcopy-ifunc.c: New file.
33888 * benchtests/bench-bcopy.c: New file.
33889 * benchtests/bench-bzero-ifunc.c: New file.
33890 * benchtests/bench-bzero.c: New file.
33891 * benchtests/bench-memccpy-ifunc.c: New file.
33892 * benchtests/bench-memccpy.c: New file.
33893 * benchtests/bench-memchr-ifunc.c: New file.
33894 * benchtests/bench-memchr.c: New file.
33895 * benchtests/bench-memcmp-ifunc.c: New file.
33896 * benchtests/bench-memcmp.c: New file.
33897 * benchtests/bench-memmem-ifunc.c: New file.
33898 * benchtests/bench-memmem.c: New file.
33899 * benchtests/bench-memmove-ifunc.c: New file.
33900 * benchtests/bench-memmove.c: New file.
33901 * benchtests/bench-mempcpy-ifunc.c: New file.
33902 * benchtests/bench-mempcpy.c: New file.
33903 * benchtests/bench-memset-ifunc.c: New file.
33904 * benchtests/bench-memset.c: New file.
33905 * benchtests/bench-rawmemchr-ifunc.c: New file.
33906 * benchtests/bench-rawmemchr.c: New file.
33907 * benchtests/bench-stpcpy-ifunc.c: New file.
33908 * benchtests/bench-stpcpy.c: New file.
33909 * benchtests/bench-stpncpy-ifunc.c: New file.
33910 * benchtests/bench-stpncpy.c: New file.
33911 * benchtests/bench-strcasecmp-ifunc.c: New file.
33912 * benchtests/bench-strcasecmp.c: New file.
33913 * benchtests/bench-strcasestr-ifunc.c: New file.
33914 * benchtests/bench-strcasestr.c: New file.
33915 * benchtests/bench-strcat-ifunc.c: New file.
33916 * benchtests/bench-strcat.c: New file.
33917 * benchtests/bench-strchr-ifunc.c: New file.
33918 * benchtests/bench-strchr.c: New file.
33919 * benchtests/bench-strchrnul-ifunc.c: New file.
33920 * benchtests/bench-strchrnul.c: New file.
33921 * benchtests/bench-strcmp-ifunc.c: New file.
33922 * benchtests/bench-strcmp.c: New file.
33923 * benchtests/bench-strcpy-ifunc.c: New file.
33924 * benchtests/bench-strcpy.c: New file.
33925 * benchtests/bench-strcspn-ifunc.c: New file.
33926 * benchtests/bench-strcspn.c: New file.
33927 * benchtests/bench-strlen-ifunc.c: New file.
33928 * benchtests/bench-strlen.c: New file.
33929 * benchtests/bench-strncasecmp-ifunc.c: New file.
33930 * benchtests/bench-strncasecmp.c: New file.
33931 * benchtests/bench-strncat-ifunc.c: New file.
33932 * benchtests/bench-strncat.c: New file.
33933 * benchtests/bench-strncmp-ifunc.c: New file.
33934 * benchtests/bench-strncmp.c: New file.
33935 * benchtests/bench-strncpy-ifunc.c: New file.
33936 * benchtests/bench-strncpy.c: New file.
33937 * benchtests/bench-strnlen-ifunc.c: New file.
33938 * benchtests/bench-strnlen.c: New file.
33939 * benchtests/bench-strpbrk-ifunc.c: New file.
33940 * benchtests/bench-strpbrk.c: New file.
33941 * benchtests/bench-strrchr-ifunc.c: New file.
33942 * benchtests/bench-strrchr.c: New file.
33943 * benchtests/bench-strspn-ifunc.c: New file.
33944 * benchtests/bench-strspn.c: New file.
33945 * benchtests/bench-strstr-ifunc.c: New file.
33946 * benchtests/bench-strstr.c: New file.
33947
33948 * benchtests/Makefile: Disable parallel execution of targets.
33949 (string-bench): Add memcpy.
33950 (benchset): New variable to store a list of benchmark sets.
33951 (bench-func): Renamed from bench.
33952 (bench-set): New target.
33953 (bench): Depend on bench-func and bench-set.
33954 * benchtests/README: Add section on benchmark sets.
33955 * benchtests/bench-memcpy-ifunc.c: New file.
33956 * benchtests/bench-memcpy.c: New file.
33957 * benchtests/bench-string.h: New file.
33958
33959 2013-06-11 Andreas Schwab <schwab@suse.de>
33960
33961 [BZ #15577]
33962 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33963 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33964 values in the triple.
33965 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33966 terminator in the group key.
33967
33968 2013-06-11 Andreas Jaeger <aj@suse.de>
33969
33970 * po/zh_TW.po: Update Chinese (traditional) translation from
33971 translation project.
33972
33973 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33974
33975 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33976 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33977 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33979 (clock_getcpuclockid): Likewise.
33980 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33981 Add weak_alias and libc_hidden_def.
33982 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33983 * rt/clock_gettime.c (clock_gettime): Rename to
33984 __clock_gettime. Add weak_alias and libc_hidden_def.
33985 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33986 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33987 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33988 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33989 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33990 Likewise.
33991 * rt/clock_settime.c (clock_settime): Rename to
33992 __clock_settime. Add weak_alias and libc_hidden_def.
33993 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33994
33995 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33996
33997 * mach/err_boot.sub: Remove trailing whitespace.
33998 * mach/err_ipc.sub: Likewise.
33999 * mach/err_mach.sub: Likewise.
34000
34001 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34002 (ROUNDING_TESTS_double): Likewise.
34003 (ROUNDING_TESTS_long_double): Likewise.
34004 (ROUNDING_TESTS): Likewise.
34005 * math/libm-test.inc: Include <math-tests.h>.
34006 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34007 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34008 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34009 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34010
34011 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34012
34013 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34014 of assigning.
34015
34016 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34017
34018 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34019 otherwise empty TRANS lines.
34020 * sysdeps/gnu/errlist.c: Regenerated.
34021
34022 * catgets/gencat.c (error_print): Use (void) in function
34023 definition.
34024 * crypt/crypt_util.c (__init_des): Likewise.
34025 * crypt/speeds.c (Stop): Likewise.
34026 (main): Likewise.
34027 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34028 * inet/ruserpass.c (token): Likewise.
34029 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34030 * intl/localealias.c (extend_alias_table): Likewise.
34031 * intl/plural-exp.c (init_germanic_plural): Likewise.
34032 * libio/fcloseall.c (__fcloseall): Likewise.
34033 * libio/genops.c (_IO_flush_all): Likewise.
34034 (_IO_flush_all_linebuffered): Likewise.
34035 (_IO_cleanup): Likewise.
34036 (_IO_iter_begin): Likewise.
34037 (_IO_iter_end): Likewise.
34038 (_IO_list_lock): Likewise.
34039 (_IO_list_unlock): Likewise.
34040 (_IO_list_resetlock): Likewise.
34041 * libio/getchar.c (getchar): Likewise.
34042 * libio/getchar_u.c (getchar_unlocked): Likewise.
34043 * libio/getwchar.c (getwchar): Likewise.
34044 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34045 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34046 * login/getpt.c (__getpt): Likewise.
34047 * login/tst-utmp.c (main): Likewise.
34048 * malloc/hooks.c (__malloc_check_init): Likewise.
34049 * malloc/malloc.c (__malloc_stats): Likewise.
34050 * malloc/mtrace.c (tr_break): Likewise.
34051 (mtrace): Likewise.
34052 (muntrace): Likewise.
34053 * misc/fstab.c (endfsent): Likewise.
34054 * misc/getclktck.c (__getclktck): Likewise.
34055 * misc/getdtsz.c (__getdtablesize): Likewise.
34056 * misc/gethostid.c (gethostid): Likewise.
34057 * misc/getpagesize.c (__getpagesize): Likewise.
34058 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34059 (__get_nprocs): Likewise.
34060 (__get_phys_pages): Likewise.
34061 (__get_avphys_pages): Likewise.
34062 * misc/getttyent.c (getttyent): Likewise.
34063 (setttyent): Likewise.
34064 (endttyent): Likewise.
34065 * misc/getusershell.c (getusershell): Likewise.
34066 (endusershell): Likewise.
34067 (setusershell): Likewise.
34068 (initshells): Likewise.
34069 * misc/hsearch.c (__hdestroy): Likewise.
34070 * misc/sync.c (sync): Likewise.
34071 * misc/syslog.c (closelog_internal): Likewise.
34072 (closelog): Likewise.
34073 * misc/ttyslot.c (ttyslot): Likewise.
34074 * misc/vhangup.c (vhangup): Likewise.
34075 * posix/fork.c (__fork): Likewise.
34076 * posix/getegid.c (__getegid): Likewise.
34077 * posix/geteuid.c (__geteuid): Likewise.
34078 * posix/getgid.c (__getgid): Likewise.
34079 * posix/getpid.c (__getpid): Likewise.
34080 * posix/getppid.c (__getppid): Likewise.
34081 * posix/getuid.c (__getuid): Likewise.
34082 * posix/pause.c (pause): Likewise.
34083 * posix/setpgrp.c (setpgrp): Likewise.
34084 * posix/setsid.c (__setsid): Likewise.
34085 * posix/test-vfork.c (noop): Likewise.
34086 * resolv/gethnamaddr.c (_endhtent): Likewise.
34087 (_gethtent): Likewise.
34088 (ht_endhostent): Likewise.
34089 (gethostent): Likewise.
34090 (dns_service): Likewise.
34091 * stdlib/drand48.c (drand48): Likewise.
34092 * stdlib/lrand48.c (lrand48): Likewise.
34093 * stdlib/mrand48.c (mrand48): Likewise.
34094 * stdlib/rand.c (rand): Likewise.
34095 * stdlib/random.c (__random): Likewise.
34096 * stdlib/setenv.c (clearenv): Likewise.
34097 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34098 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34099 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34100 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34101 (__get_nprocs): Likewise.
34102 (__get_phys_pages): Likewise.
34103 (__get_avphys_pages): Likewise.
34104 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34105 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34106 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34107 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34108 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34109 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34110 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34111 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34112 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34113 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34114 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34115 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34116 * sysdeps/posix/clock.c (clock): Likewise.
34117 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34118 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34119 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34120 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34121 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34123 (__get_nprocs_conf): Likewise.
34124 (__get_phys_pages): Likewise.
34125 (__get_avphys_pages): Likewise.
34126 * time/clock.c (clock): Likewise.
34127 * time/tzset.c (__tzname_max): Likewise.
34128
34129 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34130
34131 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34132 (__bswap_32): Do not use "register".
34133 * crypt/crypt.c (_ufc_doit_r): Likewise.
34134 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34135 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34136 * gmon/gmon.c (__monstartup): Likewise.
34137 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34138 * hurd/hurdmalloc.c (more_memory): Likewise.
34139 (malloc): Likewise.
34140 (free): Likewise.
34141 (realloc): Likewise.
34142 (malloc_fork_prepare): Likewise.
34143 (malloc_fork_parent): Likewise.
34144 (malloc_fork_child): Likewise.
34145 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34146 (_svcauth_des): Likewise.
34147 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34148 * inet/inet_net.c (inet_network): Likewise.
34149 * inet/inet_netof.c (inet_netof): Likewise.
34150 * inet/rcmd.c (__validuser2_sa): Likewise.
34151 * io/fts.c (fts_open): Likewise.
34152 (fts_load): Likewise.
34153 (fts_close): Likewise.
34154 (fts_read): Likewise.
34155 (fts_children): Likewise.
34156 (fts_build): Likewise.
34157 (fts_stat): Likewise.
34158 (fts_sort): Likewise.
34159 (fts_alloc): Likewise.
34160 (fts_lfree): Likewise.
34161 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34162 (_IO_file_xsgetn): Likewise.
34163 (_IO_file_xsgetn_mmap): Likewise.
34164 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34165 (_IO_cookie_write): Likewise.
34166 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34167 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34168 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34169 * malloc/obstack.c (_obstack_begin): Likewise.
34170 (_obstack_begin_1): Likewise.
34171 (_obstack_newchunk): Likewise.
34172 (_obstack_allocated_p): Likewise.
34173 (obstack_free): Likewise.
34174 (_obstack_memory_used): Likewise.
34175 * misc/getttyent.c (getttynam): Likewise.
34176 (getttyent): Likewise.
34177 (skip): Likewise.
34178 (value): Likewise.
34179 * misc/getusershell.c (initshells): Likewise.
34180 * misc/syslog.c (__vsyslog_chk): Likewise.
34181 * misc/ttyslot.c (ttyslot): Likewise.
34182 * nis/nis_hash.c (__nis_hash): Likewise.
34183 * posix/fnmatch_loop.c (FCT): Likewise.
34184 * posix/getconf.c (print_all): Likewise.
34185 (main): Likewise.
34186 * posix/getopt.c (exchange): Likewise.
34187 * posix/glob.c (globfree): Likewise.
34188 (prefix_array): Likewise.
34189 (__glob_pattern_type): Likewise.
34190 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34191 (NS_GET32): Likewise.
34192 (NS_PUT16): Likewise.
34193 (NS_PUT32): Likewise.
34194 * resolv/gethnamaddr.c (getanswer): Likewise.
34195 (gethostbyname2): Likewise.
34196 (gethostbyaddr): Likewise.
34197 (_gethtent): Likewise.
34198 (_gethtbyname2): Likewise.
34199 (_gethtbyaddr): Likewise.
34200 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34201 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34202 * resolv/res_init.c (__res_vinit): Likewise.
34203 (net_mask): Likewise.
34204 * resolv/res_mkquery.c (outchar): Likewise.
34205 (PRINT): Likewise.
34206 * stdio-common/printf_fp.c (outchar): Likewise.
34207 (PRINT): Likewise.
34208 * stdio-common/printf_fphex.c (outchar): Likewise.
34209 (PRINT): Likewise.
34210 * stdio-common/printf_size.c (outchar): Likewise.
34211 (PRINT): Likewise.
34212 * stdio-common/test_rdwr.c (main): Likewise.
34213 * stdio-common/tfformat.c (matches): Likewise.
34214 * stdio-common/vfprintf.c (outchar): Likewise.
34215 (printf_unknown): Likewise.
34216 (buffered_vfprintf): Likewise.
34217 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34218 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34219 (ReadFile): Likewise.
34220 * stdlib/qsort.c (SWAP): Likewise.
34221 (_quicksort): Likewise.
34222 * stdlib/setenv.c (__add_to_environ): Likewise.
34223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34224 * stdlib/strtol_l.c (__strtol_l): Likewise.
34225 * stdlib/tst-strtod.c (main): Likewise.
34226 * stdlib/tst-strtol.c (main): Likewise.
34227 * stdlib/tst-strtoll.c (main): Likewise.
34228 * string/bits/string2.h (__strcmp_cc): Likewise.
34229 (__strcmp_cg): Likewise.
34230 (__strcspn_c1): Likewise.
34231 (__strcspn_c2): Likewise.
34232 (__strcspn_c3): Likewise.
34233 (__strspn_c1): Likewise.
34234 (__strspn_c2): Likewise.
34235 (__strspn_c3): Likewise.
34236 (__strsep_1c): Likewise.
34237 (__strsep_2c): Likewise.
34238 (__strsep_3c): Likewise.
34239 * string/memccpy.c (__memccpy): Likewise.
34240 * string/stpcpy.c (__stpcpy): Likewise.
34241 * string/strcmp.c (strcmp): Likewise.
34242 * string/strrchr.c (strrchr): Likewise.
34243 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34244 Likewise.
34245 * sysdeps/mach/hurd/getcwd.c
34246 (_hurd_canonicalize_directory_name_internal): Likewise.
34247 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34248 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34249 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34250 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34251 Likewise, in both definitions.
34252 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34253 definitions.
34254 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34255 64] (__bswap_64): Likewise.
34256 * time/test_time.c (main): Likewise.
34257 * time/tzfile.c (__tzfile_read): Likewise.
34258 (__tzfile_compute): Likewise.
34259 * time/tzset.c (__tzset_parse_tz): Likewise.
34260 (tzset_internal): Likewise.
34261 (compute_change): Likewise.
34262 * wcsmbs/wcscat.c (__wcscat): Likewise.
34263 * wcsmbs/wcschr.c (wcschr): Likewise.
34264 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34265 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34266 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34267 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34268 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34269 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34270 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34271 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34272 * wcsmbs/wmemset.c (wmemset): Likewise.
34273
34274 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34275
34276 * scripts/config.guess: Update to version 2013-05-16.
34277 * scripts/config.sub: Update to version 2013-04-24.
34278 * scripts/install-sh: Update to version 2011-11-20.07.
34279 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34280 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34281
34282 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34283
34284 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34285 * elf/sln.c: Likewise.
34286 * hurd/hurd/ioctl.h: Likewise.
34287 * hurd/hurdmalloc.c: Likewise.
34288 * hurd/xattr.c: Likewise.
34289 * include/shlib-compat.h: Likewise.
34290 * inet/ruserpass.c: Likewise.
34291 * libio/iofgets_u.c: Likewise.
34292 * libio/iofgetws_u.c: Likewise.
34293 * locale/programs/ld-identification.c: Likewise.
34294 * locale/programs/ld-time.c: Likewise.
34295 * mach/msg-destroy.c: Likewise.
34296 * nss/nss_files/files-netgrp.c: Likewise.
34297 * resolv/res_data.c: Likewise.
34298 * soft-fp/op-1.h: Likewise.
34299 * soft-fp/op-2.h: Likewise.
34300 * soft-fp/op-4.h: Likewise.
34301 * soft-fp/op-common.h: Likewise.
34302 * stdio-common/printf_fphex.c: Likewise.
34303 * stdlib/strtod_l.c: Likewise.
34304 * sunrpc/rpc/clnt.h: Likewise.
34305 * sysdeps/generic/framestate.c: Likewise.
34306 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34307 * sysdeps/i386/bsd-setjmp.S: Likewise.
34308 * sysdeps/i386/__longjmp.S: Likewise.
34309 * sysdeps/i386/setjmp.S: Likewise.
34310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34311 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34319 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34320 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34327 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34328 * sysdeps/ieee754/support.c: Likewise.
34329 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34330 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34331 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34332 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34333 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34334 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34335 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34336 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34337 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34338 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34339 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34340 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34341 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34342 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34344 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34345 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34347
34348 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34349
34350 * posix/transbug.c: Remove executable mode.
34351
34352 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34353
34354 * crypt/speeds.c: Remove trailing whitespace.
34355 * dlfcn/default.c: Likewise.
34356 * elf/ifuncdep2.c: Likewise.
34357 * elf/ifuncmain1.c: Likewise.
34358 * elf/ifuncmain1vis.c: Likewise.
34359 * elf/testobj.h: Likewise.
34360 * elf/tst-stackguard1.c: Likewise.
34361 * gmon/sys/gmon.h: Likewise.
34362 * hurd/hurdmsg.c: Likewise.
34363 * hurd/new-fd.c: Likewise.
34364 * hurd/ports-get.c: Likewise.
34365 * iconvdata/ibm1008_420.c: Likewise.
34366 * inet/tst-getni1.c: Likewise.
34367 * inet/tst-getni2.c: Likewise.
34368 * libio/ioungetc.c: Likewise.
34369 * libio/wfiledoalloc.c: Likewise.
34370 * manual/libm-err-tab.pl: Likewise.
34371 * math/w_dremf.c: Likewise.
34372 * misc/ftruncate.c: Likewise.
34373 * posix/bug-glob2.c: Likewise.
34374 * posix/tst-pcre.c: Likewise.
34375 * posix/wait4.c: Likewise.
34376 * resolv/README: Likewise.
34377 * resolv/res_debug.h: Likewise.
34378 * resolv/tst-inet_ntop.c: Likewise.
34379 * setjmp/bug269-setjmp.c: Likewise.
34380 * soft-fp/extended.h: Likewise.
34381 * soft-fp/op-1.h: Likewise.
34382 * soft-fp/op-2.h: Likewise.
34383 * soft-fp/op-4.h: Likewise.
34384 * soft-fp/op-8.h: Likewise.
34385 * soft-fp/testit.c: Likewise.
34386 * stdio-common/bug16.c: Likewise.
34387 * stdlib/random.c: Likewise.
34388 * sunrpc/rpcsvc/rquota.x: Likewise.
34389 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34395 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34418 * sysdeps/ieee754/s_lib_version.c: Likewise.
34419 * sysdeps/mach/hurd/check_fds.c: Likewise.
34420 * sysdeps/mach/hurd/getsockname.c: Likewise.
34421 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34422 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34423 * sysdeps/powerpc/bits/link.h: Likewise.
34424 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34425 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34426 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34427 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34428 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34430 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34431 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34432 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34433 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34435 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34436 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34437 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34438 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34439 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34440 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34445 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34447 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34448 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34453 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34456 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34458 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34460 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34462 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34463 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34464 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34465 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34466 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34467 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34468 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34469 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34470 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34471 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34472 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34473 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34479 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34480 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34481 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34483 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34486 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34487 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34488 * sysdeps/powerpc/sysdep.h: Likewise.
34489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34490 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34491 * sysdeps/sh/dl-trampoline.S: Likewise.
34492 * sysdeps/sh/memset.S: Likewise.
34493 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34494 * sysdeps/sh/strlen.S: Likewise.
34495 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34496 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34497 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34498 * sysdeps/sparc/sparc32/rem.S: Likewise.
34499 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34500 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34501 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34502 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34503 * sysdeps/sparc/sparc32/urem.S: Likewise.
34504 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34506 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34507 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34509 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34510 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34511 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34512 * sysdeps/unix/bsd/times.c: Likewise.
34513 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34514 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34519 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34520 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34521 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34522 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34523 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34524 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34525 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34526 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34527 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34528 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34530 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34531 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34532 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34533 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34534 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34536 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34537 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34538 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34539 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34540 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34541 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34542 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34543 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34544 * sysdeps/x86_64/strcspn.S: Likewise.
34545
34546 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34547
34548 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34549 generated file. Regenerate properly from gen-translit.pl.
34550 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34551 locale/C-translit.h.
34552
34553 2013-06-05 Andreas Schwab <schwab@suse.de>
34554
34555 [BZ #15100]
34556 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34557 week as 6 instead of -1.
34558 * time/tst-strptime.c (day_tests): Add test case.
34559
34560 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34561
34562 * sysdeps/generic/math_private.h
34563 (libc_feholdexcept_setround_53bit): Replace with
34564 libc_feholdsetround_53bit.
34565 (libc_feupdateenv_53bit): Replace with
34566 libc_feresetround_53bit.
34567 (SET_RESTORE_ROUND_53BIT): Adjust.
34568
34569 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34570
34571 * string/test-strchrnul.c: Add copyright header.
34572
34573 * posix/tst-getaddrinfo4.c: Increase test timeout.
34574
34575 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34576
34577 [BZ #15536]
34578 * math/libm-test.inc (MAX_EXP): Remove
34579 (MIN_EXP): Define.
34580 (ulp): Use MIN_EXP - MANT_DIG.
34581 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34582
34583 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34584
34585 * po/be.po: Revert last change.
34586 * po/zh_CN.po: Likewise.
34587 * po/header.pot: Likewise.
34588
34589 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34590
34591 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34592 link-libc-deps to empty as target-specific variable.
34593 * Makerules (link-libc-args): New variable.
34594 (libc-for-link): Likewise.
34595 (link-libc-deps): Likewise.
34596 (lib%.so): Depend on $(link-libc-deps). Link with
34597 $(link-libc-args).
34598 (build-module): Link with $(link-libc-args).
34599 (build-module-asneeded): Likewise.
34600 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34601 list of objects.
34602 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34603 target-specific variable.
34604 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34605 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34606 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34607 libc.
34608 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34609 libc and ld.so.
34610 ($(objpfx)libpcprofile.so): Likewise.
34611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34612 libc_nonshared.a.
34613 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34614 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34615 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34616 $(link-libc-deps).
34617 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34618 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34619 * login/Makefile ($(objpfx)libutil.so): Likewise.
34620 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34621 * math/Makefile ($(objpfx)libm.so): Likewise.
34622 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34623 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34624 variable instead of depending directly on libc.
34625 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34626 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34627 $(link-libc-deps).
34628 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34629 libc.
34630 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34631 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34632 ($(objpfx)libanl.so): Likewise.
34633 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34634 ld.so.
34635 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34636 $(link-libc-deps).
34637 * sysdeps/i386/fpu/Makefile: Remove file.
34638 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34639 ($(objpfx)libm.so): Remove dependency on ld.so.
34640
34641 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34642
34643 [BZ # 15553]
34644 * nis/yp_xdr.c (XDRMAXNAME): Define.
34645 (XDRMAXRECORD): Define.
34646 (xdr_domainname): Use XDRMAXNAME.
34647 (xdr_mapname): Likewise.
34648 (xdr_peername): Likewise.
34649 (xdr_keydat): Use XDRMAXRECORD.
34650 (xdr_valdat): Likewise.
34651
34652 2013-05-30 Jeff Law <law@redhat.com>
34653
34654 [BZ #14256]
34655 * manual/errno.texi (ESTALE): Update to account for more than
34656 just NFS file systems.
34657 * sysdeps/gnu/errlist.c: Regenerated.
34658
34659 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34660
34661 [BZ #15465]
34662 * elf/Makefile (tests): Add tst-null-argv.
34663 (modules-names): Add tst-null-argv-lib.
34664 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34665 (tst-null-argv-ENV): Set environment for tst-null-argv.
34666 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34667 (RTLD_PROGNAME): New macro.
34668 * elf/tst-null-argv.c: New test case.
34669 * elf/tst-null-argv-lib.c: Library for test case.
34670 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34671 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34672 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34673 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34674 * elf/dl-init.c (call_init): Likewise.
34675 (_dl_init): Likewise.
34676 * elf/dl-load.c (print_search_path): Likewise.
34677 (_dl_map_object): Likewise.
34678 * elf/dl-lookup.c (do_lookup_x): Likewise.
34679 (add_dependency): Likewise.
34680 (_dl_lookup_symbol_x): Likewise.
34681 (_dl_debug_bindings): Likewise.
34682 * elf/dl-open.c (_dl_show_scope): Likewise.
34683 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34684 * elf/dl-version.c (match_symbol): Likewise.
34685 (_dl_check_map_versions): Likewise.
34686 * elf/rtld.c (dl_main): Likewise.
34687 (print_unresolved): Use RTLD_PROGNAME.
34688 (print_missing_version): Likewise.
34689 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34690 (elf_machine_rela): Likewise.
34691 * sysdeps/powerpc/powerpc32/dl-machine.c
34692 (__process_machine_rela): Likewise.
34693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34694 Likewise.
34695 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34696 Likewise.
34697 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34698 Likewise.
34699 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34701 Likewise.
34702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34703 Likewise.
34704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34705
34706 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34707
34708 * po/be.po: Add descriptive title.
34709 * po/zh_CN.po: Likewise.
34710 * po/header.pot: Likewise.
34711
34712 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34713
34714 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34715 error message.
34716 (enlarge_archive): Likewise.
34717
34718 2013-05-28 Ben North <ben@redfrontdoor.org>
34719
34720 * manual/arith.texi (frexp): It is the magnitude of the return
34721 value which lies in [0.5, 1), not the return value itself.
34722
34723 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34724
34725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34726
34727 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34728
34729 * stdio-common/bug26.c (main): Correct fscanf template.
34730
34731 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34732 declare _dl_skip_args.
34733
34734 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34735 Don't declare.
34736
34737 * manual/platform.texi: Add missing @end deftypefun.
34738
34739 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34740
34741 [BZ #15529]
34742 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34743 bit of mantissa of 2^16382.
34744 * math/libm-test.inc (hypot_test_data): Add more tests.
34745
34746 * math/libm-test.inc: Add drem and pow10 to list of tested
34747 functions.
34748 (pow10_test): New function.
34749 (drem_test): Likewise.
34750 (drem_test_tonearest): Likewise.
34751 (drem_test_towardzero): Likewise.
34752 (drem_test_downward): Likewise.
34753 (drem_test_upward): Likewise.
34754 (main): Call the new functions.
34755
34756 * math/libm-test.inc (finite_test_data): Remove.
34757 (finite_test): Run tests from isfinite_test_data.
34758 (gamma_test_data): Remove.
34759 (gamma_test): Run tests from lgamma_test_data.
34760 * sysdeps/i386/fpu/libm-test-ulps: Update.
34761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34762
34763 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34764
34765 * manual/platform.texi: Add PowerPC PPR function set documentation.
34766 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34767 implementation.
34768
34769 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34770
34771 * math/libm-test.inc (MAX_EXP): Define.
34772 (ULPDIFF): Define.
34773 (ulp): New function.
34774 (check_float_internal): Use ULPDIFF.
34775 (cpow_test): Disable failing test.
34776 (check_ulp): Test ulp() implemetnation.
34777 (main): Call check_ulp before starting tests.
34778
34779 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34780
34781 * math/gen-libm-test.pl (generate_testfile): Do not handle
34782 START_DATA and END_DATA.
34783 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34784 END_DATA.
34785 (acos_tonearest_test_data): Likewise.
34786 (acos_towardzero_test_data): Likewise.
34787 (acos_downward_test_data): Likewise.
34788 (acos_upward_test_data): Likewise.
34789 (acosh_test_data): Likewise.
34790 (asin_test_data): Likewise.
34791 (asin_tonearest_test_data): Likewise.
34792 (asin_towardzero_test_data): Likewise.
34793 (asin_downward_test_data): Likewise.
34794 (asin_upward_test_data): Likewise.
34795 (asinh_test_data): Likewise.
34796 (atan_test_data): Likewise.
34797 (atanh_test_data): Likewise.
34798 (atan2_test_data): Likewise.
34799 (cabs_test_data): Likewise.
34800 (cacos_test_data): Likewise.
34801 (cacosh_test_data): Likewise.
34802 (carg_test_data): Likewise.
34803 (casin_test_data): Likewise.
34804 (casinh_test_data): Likewise.
34805 (catan_test_data): Likewise.
34806 (catanh_test_data): Likewise.
34807 (cbrt_test_data): Likewise.
34808 (ccos_test_data): Likewise.
34809 (ccosh_test_data): Likewise.
34810 (ceil_test_data): Likewise.
34811 (cexp_test_data): Likewise.
34812 (cimag_test_data): Likewise.
34813 (clog_test_data): Likewise.
34814 (clog10_test_data): Likewise.
34815 (conj_test_data): Likewise.
34816 (copysign_test_data): Likewise.
34817 (cos_test_data): Likewise.
34818 (cos_tonearest_test_data): Likewise.
34819 (cos_towardzero_test_data): Likewise.
34820 (cos_downward_test_data): Likewise.
34821 (cos_upward_test_data): Likewise.
34822 (cosh_test_data): Likewise.
34823 (cosh_tonearest_test_data): Likewise.
34824 (cosh_towardzero_test_data): Likewise.
34825 (cosh_downward_test_data): Likewise.
34826 (cosh_upward_test_data): Likewise.
34827 (cpow_test_data): Likewise.
34828 (cproj_test_data): Likewise.
34829 (creal_test_data): Likewise.
34830 (csin_test_data): Likewise.
34831 (csinh_test_data): Likewise.
34832 (csqrt_test_data): Likewise.
34833 (ctan_test_data): Likewise.
34834 (ctan_tonearest_test_data): Likewise.
34835 (ctan_towardzero_test_data): Likewise.
34836 (ctan_downward_test_data): Likewise.
34837 (ctan_upward_test_data): Likewise.
34838 (ctanh_test_data): Likewise.
34839 (ctanh_tonearest_test_data): Likewise.
34840 (ctanh_towardzero_test_data): Likewise.
34841 (ctanh_downward_test_data): Likewise.
34842 (ctanh_upward_test_data): Likewise.
34843 (erf_test_data): Likewise.
34844 (erfc_test_data): Likewise.
34845 (exp_test_data): Likewise.
34846 (exp_tonearest_test_data): Likewise.
34847 (exp_towardzero_test_data): Likewise.
34848 (exp_downward_test_data): Likewise.
34849 (exp_upward_test_data): Likewise.
34850 (exp10_test_data): Likewise.
34851 (exp2_test_data): Likewise.
34852 (expm1_test_data): Likewise.
34853 (fabs_test_data): Likewise.
34854 (fdim_test_data): Likewise.
34855 (finite_test_data): Likewise.
34856 (floor_test_data): Likewise.
34857 (fma_test_data): Likewise.
34858 (fma_towardzero_test_data): Likewise.
34859 (fma_downward_test_data): Likewise.
34860 (fma_upward_test_data): Likewise.
34861 (fmax_test_data): Likewise.
34862 (fmin_test_data): Likewise.
34863 (fmod_test_data): Likewise.
34864 (fpclassify_test_data): Likewise.
34865 (frexp_test_data): Likewise.
34866 (gamma_test_data): Likewise.
34867 (hypot_test_data): Likewise.
34868 (ilogb_test_data): Likewise.
34869 (isfinite_test_data): Likewise.
34870 (isgreater_test_data): Likewise.
34871 (isgreaterequal_test_data): Likewise.
34872 (isinf_test_data): Likewise.
34873 (isless_test_data): Likewise.
34874 (islessequal_test_data): Likewise.
34875 (islessgreater_test_data): Likewise.
34876 (isnan_test_data): Likewise.
34877 (isnormal_test_data): Likewise.
34878 (issignaling_test_data): Likewise.
34879 (isunordered_test_data): Likewise.
34880 (j0_test_data): Likewise.
34881 (j1_test_data): Likewise.
34882 (jn_test_data): Likewise.
34883 (ldexp_test_data): Likewise.
34884 (lgamma_test_data): Likewise.
34885 (lrint_test_data): Likewise.
34886 (lrint_tonearest_test_data): Likewise.
34887 (lrint_towardzero_test_data): Likewise.
34888 (lrint_downward_test_data): Likewise.
34889 (lrint_upward_test_data): Likewise.
34890 (llrint_test_data): Likewise.
34891 (llrint_tonearest_test_data): Likewise.
34892 (llrint_towardzero_test_data): Likewise.
34893 (llrint_downward_test_data): Likewise.
34894 (llrint_upward_test_data): Likewise.
34895 (log_test_data): Likewise.
34896 (log10_test_data): Likewise.
34897 (log1p_test_data): Likewise.
34898 (log2_test_data): Likewise.
34899 (logb_test_data): Likewise.
34900 (logb_downward_test_data): Likewise.
34901 (lround_test_data): Likewise.
34902 (llround_test_data): Likewise.
34903 (modf_test_data): Likewise.
34904 (nearbyint_test_data): Likewise.
34905 (nextafter_test_data): Likewise.
34906 (nexttoward_test_data): Likewise.
34907 (pow_test_data): Likewise.
34908 (pow_tonearest_test_data): Likewise.
34909 (pow_towardzero_test_data): Likewise.
34910 (pow_downward_test_data): Likewise.
34911 (pow_upward_test_data): Likewise.
34912 (remainder_test_data): Likewise.
34913 (remainder_tonearest_test_data): Likewise.
34914 (remainder_towardzero_test_data): Likewise.
34915 (remainder_downward_test_data): Likewise.
34916 (remainder_upward_test_data): Likewise.
34917 (remquo_test_data): Likewise.
34918 (rint_test_data): Likewise.
34919 (rint_tonearest_test_data): Likewise.
34920 (rint_towardzero_test_data): Likewise.
34921 (rint_downward_test_data): Likewise.
34922 (rint_upward_test_data): Likewise.
34923 (round_test_data): Likewise.
34924 (scalb_test_data): Likewise.
34925 (scalbn_test_data): Likewise.
34926 (scalbln_test_data): Likewise.
34927 (signbit_test_data): Likewise.
34928 (sin_test_data): Likewise.
34929 (sin_tonearest_test_data): Likewise.
34930 (sin_towardzero_test_data): Likewise.
34931 (sin_downward_test_data): Likewise.
34932 (sin_upward_test_data): Likewise.
34933 (sincos_test_data): Likewise.
34934 (sinh_test_data): Likewise.
34935 (sinh_tonearest_test_data): Likewise.
34936 (sinh_towardzero_test_data): Likewise.
34937 (sinh_downward_test_data): Likewise.
34938 (sinh_upward_test_data): Likewise.
34939 (sqrt_test_data): Likewise.
34940 (tan_test_data): Likewise.
34941 (tan_tonearest_test_data): Likewise.
34942 (tan_towardzero_test_data): Likewise.
34943 (tan_downward_test_data): Likewise.
34944 (tan_upward_test_data): Likewise.
34945 (tanh_test_data): Likewise.
34946 (tgamma_test_data): Likewise.
34947 (trunc_test_data): Likewise.
34948 (y0_test_data): Likewise.
34949 (y1_test_data): Likewise.
34950 (yn_test_data): Likewise.
34951 (significand_test_data): Likewise.
34952
34953 * math/gen-libm-test.pl (@functions): Remove variable.
34954 (generate_testfile): Don't handle START and END lines.
34955 * math/libm-test.inc (START): New macro.
34956 (END): Likewise.
34957 (END_COMPLEX): Likewise.
34958 (acos_test): Use END macro without arguments.
34959 (acos_test_tonearest): Likewise.
34960 (acos_test_towardzero): Likewise.
34961 (acos_test_downward): Likewise.
34962 (acos_test_upward): Likewise.
34963 (acosh_test): Likewise.
34964 (asin_test): Likewise.
34965 (asin_test_tonearest): Likewise.
34966 (asin_test_towardzero): Likewise.
34967 (asin_test_downward): Likewise.
34968 (asin_test_upward): Likewise.
34969 (asinh_test): Likewise.
34970 (atan_test): Likewise.
34971 (atanh_test): Likewise.
34972 (atan2_test): Likewise.
34973 (cabs_test): Likewise.
34974 (cacos_test): Use END_COMPLEX macro without arguments.
34975 (cacosh_test): Likewise.
34976 (carg_test): Use END macro without arguments.
34977 (casin_test): Use END_COMPLEX macro without arguments.
34978 (casinh_test): Likewise.
34979 (catan_test): Likewise.
34980 (catanh_test): Likewise.
34981 (cbrt_test): Use END macro without arguments.
34982 (ccos_test): Use END_COMPLEX macro without arguments.
34983 (ccosh_test): Likewise.
34984 (ceil_test): Use END macro without arguments.
34985 (cexp_test): Use END_COMPLEX macro without arguments.
34986 (cimag_test): Use END macro without arguments.
34987 (clog_test): Use END_COMPLEX macro without arguments.
34988 (clog10_test): Likewise.
34989 (conj_test): Likewise.
34990 (copysign_test): Use END macro without arguments.
34991 (cos_test): Likewise.
34992 (cos_test_tonearest): Likewise.
34993 (cos_test_towardzero): Likewise.
34994 (cos_test_downward): Likewise.
34995 (cos_test_upward): Likewise.
34996 (cosh_test): Likewise.
34997 (cosh_test_tonearest): Likewise.
34998 (cosh_test_towardzero): Likewise.
34999 (cosh_test_downward): Likewise.
35000 (cosh_test_upward): Likewise.
35001 (cpow_test): Use END_COMPLEX macro without arguments.
35002 (cproj_test): Likewise.
35003 (creal_test): Use END macro without arguments.
35004 (csin_test): Use END_COMPLEX macro without arguments.
35005 (csinh_test): Likewise.
35006 (csqrt_test): Likewise.
35007 (ctan_test): Likewise.
35008 (ctan_test_tonearest): Likewise.
35009 (ctan_test_towardzero): Likewise.
35010 (ctan_test_downward): Likewise.
35011 (ctan_test_upward): Likewise.
35012 (ctanh_test): Likewise.
35013 (ctanh_test_tonearest): Likewise.
35014 (ctanh_test_towardzero): Likewise.
35015 (ctanh_test_downward): Likewise.
35016 (ctanh_test_upward): Likewise.
35017 (erf_test): Use END macro without arguments.
35018 (erfc_test): Likewise.
35019 (exp_test): Likewise.
35020 (exp_test_tonearest): Likewise.
35021 (exp_test_towardzero): Likewise.
35022 (exp_test_downward): Likewise.
35023 (exp_test_upward): Likewise.
35024 (exp10_test): Likewise.
35025 (exp2_test): Likewise.
35026 (expm1_test): Likewise.
35027 (fabs_test): Likewise.
35028 (fdim_test): Likewise.
35029 (finite_test): Likewise.
35030 (floor_test): Likewise.
35031 (fma_test): Likewise.
35032 (fma_test_towardzero): Likewise.
35033 (fma_test_downward): Likewise.
35034 (fma_test_upward): Likewise.
35035 (fmax_test): Likewise.
35036 (fmin_test): Likewise.
35037 (fmod_test): Likewise.
35038 (fpclassify_test): Likewise.
35039 (frexp_test): Likewise.
35040 (gamma_test): Likewise.
35041 (hypot_test): Likewise.
35042 (ilogb_test): Likewise.
35043 (isfinite_test): Likewise.
35044 (isgreater_test): Likewise.
35045 (isgreaterequal_test): Likewise.
35046 (isinf_test): Likewise.
35047 (isless_test): Likewise.
35048 (islessequal_test): Likewise.
35049 (islessgreater_test): Likewise.
35050 (isnan_test): Likewise.
35051 (isnormal_test): Likewise.
35052 (issignaling_test): Likewise.
35053 (isunordered_test): Likewise.
35054 (j0_test): Likewise.
35055 (j1_test): Likewise.
35056 (jn_test): Likewise.
35057 (ldexp_test): Likewise.
35058 (lgamma_test): Likewise.
35059 (lrint_test): Likewise.
35060 (lrint_test_tonearest): Likewise.
35061 (lrint_test_towardzero): Likewise.
35062 (lrint_test_downward): Likewise.
35063 (lrint_test_upward): Likewise.
35064 (llrint_test): Likewise.
35065 (llrint_test_tonearest): Likewise.
35066 (llrint_test_towardzero): Likewise.
35067 (llrint_test_downward): Likewise.
35068 (llrint_test_upward): Likewise.
35069 (log_test): Likewise.
35070 (log10_test): Likewise.
35071 (log1p_test): Likewise.
35072 (log2_test): Likewise.
35073 (logb_test): Likewise.
35074 (logb_test_downward): Likewise.
35075 (lround_test): Likewise.
35076 (llround_test): Likewise.
35077 (modf_test): Likewise.
35078 (nearbyint_test): Likewise.
35079 (nextafter_test): Likewise.
35080 (nexttoward_test): Likewise.
35081 (pow_test): Likewise.
35082 (pow_test_tonearest): Likewise.
35083 (pow_test_towardzero): Likewise.
35084 (pow_test_downward): Likewise.
35085 (pow_test_upward): Likewise.
35086 (remainder_test): Likewise.
35087 (remainder_test_tonearest): Likewise.
35088 (remainder_test_towardzero): Likewise.
35089 (remainder_test_downward): Likewise.
35090 (remainder_test_upward): Likewise.
35091 (remquo_test): Likewise.
35092 (rint_test): Likewise.
35093 (rint_test_tonearest): Likewise.
35094 (rint_test_towardzero): Likewise.
35095 (rint_test_downward): Likewise.
35096 (rint_test_upward): Likewise.
35097 (round_test): Likewise.
35098 (scalb_test): Likewise.
35099 (scalbn_test): Likewise.
35100 (scalbln_test): Likewise.
35101 (signbit_test): Likewise.
35102 (sin_test): Likewise.
35103 (sin_test_tonearest): Likewise.
35104 (sin_test_towardzero): Likewise.
35105 (sin_test_downward): Likewise.
35106 (sin_test_upward): Likewise.
35107 (sincos_test): Likewise.
35108 (sinh_test): Likewise.
35109 (sinh_test_tonearest): Likewise.
35110 (sinh_test_towardzero): Likewise.
35111 (sinh_test_downward): Likewise.
35112 (sinh_test_upward): Likewise.
35113 (sqrt_test): Likewise.
35114 (tan_test): Likewise.
35115 (tan_test_tonearest): Likewise.
35116 (tan_test_towardzero): Likewise.
35117 (tan_test_downward): Likewise.
35118 (tan_test_upward): Likewise.
35119 (tanh_test): Likewise.
35120 (tgamma_test): Likewise.
35121 (trunc_test): Likewise.
35122 (y0_test): Likewise.
35123 (y1_test): Likewise.
35124 (yn_test): Likewise.
35125 (significand_test): Likewise.
35126
35127 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35128
35129 [BZ #15381]
35130 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35131
35132 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35133
35134 [BZ #14894]
35135 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35136 __ppc_mdoio and __ppc_mdoom.
35137 * manual/platform.texi: Document new functions __ppc_yield,
35138 __ppc_mdoio and __ppc_mdoom.
35139
35140 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35141
35142 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35143 (main): Mention "tls" pseudo-hwcap is legacy.
35144 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35145
35146 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35147
35148 * math/gen-libm-test.pl (parse_args): Output only string of
35149 arguments as text for test name, not full call or descriptions of
35150 tests for extra outputs.
35151 (generate_testfile): Do not pass function name to parse_args.
35152 Generate this_func variable from START.
35153 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35154 field to arg_str.
35155 (struct test_ff_f_data): Likewise.
35156 (test_ff_f_data_nexttoward): Likewise.
35157 (struct test_fi_f_data): Likewise.
35158 (struct test_fl_f_data): Likewise.
35159 (struct test_if_f_data): Likewise.
35160 (struct test_fff_f_data): Likewise.
35161 (struct test_c_f_data): Likewise.
35162 (struct test_f_f1_data): Likewise. Remove field extra_name.
35163 (struct test_fF_f1_data): Likewise.
35164 (struct test_ffI_f1_data): Likewise.
35165 (struct test_c_c_data): Rename test_name field to arg_str.
35166 (struct test_cc_c_data): Likewise.
35167 (struct test_f_i_data): Likewise.
35168 (struct test_ff_i_data): Likewise.
35169 (struct test_f_l_data): Likewise.
35170 (struct test_f_L_data): Likewise.
35171 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35172 and extra2_name.
35173 (COMMON_TEST_SETUP): New macro.
35174 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35175 (COMMON_TEST_CLEANUP): Likewise.
35176 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35177 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35178 macros.
35179 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35180 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35181 macros.
35182 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35183 (RUN_TEST_fff_f): Take argument string. Call new setup and
35184 cleanup macros.
35185 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35186 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35187 macros.
35188 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35189 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35190 macros.
35191 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35192 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35193 cleanup macros.
35194 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35195 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35196 cleanup macros.
35197 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35198 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35199 cleanup macros.
35200 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35201 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35202 macros.
35203 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35204 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35205 macros.
35206 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35207 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35208 macros.
35209 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35210 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35211 cleanup macros.
35212 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35213 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35214 cleanup macros.
35215 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35216 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35217 macros.
35218 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35219 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35220 cleanup macros.
35221 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35222 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35223 macros.
35224 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35225 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35226 macros.
35227 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35228 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35229 cleanup macros.
35230 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35231
35232 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35233
35234 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35235 to _sifields.sigfault.
35236 (si_addr_lsb): Define new macro.
35237 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35239 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35240
35241 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35242
35243 [BZ #15441]
35244 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35245 returns -1.
35246 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35247 null return -1.
35248 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35249 loading the domain.
35250
35251 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35252
35253 * math/gen-libm-test.pl (parse_args): Do not include expected
35254 result in test name.
35255 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35258 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35261
35262 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35263
35264 * benchtests/Makefile: Sort function entries.
35265
35266 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35267 tanh, asinh, acosh, atanh.
35268 * benchtests/acos-inputs: New file.
35269 * benchtests/acosh-inputs: New file.
35270 * benchtests/asin-inputs: New file.
35271 * benchtests/asinh-inputs: New file.
35272 * benchtests/atanh-inputs: New file.
35273 * benchtests/cosh-inputs: New file.
35274 * benchtests/log-inputs: New file.
35275 * benchtests/sinh-inputs: New file.
35276 * benchtests/tanh-inputs: New file.
35277
35278 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35279
35280 [BZ #15339]
35281 * posix/tst-getaddrinfo4.c: New test.
35282 * posix/Makefile (tests): Add it.
35283
35284 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35285
35286 [BZ #15339]
35287 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35288 when no services were used.
35289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35290 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35291
35292 2013-05-21 Andreas Schwab <schwab@suse.de>
35293
35294 [BZ #15014]
35295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35296 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35297 successful.
35298 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35299 redundant variable declarations and reallocation of buffer when
35300 parsing as IPv6 address. Always set NSS status when called from
35301 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35302 buffer too small. Correct computation of needed size.
35303 * nss/Makefile (tests): Add test-digits-dots.
35304 * nss/test-digits-dots.c: New test.
35305
35306 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35307
35308 * benchtests/Makefile: Remove instructions for adding
35309 benchmark tests.
35310 * benchtests/README: New file to explain how to execute and
35311 enhance the benchmark tests.
35312
35313 2013-05-21 Andreas Schwab <schwab@suse.de>
35314
35315 [BZ #15493]
35316 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35317 * setjmp/tst-sigsetjmp.c: New test.
35318
35319 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35320
35321 * sysdeps/x86_64/memset.S (memset): New implementation.
35322 (__bzero): Likewise.
35323 (__memset_tail): New function.
35324
35325 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35326
35327 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35328 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35329 __memcpy_sse2_unaligned ifunc selection.
35330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35331 Add memcpy-sse2-unaligned.S.
35332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35333 Add: __memcpy_sse2_unaligned.
35334
35335 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35336
35337 [BZ #15490]
35338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35339 math_force_eval before restoring floating-point envrionment.
35340 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35342 Likewise.
35343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35344 <math_private.h>.
35345 (__nearbyintl): Use math_force_eval before restoring
35346 floating-point environment.
35347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35348
35349 * math/gen-libm-test.pl (special_functions): Remove.
35350 (parse_args): Don't handle TEST_extra. Handle functions with no
35351 return value.
35352 * math/libm-test.inc (struct test_sincos_data): Replace with
35353 struct test_fFF_11_data.
35354 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35355 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35356 (sincos_test_data): Change element type to struct
35357 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35358 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35359 RUN_TEST_LOOP_sincos.
35360 * math/README.libm-test: Don't mention special handling of
35361 individual functions.
35362 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35368
35369 * math/gen-libm-test.pl (get_variable): Remove function.
35370 (parse_args): Don't show pointer parameters to call in test
35371 names. Use "extra output N" in test names for extra outputs
35372 rather than naming variables.
35373
35374 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35375
35376 [BZ #15488]
35377 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35378 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35379 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35380 double tests.
35381 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35382 disable.
35383 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35384 check_long_double.
35385
35386 * math/gen-libm-test.pl (@tests): Remove variable.
35387 ($count): Likewise.
35388 (new_test): Remove function.
35389 (show_exceptions): New function.
35390 (special_functions): Use show_exceptions instead of new_test.
35391 (parse_args): Likewise.
35392 (generate_testfile): Pass only function name in generated call to
35393 print_max_error or print_complex_max_error.
35394 (get_ulps): Do not handle complex tests specially.
35395 (output_test): Rename to ...
35396 (get_all_ulps_for_test): ... this. Return a string rather than
35397 printing to a file. Require ulps to be present.
35398 (output_ulps): Generate arrays rather than #defines.
35399 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35400 (struct ulp_data): New type.
35401 (BUILD_COMPLEX_ULP): Remove macro.
35402 (compare_ulp_data): New function.
35403 (find_ulps): Likewise.
35404 (find_test_ulps): Likewise.
35405 (find_function_ulps): Likewise.
35406 (find_complex_function_ulps): Likewise.
35407 (print_max_error): Determine allowed ulps using
35408 find_function_ulps.
35409 (print_complex_max_error): Determine allowed ulps using
35410 find_complex_function_ulps.
35411 (check_float_internal): Determine max ulps using find_test_ulps.
35412 (check_float): Do not take max_ulp parameter. Update call to
35413 check_float_internal.
35414 (check_complex): Likewise.
35415 (check_int): Do not take max_ulp parameter.
35416 (check_long): Likewise.
35417 (check_bool): Likewise.
35418 (check_longlong): Likewise.
35419 (struct test_f_f_data): Remove max_ulp field.
35420 (struct test_ff_f_data): Likewise.
35421 (struct test_ff_f_data_nexttoward): Likewise.
35422 (struct test_fi_f_data): Likewise.
35423 (struct test_fl_f_data): Likewise.
35424 (struct test_if_f_data): Likewise.
35425 (struct test_fff_f_data): Likewise.
35426 (struct test_c_f_data): Likewise.
35427 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35428 (struct test_fF_f1_data): Likewise.
35429 (struct test_ffI_f1_data): Likewise.
35430 (struct test_c_c_data): Remove max_ulp field.
35431 (struct test_cc_c_data): Likewise.
35432 (struct test_f_i_data): Likewise.
35433 (struct test_ff_i_data): Likewise.
35434 (struct test_f_l_data): Likewise.
35435 (struct test_f_L_data): Likewise.
35436 (struct test_sincos_data): Likewise.
35437 (RUN_TEST_f_f): Do not handle ulps.
35438 (RUN_TEST_LOOP_f_f): Likewise.
35439 (RUN_TEST_2_f): Likewise.
35440 (RUN_TEST_LOOP_2_f): Likewise.
35441 (RUN_TEST_fff_f): Likewise.
35442 (RUN_TEST_LOOP_fff_f): Likewise.
35443 (RUN_TEST_c_f): Likewise.
35444 (RUN_TEST_LOOP_c_f): Likewise.
35445 (RUN_TEST_f_f1): Likewise.
35446 (RUN_TEST_LOOP_f_f1): Likewise.
35447 (RUN_TEST_fF_f1): Likewise.
35448 (RUN_TEST_LOOP_fF_f1): Likewise.
35449 (RUN_TEST_fI_f1): Likewise.
35450 (RUN_TEST_LOOP_fI_f1): Likewise.
35451 (RUN_TEST_ffI_f1): Likewise.
35452 (RUN_TEST_LOOP_ffI_f1): Likewise.
35453 (RUN_TEST_c_c): Likewise.
35454 (RUN_TEST_LOOP_c_c): Likewise.
35455 (RUN_TEST_cc_c): Likewise.
35456 (RUN_TEST_LOOP_cc_c): Likewise.
35457 (RUN_TEST_f_i): Likewise.
35458 (RUN_TEST_LOOP_f_i): Likewise.
35459 (RUN_TEST_f_i_tg): Likewise.
35460 (RUN_TEST_LOOP_f_i_tg): Likewise.
35461 (RUN_TEST_ff_i_tg): Likewise.
35462 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35463 (RUN_TEST_f_b): Likewise.
35464 (RUN_TEST_LOOP_f_b): Likewise.
35465 (RUN_TEST_f_b_tg): Likewise.
35466 (RUN_TEST_LOOP_f_b_tg): Likewise.
35467 (RUN_TEST_f_l): Likewise.
35468 (RUN_TEST_LOOP_f_l): Likewise.
35469 (RUN_TEST_f_L): Likewise.
35470 (RUN_TEST_LOOP_f_L): Likewise.
35471 (RUN_TEST_sincos): Likewise.
35472 (RUN_TEST_LOOP_sincos): Likewise.
35473
35474 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35475
35476 [BZ #15480]
35477 [BZ #15485]
35478 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35479 main case of finite arguments, set rounding mode to FE_TONEAREST
35480 and discard exceptions.
35481 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35482 exceptions.
35483 (remainder_tonearest_test_data): New variable.
35484 (remainder_test_tonearest): New function.
35485 (remainder_towardzero_test_data): New variable.
35486 (remainder_test_towardzero): New function.
35487 (remainder_downward_test_data): New variable.
35488 (remainder_test_downward): New function.
35489 (remainder_upward_test_data): New variable.
35490 (remainder_test_upward): New function.
35491 (main): Call the new test functions.
35492
35493 * math/libm-test.inc (struct test_f_f1_data): Remove field
35494 extra_init.
35495 (struct test_fF_f1_data): Likewise.
35496 (struct test_ffI_f1_data): Likewise.
35497 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35498 based on value of EXTRA_EXPECTED.
35499 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35500 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35501 EXTRA_VAR based on value of EXTRA_EXPECTED.
35502 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35503 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35504 EXTRA_VAR based on value of EXTRA_EXPECTED.
35505 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35506 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35507 EXTRA_VAR based on value of EXTRA_EXPECTED.
35508 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35509 * math/gen-libm-test.pl (parse_args): Don't output initializers
35510 for extra output values.
35511
35512 * math/libm-test.inc (check_int): Expect result to be exactly
35513 equal to expected value and do not handle ulps.
35514 (check_long): Likewise.
35515 (check_longlong): Likewise.
35516
35517 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35518 exceptions.
35519 (cimag_test_data): Likewise.
35520 (conj_test_data): Likewise.
35521 (copysign_test_data): Likewise.
35522 (cproj_test_data): Likewise.
35523 (creal_test_data): Likewise.
35524 (fabs_test_data): Likewise.
35525 (fdim_test_data): Likewise.
35526 (finite_test_data): Likewise.
35527 (floor_test_data): Likewise.
35528 (fmax_test_data): Likewise.
35529 (fmin_test_data): Likewise.
35530 (fmod_test_data): Likewise.
35531 (fpclassify_test_data): Likewise.
35532 (frexp_test_data): Likewise.
35533 (ilogb_test_data): Likewise.
35534 (isfinite_test_data): Likewise.
35535 (isgreater_test_data): Likewise.
35536 (isgreaterequal_test_data): Likewise.
35537 (isinf_test_data): Likewise.
35538 (isless_test_data): Likewise.
35539 (islessequal_test_data): Likewise.
35540 (islessgreater_test_data): Likewise.
35541 (isnan_test_data): Likewise.
35542 (isnormal_test_data): Likewise.
35543 (issignaling_test_data): Likewise.
35544 (isunordered_test_data): Likewise.
35545 (ldexp_test_data): Likewise.
35546 (lrint_test_data): Likewise.
35547 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35548 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35549 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35550 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35551 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35552 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35553 test input.
35554 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35555 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35556 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35557 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35558 that test input.
35559 (lrint_downward_test_data): Test for "inexact" exceptions.
35560 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35561 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35562 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35563 test input.
35564 (lrint_upward_test_data): Test for "inexact" exceptions.
35565 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35566 test input.
35567 (llrint_test_data): Test for "inexact" exceptions.
35568 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35569 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35570 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35571 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35572 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35573 (llrint_downward_test_data): Test for "inexact" exceptions.
35574 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35575 (llrint_upward_test_data): Test for "inexact" exceptions.
35576 (logb_test_data): Likewise.
35577 (logb_downward_test_data): Likewise.
35578 (nextafter_test_data): Likewise.
35579 (nexttoward_test_data): Likewise.
35580 (remainder_test_data): Likewise.
35581 (remquo_test_data): Likewise.
35582 (scalbn_test_data): Likewise.
35583 (scalbln_test_data): Likewise.
35584 (signbit_test_data): Likewise.
35585 (sqrt_test_data): Likewise.
35586 (significand_test_data): Likewise.
35587
35588 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35589
35590 [BZ #15424]
35591 * benchtests/bench-modf.c (struct args): Mark arg0 as
35592 volatile.
35593 * scripts/bench.pl: Mark members of struct args as volatile.
35594
35595 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35596
35597 [BZ # 15497]
35598 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35599 negative infinity on POWER6 or lower.
35600 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35601
35602 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35603
35604 [BZ #15442]
35605 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35606 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35607 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35608 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35609 (_FP_SETQNAN): New macro.
35610 (_FP_SETQNAN_SEMIRAW): Likewise.
35611 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35612 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35613 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35614 (FP_EXTEND): Use _FP_FRAC_SNANP.
35615 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35616 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35617 into account.
35618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35619 New macro.
35620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35621 Likewise.
35622
35623 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35624
35625 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35626 with DIVIDE_BY_ZERO_EXCEPTION.
35627 (gamma_test_data): Likewise.
35628 (lgamma_test_data): Likewise.
35629 (log_test_data): Likewise.
35630 (log10_test_data): Likewise.
35631 (log2_test_data): Likewise.
35632 (tgamma_test_data): Likewise.
35633
35634 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35635 (acos_test_tonearest): Likewise.
35636 (acos_test_towardzero): Likewise.
35637 (acos_test_downward): Likewise.
35638 (acos_test_upward): Likewise.
35639 (acosh_test): Likewise.
35640 (asin_test): Likewise.
35641 (asin_test_tonearest): Likewise.
35642 (asin_test_towardzero): Likewise.
35643 (asin_test_downward): Likewise.
35644 (asin_test_upward): Likewise.
35645 (asinh_test): Likewise.
35646 (atan_test): Likewise.
35647 (atanh_test): Likewise.
35648 (atan2_test): Likewise.
35649 (cabs_test): Likewise.
35650 (cacos_test): Likewise.
35651 (cacosh_test): Likewise.
35652 (casin_test): Likewise.
35653 (casinh_test): Likewise.
35654 (catan_test): Likewise.
35655 (catanh_test): Likewise.
35656 (cbrt_test): Likewise.
35657 (ccos_test): Likewise.
35658 (ccosh_test): Likewise.
35659 (cexp_test): Likewise.
35660 (clog_test): Likewise.
35661 (clog10_test): Likewise.
35662 (cos_test): Likewise.
35663 (cos_test_tonearest): Likewise.
35664 (cos_test_towardzero): Likewise.
35665 (cos_test_downward): Likewise.
35666 (cos_test_upward): Likewise.
35667 (cosh_test): Likewise.
35668 (cosh_test_tonearest): Likewise.
35669 (cosh_test_towardzero): Likewise.
35670 (cosh_test_downward): Likewise.
35671 (cosh_test_upward): Likewise.
35672 (cpow_test): Likewise.
35673 (csin_test): Likewise.
35674 (csinh_test): Likewise.
35675 (csqrt_test): Likewise.
35676 (ctan_test): Likewise.
35677 (ctan_test_tonearest): Likewise.
35678 (ctan_test_towardzero): Likewise.
35679 (ctan_test_downward): Likewise.
35680 (ctan_test_upward): Likewise.
35681 (ctanh_test): Likewise.
35682 (ctanh_test_tonearest): Likewise.
35683 (ctanh_test_towardzero): Likewise.
35684 (ctanh_test_downward): Likewise.
35685 (ctanh_test_upward): Likewise.
35686 (erf_test): Likewise.
35687 (erfc_test): Likewise.
35688 (exp_test): Likewise.
35689 (exp_test_tonearest): Likewise.
35690 (exp_test_towardzero): Likewise.
35691 (exp_test_downward): Likewise.
35692 (exp_test_upward): Likewise.
35693 (exp10_test): Likewise.
35694 (exp2_test): Likewise.
35695 (expm1_test): Likewise.
35696 (fmod_test): Likewise.
35697 (gamma_test): Likewise.
35698 (hypot_test): Likewise.
35699 (j0_test): Likewise.
35700 (j1_test): Likewise.
35701 (jn_test): Likewise.
35702 (lgamma_test): Likewise.
35703 (log_test): Likewise.
35704 (log10_test): Likewise.
35705 (log1p_test): Likewise.
35706 (log2_test): Likewise.
35707 (logb_test_downward): Likewise.
35708 (pow_test): Likewise.
35709 (pow_test_tonearest): Likewise.
35710 (pow_test_towardzero): Likewise.
35711 (pow_test_downward): Likewise.
35712 (pow_test_upward): Likewise.
35713 (remainder_test): Likewise.
35714 (remquo_test): Likewise.
35715 (sin_test): Likewise.
35716 (sin_test_tonearest): Likewise.
35717 (sin_test_towardzero): Likewise.
35718 (sin_test_downward): Likewise.
35719 (sin_test_upward): Likewise.
35720 (sincos_test): Likewise.
35721 (sinh_test): Likewise.
35722 (sinh_test_tonearest): Likewise.
35723 (sinh_test_towardzero): Likewise.
35724 (sinh_test_downward): Likewise.
35725 (sinh_test_upward): Likewise.
35726 (sqrt_test): Likewise.
35727 (tan_test): Likewise.
35728 (tan_test_tonearest): Likewise.
35729 (tan_test_towardzero): Likewise.
35730 (tan_test_downward): Likewise.
35731 (tan_test_upward): Likewise.
35732 (tanh_test): Likewise.
35733 (tgamma_test): Likewise.
35734 (y0_test): Likewise.
35735 (y1_test): Likewise.
35736 (yn_test): Likewise.
35737
35738 * math/gen-libm-test.pl (adjust_arg): Remove function.
35739 (special_function): Remove argument $in_func. Only handle
35740 generating output for tables of tests, not inside functions.
35741 (parse_args): Likewise.
35742 (generate_testfile): Remove variable $in_func. Update call to
35743 parse_args.
35744 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35745 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35746 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35747 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35748 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35749 (MAX_VALUE_INIT): Rename macro to max_value.
35750 (MIN_VALUE_INIT): Rename macro to min_value.
35751 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35752 (plus_zero): Remove variable.
35753 (minus_zero): Likewise.
35754 (plus_infty): Likewise.
35755 (minus_infty): Likewise.
35756 (qnan_value): Likewise.
35757 (max_value): Likewise.
35758 (min_value): Likewise.
35759 (min_subnorm_value): Likewise.
35760
35761 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35762
35763 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35764 uint64_t or uint32_t usage.
35765 * crypt/sha256-block.c: Likewise.
35766 * crypt/sha256-crypt.c: Likewise.
35767 * crypt/sha256.c: Likewise.
35768 * crypt/sha512-block.c: Likewise.
35769 * crypt/sha512-crypt.c: Likewise.
35770 * crypt/sha512.c: Likewise.
35771 * debug/backtrace-tst.c: Likewise.
35772 * debug/pcprofiledump.c: Likewise.
35773 * elf/cache.c: Likewise.
35774 * elf/dl-cache.c: Likewise.
35775 * elf/dl-misc.c: Likewise.
35776 * elf/dl-profile.c: Likewise.
35777 * elf/dl-support.c: Likewise.
35778 * elf/ldconfig.c: Likewise.
35779 * elf/sprof.c: Likewise.
35780 * iconv/dummy-repertoire.c: Likewise.
35781 * iconv/iconv_charmap.c: Likewise.
35782 * iconv/skeleton.c: Likewise.
35783 * iconvdata/8bit-generic.c: Likewise.
35784 * iconvdata/cp737.h: Likewise.
35785 * iconvdata/cp775.h: Likewise.
35786 * iconvdata/ibm1008.h: Likewise.
35787 * iconvdata/ibm1025.h: Likewise.
35788 * iconvdata/ibm1046.h: Likewise.
35789 * iconvdata/ibm1097.h: Likewise.
35790 * iconvdata/ibm1112.h: Likewise.
35791 * iconvdata/ibm1122.h: Likewise.
35792 * iconvdata/ibm1123.h: Likewise.
35793 * iconvdata/ibm1124.h: Likewise.
35794 * iconvdata/ibm1129.h: Likewise.
35795 * iconvdata/ibm1130.h: Likewise.
35796 * iconvdata/ibm1132.h: Likewise.
35797 * iconvdata/ibm1133.h: Likewise.
35798 * iconvdata/ibm1137.h: Likewise.
35799 * iconvdata/ibm1140.h: Likewise.
35800 * iconvdata/ibm1141.h: Likewise.
35801 * iconvdata/ibm1142.h: Likewise.
35802 * iconvdata/ibm1143.h: Likewise.
35803 * iconvdata/ibm1144.h: Likewise.
35804 * iconvdata/ibm1145.h: Likewise.
35805 * iconvdata/ibm1146.h: Likewise.
35806 * iconvdata/ibm1147.h: Likewise.
35807 * iconvdata/ibm1148.h: Likewise.
35808 * iconvdata/ibm1149.h: Likewise.
35809 * iconvdata/ibm1153.h: Likewise.
35810 * iconvdata/ibm1154.h: Likewise.
35811 * iconvdata/ibm1155.h: Likewise.
35812 * iconvdata/ibm1156.h: Likewise.
35813 * iconvdata/ibm1157.h: Likewise.
35814 * iconvdata/ibm1158.h: Likewise.
35815 * iconvdata/ibm1160.h: Likewise.
35816 * iconvdata/ibm1161.h: Likewise.
35817 * iconvdata/ibm1162.h: Likewise.
35818 * iconvdata/ibm1163.h: Likewise.
35819 * iconvdata/ibm1164.h: Likewise.
35820 * iconvdata/ibm1166.h: Likewise.
35821 * iconvdata/ibm1167.h: Likewise.
35822 * iconvdata/ibm12712.h: Likewise.
35823 * iconvdata/ibm1390.h: Likewise.
35824 * iconvdata/ibm1399.h: Likewise.
35825 * iconvdata/ibm16804.h: Likewise.
35826 * iconvdata/ibm4517.h: Likewise.
35827 * iconvdata/ibm4899.h: Likewise.
35828 * iconvdata/ibm4909.h: Likewise.
35829 * iconvdata/ibm4971.h: Likewise.
35830 * iconvdata/ibm5347.h: Likewise.
35831 * iconvdata/ibm803.h: Likewise.
35832 * iconvdata/ibm856.h: Likewise.
35833 * iconvdata/ibm901.h: Likewise.
35834 * iconvdata/ibm902.h: Likewise.
35835 * iconvdata/ibm9030.h: Likewise.
35836 * iconvdata/ibm9066.h: Likewise.
35837 * iconvdata/ibm921.h: Likewise.
35838 * iconvdata/ibm922.h: Likewise.
35839 * iconvdata/ibm9448.h: Likewise.
35840 * iconvdata/isiri-3342.h: Likewise.
35841 * iconvdata/jis0201.h: Likewise.
35842 * include/link.h: Likewise.
35843 * include/netdb.h: Likewise.
35844 * inet/check_native.c: Likewise.
35845 * inet/check_pf.c: Likewise.
35846 * inet/getipv4sourcefilter.c: Likewise.
35847 * inet/getnameinfo.c: Likewise.
35848 * inet/getsourcefilter.c: Likewise.
35849 * inet/htonl.c: Likewise.
35850 * inet/setipv4sourcefilter.c: Likewise.
35851 * inet/setsourcefilter.c: Likewise.
35852 * inet/test-inet6_opt.c: Likewise.
35853 * inet/tst-network.c: Likewise.
35854 * locale/C-collate.c: Likewise.
35855 * locale/C-ctype.c: Likewise.
35856 * locale/C-time.c: Likewise.
35857 * locale/C-translit.h: Likewise.
35858 * locale/loadarchive.c: Likewise.
35859 * locale/programs/3level.h: Likewise.
35860 * locale/programs/charmap.c: Likewise.
35861 * locale/programs/charmap.h: Likewise.
35862 * locale/programs/ld-address.c: Likewise.
35863 * locale/programs/ld-collate.c: Likewise.
35864 * locale/programs/ld-ctype.c: Likewise.
35865 * locale/programs/ld-identification.c: Likewise.
35866 * locale/programs/ld-measurement.c: Likewise.
35867 * locale/programs/ld-messages.c: Likewise.
35868 * locale/programs/ld-monetary.c: Likewise.
35869 * locale/programs/ld-name.c: Likewise.
35870 * locale/programs/ld-numeric.c: Likewise.
35871 * locale/programs/ld-paper.c: Likewise.
35872 * locale/programs/ld-telephone.c: Likewise.
35873 * locale/programs/ld-time.c: Likewise.
35874 * locale/programs/linereader.c: Likewise.
35875 * locale/programs/locale.c: Likewise.
35876 * locale/programs/locarchive.c: Likewise.
35877 * locale/programs/locfile.h: Likewise.
35878 * locale/programs/repertoire.c: Likewise.
35879 * locale/programs/simple-hash.c: Likewise.
35880 * locale/programs/simple-hash.h: Likewise.
35881 * malloc/memusage.c: Likewise.
35882 * malloc/memusagestat.c: Likewise.
35883 * nis/nis_defaults.c: Likewise.
35884 * nis/nis_hash.c: Likewise.
35885 * nis/nis_print.c: Likewise.
35886 * nis/nis_xdr.c: Likewise.
35887 * nscd/connections.c: Likewise.
35888 * nscd/hstcache.c: Likewise.
35889 * nscd/nscd_gethst_r.c: Likewise.
35890 * nscd/nscd_getserv_r.c: Likewise.
35891 * nscd/nscd_helper.c: Likewise.
35892 * nscd/servicescache.c: Likewise.
35893 * nss/makedb.c: Likewise.
35894 * nss/nss_db/db-XXX.c: Likewise.
35895 * nss/nss_db/db-initgroups.c: Likewise.
35896 * nss/nss_db/db-netgrp.c: Likewise.
35897 * nss/nss_files/files-network.c: Likewise.
35898 * nss/nss_files/files-parse.c: Likewise.
35899 * posix/bug-regex5.c: Likewise.
35900 * posix/fnmatch_loop.c: Likewise.
35901 * posix/regcomp.c: Likewise.
35902 * posix/regexec.c: Likewise.
35903 * posix/tst-rfc3484-2.c: Likewise.
35904 * posix/tst-rfc3484-3.c: Likewise.
35905 * posix/tst-rfc3484.c: Likewise.
35906 * resolv/nss_dns/dns-canon.c: Likewise.
35907 * resolv/nss_dns/dns-network.c: Likewise.
35908 * resolv/res_init.c: Likewise.
35909 * resolv/res_mkquery.c: Likewise.
35910 * resolv/tst-aton.c: Likewise.
35911 * stdlib/cxa_atexit.c: Likewise.
35912 * stdlib/cxa_finalize.c: Likewise.
35913 * stdlib/gen-fpioconst.c: Likewise.
35914 * stdlib/strtol_l.c: Likewise.
35915 * string/tst-endian.c: Likewise.
35916 * sunrpc/auth_des.c: Likewise.
35917 * sunrpc/clnt_udp.c: Likewise.
35918 * sunrpc/rtime.c: Likewise.
35919 * sunrpc/svcauth_des.c: Likewise.
35920 * sunrpc/xdr.c: Likewise.
35921 * sunrpc/xdr_intXX_t.c: Likewise.
35922 * sunrpc/xdr_rec.c: Likewise.
35923 * sysdeps/generic/ldconfig.h: Likewise.
35924 * sysdeps/generic/ldsodefs.h: Likewise.
35925 * sysdeps/generic/memusage.h: Likewise.
35926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35934 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35936 * sysdeps/posix/getaddrinfo.c: Likewise.
35937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35939 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35941 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35942 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35943 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35944 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35945 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35948 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35949 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35950 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35951 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35952 * sysdeps/x86_64/dl-tls.h: Likewise.
35953 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35954 * time/alt_digit.c: Likewise.
35955 * time/era.c: Likewise.
35956 * wcsmbs/tst-c16c32-1.c: Likewise.
35957
35958 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35959
35960 * math/libm-test.inc (struct test_sincos_data): New type.
35961 (RUN_TEST_LOOP_sincos): New macro.
35962 (sincos_test_data): New variable.
35963 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35964
35965 2013-05-16 Richard Henderson <rth@redhat.com>
35966
35967 * math/atest-exp2.c (LIMB64): New macro.
35968 (CONSTSZ): New macro.
35969 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35970 (hexdig): Move ...
35971 (print_mpn_fp): ... to function scope.
35972 (read_mpn_hex): Remove.
35973 (get_log2): Remove.
35974 (exp2_mpn): Use mp_log2.
35975 (main): Use mp_exp1.
35976
35977 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35978
35979 * math/libm-test.inc: Remove comment about not testing "inexact"
35980 exceptions.
35981 (INEXACT_EXCEPTION): New macro.
35982 (NO_INEXACT_EXCEPTION): Likewise.
35983 (INVALID_EXCEPTION_OK): Update value.
35984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35985 (OVERFLOW_EXCEPTION_OK): Likewise.
35986 (UNDERFLOW_EXCEPTION_OK): Likewise.
35987 (IGNORE_ZERO_INF_SIGN): Likewise.
35988 (ERRNO_UNCHANGED): Likewise.
35989 (ERRNO_EDOM): Likewise.
35990 (ERRNO_ERANGE): Likewise.
35991 (test_exceptions): Handle testing "inexact" exceptions.
35992 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35993 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35994 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35995 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35996 INEXACT_EXCEPTION.
35997 (rint_towardzero_test_data): Likewise.
35998 (rint_downward_test_data): Likewise.
35999 (rint_upward_test_data): Likewise.
36000
36001 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36002 with OVERFLOW_EXCEPTION.
36003 (exp10_test_data): Likewise.
36004 (exp2_test_data): Likewise.
36005 (expm1_test_data): Likewise.
36006 (lgamma_test_data): Likewise.
36007 (pow_test_data): Likewise.
36008 (tgamma_test_data): Likewise.
36009 (yn_test_data): Remove duplicate test of overflow.
36010
36011 * math/libm-test.inc (struct test_cc_c_data): New type.
36012 (RUN_TEST_LOOP_cc_c): New macro.
36013 (cpow_test_data): New variable.
36014 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36015
36016 * math/libm-test.inc (struct test_f_L_data): New type.
36017 (RUN_TEST_LOOP_f_L): New macro.
36018 (llrint_test_data): New variable.
36019 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36020 (llrint_tonearest_test_data): New variable.
36021 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36022 (llrint_towardzero_test_data): New variable.
36023 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36024 (llrint_downward_test_data): New variable.
36025 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36026 (llrint_upward_test_data): New variable.
36027 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36028 (llround_test_data): New variable.
36029 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36030
36031 2013-05-13 Peter Collingbourne <pcc@google.com>
36032
36033 * math/atest-exp2.c (get_log2): Remove const attribute.
36034
36035 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36036
36037 * math/libm-test.inc (struct test_f_l_data): New type.
36038 (RUN_TEST_LOOP_f_l): New macro.
36039 (lrint_test_data): New variable.
36040 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36041 (lrint_tonearest_test_data): New variable.
36042 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36043 (lrint_towardzero_test_data): New variable.
36044 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36045 (lrint_downward_test_data): New variable.
36046 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36047 (lrint_upward_test_data): New variable.
36048 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36049 (lround_test_data): New variable.
36050 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36051
36052 2013-05-15 Peter Collingbourne <pcc@google.com>
36053
36054 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36055 (EXTRACT_WORDS64) Use where appropriate.
36056 (INSERT_WORDS64) Likewise.
36057
36058 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36059 constraints with x constraints.
36060 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36061
36062 * malloc/obstack.c (_obstack_compat): Add initializer.
36063
36064 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36065
36066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36067 si_trapno and add si_addr_lsb to _sifields.sigfault.
36068 (si_trapno): Remove macro.
36069 (si_addr_lsb): Define new macro.
36070 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36071
36072 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36073
36074 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36075 instead of TEST_f_l.
36076 (llrint_test_tonearest): Likewise.
36077 (llrint_test_towardzero): Likewise.
36078 (llrint_test_downward): Likewise.
36079 (llrint_test_upward): Likewise.
36080 (llround_test): Likewise.
36081
36082 * math/libm-test.inc (struct test_f_i_data): Add comment.
36083 (RUN_TEST_LOOP_f_b): New macro.
36084 (RUN_TEST_LOOP_f_b_tg): Likewise.
36085 (finite_test_data): New variable.
36086 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36087 (isfinite_test_data): New variable.
36088 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36089 (isinf_test_data): New variable.
36090 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36091 (isnan_test_data): New variable.
36092 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36093 (isnormal_test_data): New variable.
36094 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36095 (issignaling_test_data): New variable.
36096 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36097 (signbit_test_data): New variable.
36098 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36099
36100 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36101 with INVALID_EXCEPTION.
36102 (acosh_test_data): Likewise.
36103 (asin_test_data): Likewise.
36104 (atanh_test_data): Likewise.
36105 (fmod_test_data): Likewise.
36106 (log_test_data): Likewise.
36107 (log10_test_data): Likewise.
36108 (log2_test_data): Likewise.
36109 (pow_test_data): Likewise.
36110 (sqrt_test_data): Likewise.
36111 (y0_test_data): Likewise.
36112 (y1_test_data): Likewise.
36113 (yn_test_data): Likewise.
36114
36115 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36116 function contents.
36117
36118 * math/libm-test.inc (struct test_ff_i_data): New type.
36119 (RUN_TEST_LOOP_ff_i_tg): New macro.
36120 (isgreater_test_data): New variable.
36121 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36122 (isgreaterequal_test_data): New variable.
36123 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36124 (isless_test_data): New variable.
36125 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36126 (islessequal_test_data): New variable.
36127 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36128 (islessgreater_test_data): New variable.
36129 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36130 (isunordered_test_data): New variable.
36131 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36132
36133 2013-05-14 David S. Miller <davem@davemloft.net>
36134
36135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36136
36137 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36138
36139 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36140
36141 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36142 extra_test to int.
36143 (struct test_f_i_data): Change type of max_ulp to int.
36144
36145 * math/libm-test.inc (test_ffI_f1_data): New type.
36146 (RUN_TEST_LOOP_ffI_f1): New macro.
36147 (remquo_test_data): New variable.
36148 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36149
36150 * setjmp/tst-setjmp-fp.c: New file.
36151 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36152 (link-libm): New variable.
36153 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36154
36155 * math/libm-test.inc (struct test_f_i_data): New type.
36156 (RUN_TEST_LOOP_f_i): New macro.
36157 (RUN_TEST_LOOP_f_i_tg): Likewise.
36158 (fpclassify_test_data): New variable.
36159 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36160 (ilogb_test_data): New variable.
36161 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36162
36163 * math/libm-test.inc (scalbln_test): Correct function name in END
36164 call.
36165
36166 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36167 (RUN_TEST_LOOP_fI_f1): New macro.
36168 (frexp_test_data): New variable.
36169 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36170
36171 * math/libm-test.inc (struct test_fF_f1_data): New type.
36172 (RUN_TEST_LOOP_fF_f1): New macro.
36173 (modf_test_data): New variable.
36174 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36175
36176 * math/libm-test.inc (struct test_f_f1_data): New type.
36177 (RUN_TEST_LOOP_f_f1): New macro.
36178 (gamma_test_data): New variable.
36179 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36180 (lgamma_test_data): New variable.
36181 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36182
36183 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36184
36185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36186 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36187 (main): Comment "tls" pseudo-hwcap.
36188
36189 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36190
36191 * math/libm-test.inc (struct test_fl_f_data): New type.
36192 (RUN_TEST_LOOP_fl_f): New variable.
36193 (scalbln_test_data): New variable.
36194 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36195
36196 * math/libm-test.inc (struct test_fi_f_data): New type.
36197 (RUN_TEST_LOOP_fi_f): New macro.
36198 (ldexp_test_data): New variable.
36199 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36200 (scalbn_test_data): New variable.
36201 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36202
36203 * math/libm-test.inc (struct test_c_f_data): New type.
36204 (RUN_TEST_LOOP_c_f): New macro.
36205 (cabs_test_data): New variable.
36206 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36207 (carg_test_data): New variable.
36208 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36209 (cimag_test_data): New variable.
36210 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36211 (creal_test_data): New variable.
36212 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36213
36214 * math/libm-test.inc (struct test_if_f_data): New type.
36215 (RUN_TEST_LOOP_if_f): New macro.
36216 (jn_test_data): New variable.
36217 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36218 (yn_test_data): New variable.
36219 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36220
36221 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36222
36223 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36224
36225 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36226 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36227
36228 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36229
36230 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36231 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36232 (bench-deps): Add bench-timing.h.
36233 * benchtests-bench-skeleton.c: Include bench-timing.h.
36234 (main): Use TIMING_* macros instead of clock_gettime.
36235 * benchtests/bench-timing.h: New file.
36236
36237 [BZ #14582]
36238 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36239 Renamed from _LIB_VERSION.
36240 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36241
36242 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36243
36244 * math/libm-test.inc (struct test_fff_f_data): New type.
36245 (RUN_TEST_LOOP_fff_f): New macro.
36246 (fma_test_data): New variable.
36247 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36248 (fma_towardzero_test_data): New variable.
36249 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36250 (fma_downward_test_data): New variable.
36251 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36252 (fma_upward_test_data): New variable.
36253 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36254
36255 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36256 (struct test_c_c_data): New type.
36257 (RUN_TEST_LOOP_c_c): New macro.
36258 (cacos_test_data): New variable.
36259 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36260 (cacosh_test_data): New variable.
36261 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36262 (casin_test_data): New variable.
36263 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36264 (casinh_test_data): New variable.
36265 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36266 (catan_test_data): New variable.
36267 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36268 (catanh_test_data): New variable.
36269 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36270 (ccos_test_data): New variable.
36271 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36272 (ccosh_test_data): New variable.
36273 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36274 (cexp_test_data): New variable.
36275 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36276 (clog_test_data): New variable.
36277 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36278 (clog10_test_data): New variable.
36279 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36280 (conj_test_data): New variable.
36281 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36282 (cproj_test_data): New variable.
36283 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36284 (csin_test_data): New variable.
36285 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36286 (csinh_test_data): New variable.
36287 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36288 (csqrt_test_data): New variable.
36289 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36290 (ctan_test_data): New variable.
36291 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36292 (ctan_tonearest_test_data): New variable.
36293 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36294 (ctan_towardzero_test_data): New variable.
36295 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36296 (ctan_downward_test_data): New variable.
36297 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36298 (ctan_upward_test_data): New variable.
36299 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36300 (ctanh_test_data): New variable.
36301 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36302 (ctanh_tonearest_test_data): New variable.
36303 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36304 (ctanh_towardzero_test_data): New variable.
36305 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36306 (ctanh_downward_test_data): New variable.
36307 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36308 (ctanh_upward_test_data): New variable.
36309 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36310 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36311 of BUILD_COMPLEX.
36312
36313 * math/libm-test.inc (struct test_ff_f_data): New type.
36314 (struct test_ff_f_data_nexttoward): Likewise.
36315 (RUN_TEST_LOOP_2_f): New macro.
36316 (RUN_TEST_LOOP_ff_f): Likewise.
36317 (atan2_test_data): New variable.
36318 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36319 (copysign_test_data): New variable.
36320 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36321 (fdim_test_data): New variable.
36322 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36323 (fmax_test_data): New variable.
36324 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36325 (fmin_test_data): New variable.
36326 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36327 (fmod_test_data): New variable.
36328 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36329 (hypot_test_data): New variable.
36330 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36331 (nextafter_test_data): New variable.
36332 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36333 (nexttoward_test_data): New variable.
36334 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36335 (pow_test_data): New variable.
36336 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36337 (pow_tonearest_test_data): New variable.
36338 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36339 (pow_towardzero_test_data): New variable.
36340 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36341 (pow_downward_test_data): New variable.
36342 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36343 (pow_upward_test_data): New variable.
36344 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36345 (remainder_test_data): New variable.
36346 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36347 (scalb_test_data): New variable.
36348 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36349 * sysdeps/i386/fpu/libm-test-ulps: Update.
36350
36351 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36352
36353 * math/libm-test.inc (fma_test): Use max_value instead of local
36354 variable fltmax.
36355 (nextafter_test): Likewise.
36356
36357 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36358 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36359 (acos_downward_test_data): New variable.
36360 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36361 (acos_upward_test_data): New variable.
36362 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36363 (acosh_test_data): New variable.
36364 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36365 (asin_test_data): New variable.
36366 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36367 (asin_tonearest_test_data): New variable.
36368 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36369 (asin_towardzero_test_data): New variable.
36370 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36371 (asin_downward_test_data): New variable.
36372 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36373 (asin_upward_test_data): New variable.
36374 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36375 (asinh_test_data): New variable.
36376 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36377 (atan_test_data): New variable.
36378 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36379 (atanh_test_data): New variable.
36380 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36381 (cbrt_test_data): New variable.
36382 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36383 (ceil_test_data): New variable.
36384 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36385 (cos_test_data): New variable.
36386 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36387 (cos_tonearest_test_data): New variable.
36388 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36389 (cos_towardzero_test_data): New variable.
36390 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36391 (cos_downward_test_data): New variable.
36392 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36393 (cos_upward_test_data): New variable.
36394 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36395 (cosh_test_data): New variable.
36396 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36397 (cosh_tonearest_test_data): New variable.
36398 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36399 (cosh_towardzero_test_data): New variable.
36400 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36401 (cosh_downward_test_data): New variable.
36402 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36403 (cosh_upward_test_data): New variable.
36404 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36405 (erf_test_data): New variable.
36406 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36407 (erfc_test_data): New variable.
36408 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36409 (exp_test_data): New variable.
36410 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36411 (exp_tonearest_test_data): New variable.
36412 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36413 (exp_towardzero_test_data): New variable.
36414 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36415 (exp_downward_test_data): New variable.
36416 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36417 (exp_upward_test_data): New variable.
36418 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36419 (exp10_test_data): New variable.
36420 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36421 (exp2_test_data): New variable.
36422 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36423 (expm1_test_data): New variable.
36424 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36425 (fabs_test_data): New variable.
36426 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36427 (floor_test_data): New variable.
36428 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36429 (j0_test_data): New variable.
36430 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36431 (j1_test_data): New variable.
36432 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36433 (log_test_data): New variable.
36434 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36435 (log10_test_data): New variable.
36436 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36437 (log1p_test_data): New variable.
36438 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36439 (log2_test_data): New variable.
36440 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36441 (logb_test_data): New variable.
36442 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36443 (logb_downward_test_data): New variable.
36444 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36445 (nearbyint_test_data): New variable.
36446 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36447 (rint_test_data): New variable.
36448 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36449 (rint_tonearest_test_data): New variable.
36450 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36451 (rint_towardzero_test_data): New variable.
36452 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36453 (rint_downward_test_data): New variable.
36454 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36455 (rint_upward_test_data): New variable.
36456 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36457 (round_test_data): New variable.
36458 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36459 (sin_test_data): New variable.
36460 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36461 (sin_tonearest_test_data): New variable.
36462 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36463 (sin_towardzero_test_data): New variable.
36464 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36465 (sin_downward_test_data): New variable.
36466 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36467 (sin_upward_test_data): New variable.
36468 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36469 (sinh_test_data): New variable.
36470 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36471 (sinh_tonearest_test_data): New variable.
36472 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36473 (sinh_towardzero_test_data): New variable.
36474 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36475 (sinh_downward_test_data): New variable.
36476 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36477 (sinh_upward_test_data): New variable.
36478 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36479 (sqrt_test_data): New variable.
36480 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36481 (tan_test_data): New variable.
36482 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36483 (tan_tonearest_test_data): New variable.
36484 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36485 (tan_towardzero_test_data): New variable.
36486 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36487 (tan_downward_test_data): New variable.
36488 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36489 (tan_upward_test_data): New variable.
36490 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36491 (tanh_test_data): New variable.
36492 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36493 (tgamma_test_data): New variable.
36494 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36495 (trunc_test_data): New variable.
36496 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36497 (y0_test_data): New variable.
36498 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36499 (y1_test_data): New variable.
36500 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36501 (significand_test_data): New variable.
36502 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36503
36504 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36505
36506 [BZ #12387]
36507 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36508
36509 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36510
36511 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36512
36513 2013-05-10 Andreas Jaeger <aj@suse.de>
36514
36515 [BZ #15448]
36516 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36517 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36518
36519 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36520
36521 * math/gen-libm-test.pl (adjust_arg): New function.
36522 (special_functions): Handle generating output in both functions
36523 and arrays.
36524 (parse_args): Likewise.
36525 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36526 $in_func argument to parse_args.
36527 * math/libm-test.inc (struct test_f_f_data): New type.
36528 (IF_ROUND_INIT_): New macro.
36529 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36530 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36531 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36532 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36533 (ROUND_RESTORE_): Likewise.
36534 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36535 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36536 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36537 (ROUND_RESTORE_FE_UPWARD): Likewise.
36538 (RUN_TEST_LOOP_f_f): New macro.
36539 (acos_test_data): New variable.
36540 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36541 (acos_tonearest_test_data): New variable.
36542 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36543
36544 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36545
36546 * benchtests/bench-skeleton.c (startup): Fix coding style.
36547
36548 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36549
36550 [BZ #6809]
36551 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36552 negative infinity argument.
36553 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36554 negative infinity argument.
36555 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36556 negative infinity argument.
36557 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36558 domain errors.
36559
36560 2013-05-10 Florian Weimer <fweimer@redhat.com>
36561
36562 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36563 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36564 * iconv/iconv_prog.c (main): Likewise.
36565 * locale/programs/charmap-dir.c (charmap_readdir)
36566 (fopen_uncompressed): Likewise.
36567 * locale/programs/locfile.c (siblings_uncached)
36568 (write_locale_data): Use lstat64 instead of lstat.
36569 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36570 stat.
36571
36572 2013-05-10 Andreas Jaeger <aj@suse.de>
36573
36574 [BZ #15395]
36575 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36576 localization.
36577 Include <locale.h>.
36578
36579 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36580
36581 * elf/dl-close.c (_dl_close_worker): Add comments.
36582
36583 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #15359]
36586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36587 high part of pi/2.
36588 (__ieee754_rem_pio2l): Update comments.
36589
36590 [BZ #15429]
36591 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36592 high part of pi/2.
36593 (__ieee754_rem_pio2l): Update comments.
36594
36595 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36596 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36597
36598 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36599 M_PI_4l.
36600
36601 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36602 (M_PI_34_LOG10El): Likewise.
36603 (M_PI2_LOG10El): Likewise.
36604 (M_PI4_LOG10El): Likewise.
36605 (M_PI_LOG10El): Likewise.
36606
36607 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36608
36609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36610
36611 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36612
36613 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36614 (MINUS_ZERO_INIT): Likewise.
36615 (PLUS_INFTY_INIT): Likewise.
36616 (MINUS_INFTY_INIT): Likewise.
36617 (QNAN_VALUE_INIT): Likewise.
36618 (MAX_VALUE_INIT): Likewise.
36619 (MIN_VALUE_INIT): Likewise.
36620 (MIN_SUBNORM_VALUE_INIT): Likewise.
36621 (plus_zero): Initialize with PLUS_ZERO_INIT.
36622 (minus_zero): Initialize with MINUS_ZERO_INIT.
36623 (plus_infty): Initialize with PLUS_INFTY_INIT.
36624 (minus_infty): Initialize with MINUS_INFTY_INIT.
36625 (qnan_value): Initialize with QNAN_VALUE_INIT.
36626 (max_value): Initialize with MAX_VALUE_INIT.
36627 (min_value): Initialize with MIN_VALUE_INIT.
36628 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36629
36630 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36631 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36632 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36633 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36634
36635 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36636 (RUN_TEST_2_f): Likewise.
36637 (RUN_TEST_ff_f): Likewise.
36638 (RUN_TEST_fi_f): Likewise.
36639 (RUN_TEST_fl_f): Likewise.
36640 (RUN_TEST_fff_f): Likewise.
36641 (RUN_TEST_c_f): Likewise.
36642 (RUN_TEST_f_f1): Likewise.
36643 (RUN_TEST_fF_f1): Likewise.
36644 (RUN_TEST_fI_f1): Likewise.
36645 (RUN_TEST_ffI_f1): Likewise.
36646 (RUN_TEST_c_c): Likewise.
36647 (RUN_TEST_cc_c): Likewise.
36648 (RUN_TEST_f_i): Likewise.
36649 (RUN_TEST_f_i_tg): Likewise.
36650 (RUN_TEST_ff_i_tg): Likewise.
36651 (RUN_TEST_f_b): Likewise.
36652 (RUN_TEST_f_b_tg): Likewise.
36653 (RUN_TEST_f_l): Likewise.
36654 (RUN_TEST_f_L): Likewise.
36655 (RUN_TEST_sincos): Likewise.
36656 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36657 whether to show exceptions. Do not include ");\n" in return
36658 value.
36659 (special_functions): Output call to RUN_TEST_sincos instead of
36660 check_float calls. Update calls to new_test.
36661 (parse_args): Output call to single RUN_TEST_* macro instead of
36662 check_* calls and other assignments. Update calls to new_test.
36663
36664 [BZ #2546]
36665 [BZ #2560]
36666 [BZ #5159]
36667 [BZ #15426]
36668 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36669 input to result for tgamma overflow.
36670 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36671 (gamma_coeff): New variable.
36672 (NCOEFF): New macro.
36673 (gamma_positive): New function.
36674 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36675 underflow here. Use gamma_positive instead of exp (lgamma) for
36676 other arguments.
36677 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36678 (gamma_coeff): New variable.
36679 (NCOEFF): New macro.
36680 (gammaf_positive): New function.
36681 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36682 underflow here. Use gamma_positive instead of exp (lgamma) for
36683 other arguments.
36684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36685 (gamma_coeff): New variable.
36686 (NCOEFF): New macro.
36687 (gammal_positive): New function.
36688 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36689 underflow here. Use gamma_positive instead of exp (lgamma) for
36690 other arguments.
36691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36692 (gamma_coeff): New variable.
36693 (NCOEFF): New macro.
36694 (gammal_positive): New function.
36695 (__ieee754_gammal_r): Handle positive infinity, overflow and
36696 underflow here. Handle NaN the same as positive infinity. Remove
36697 check x < 0xffffffff for negative integers. Use gamma_positive
36698 instead of exp (lgamma) for other arguments.
36699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36700 (gamma_coeff): New variable.
36701 (NCOEFF): New macro.
36702 (gammal_positive): New function.
36703 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36704 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36708 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36709 * sysdeps/generic/math_private.h (__gamma_productf): New
36710 prototype.
36711 (__gamma_product): Likewise.
36712 (__gamma_productl): Likewise.
36713 * math/Makefile (libm-calls): Add gamma_product.
36714 * math/libm-test.inc (tgamma_test): Add more tests.
36715 * sysdeps/i386/fpu/libm-test-ulps: Update.
36716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36717
36718 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36719
36720 * benchtests/bench-skeleton.c (main): Preheat CPU.
36721
36722 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36723
36724 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36725
36726 2013-05-07 Roland McGrath <roland@hack.frob.com>
36727
36728 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36729 and _dl_skip_args_internal.
36730
36731 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36732
36733 * manual/message.texi (Message Translation): Talk about users.
36734 Message to key mapping impacts design.
36735
36736 2013-05-06 Roland McGrath <roland@hack.frob.com>
36737
36738 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36739
36740 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36741
36742 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36743 * sysdeps/wordsize-64/glob64.c: ... here.
36744
36745 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36746 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36747 New macros.
36748
36749 * debug/getlogin_r_chk.c: Moved to ...
36750 * login/getlogin_r_chk.c: ... here.
36751 * debug/Makefile (routines): Move getlogin_r_chk to ...
36752 * login/Makefile (routines): ... here.
36753 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36754 * login/Versions (libc: GLIBC_2.4): ... here.
36755
36756 * io/poll.c (__poll): Renamed from poll.
36757 Add libc_hidden_def.
36758 (poll): Define as weak alias.
36759
36760 * debug/ptsname_r_chk.c: Moved to ...
36761 * login/ptsname_r_chk.c: ... here.
36762 * debug/Makefile (routines): Move ptsname_r_chk to ...
36763 * login/Makefile (routines): ... here.
36764 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36765 * login/Versions (libc: GLIBC_2.4): ... here.
36766
36767 * posix/getlogin.c: Moved to ...
36768 * login/getlogin.c: ... here.
36769 * posix/getlogin_r.c: Moved to ...
36770 * login/getlogin_r.c: ... here.
36771 * posix/getlogin_r.c: Moved to ...
36772 * login/getlogin_r.c: ... here.
36773 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36774 * login/Makefile (routines): ... here.
36775 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36776 * login/Versions (libc: GLIBC_2.0): ... here.
36777
36778 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36779 (setrlimit): Define as weak alias.
36780
36781 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36782 Call __ names for open, ftruncate, and close.
36783 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36784 (truncate): Define as weak alias.
36785
36786 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36787
36788 * math/gen-libm-test.pl (parse_args): Initialize x before each
36789 test of frexp, modf and remquo.
36790
36791 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36792 test signgam value.
36793
36794 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36795
36796 [BZ #15418]
36797 [BZ #15419]
36798 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36799 internal tests.
36800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36801
36802 2013-05-06 Roland McGrath <roland@hack.frob.com>
36803
36804 * elf/dl-writev.h: New file.
36805 * elf/dl-misc.c: Include it.
36806 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36807 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36808
36809 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36810
36811 * math/libm-test.inc (noXFails): Remove variable.
36812 (noXPasses): Likewise.
36813 (BUILD_COMPLEX_INT): Remove macro.
36814 (print_screen): Remove xfail argument.
36815 (print_screen_max_error): Likewise.
36816 (update_stats): Likewise.
36817 (print_max_error): Likewise. Update calls to other affected
36818 functions.
36819 (print_complex_max_error): Likewise.
36820 (test_single_exception): Update calls to print_screen.
36821 (test_single_errno): Likewise.
36822 (check_float_internal): Remove xfail argument. Update calls to
36823 other affected functions.
36824 (check_float): Likewise.
36825 (check_complex): Likewise.
36826 (check_int): Likewise.
36827 (check_long): Likewise.
36828 (check_bool): Likewise.
36829 (check_longlong): Likewise.
36830 (main): Don't print noXFails and noXPasses.
36831 * math/gen-libm-test.pl (top level): Don't mention expected
36832 failure handling in comment.
36833 (new_test): Don't handle expected failures.
36834 (parse_args): Don't mention expected failure handling in comment.
36835 (generate_testfile): Don't handle expected failures.
36836 (parse_ulps): Likewise.
36837 (print_ulps_file): Likewise.
36838 (get_failure): Remove function.
36839 (output_test): Don't handle expected failures.
36840 * make/README.libm-test: Don't mention expected failure handling.
36841
36842 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36843 (minus_zero): Likewise.
36844 (plus_infty): Likewise.
36845 (minus_infty): Likewise.
36846 (qnan_value): Likewise.
36847 (max_value): Likewise.
36848 (min_value): Likewise.
36849 (min_subnorm_value): Likewise.
36850 (initialize): Do not initialize those variables dynamically.
36851
36852 2013-05-03 Roland McGrath <roland@hack.frob.com>
36853
36854 * io/open.c (__open_2): Moved to ...
36855 * io/open_2.c: ... this new file.
36856 * io/open64.c (__open64_2): Moved to ...
36857 * io/open64_2.c: ... this new file.
36858 * io/openat.c (__openat_2): Moved to ...
36859 * io/openat_2.c: ... this new file.
36860 * io/openat64.c (__openat64_2): Moved to ...
36861 * io/openat64_2.c: ... this new file.
36862 * io/Makefile (routines): Add them.
36863 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36864 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36865 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36866 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36867 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36868 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36869 (__openat64): Add hidden_ver.
36870 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36871 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36872
36873 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36874 Separately conditionalize setting of GLRO(dl_sysinfo) so
36875 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36876 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36877
36878 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36879
36880 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36882 definition.
36883 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36884 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36885 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36886 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36887 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36888
36889 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36890
36891 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36892 test signgam value.
36893
36894 * math/libm-test.inc (hypot_test): Do not use
36895 IGNORE_ZERO_INF_SIGN.
36896
36897 2013-05-03 Andreas Jaeger <aj@suse.de>
36898
36899 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36900 Linux 3.9.
36901 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36902 (PF_MAX): Adjust for VSOCK change.
36903
36904 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36905
36906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36907
36908 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36909
36910 [BZ #15264]
36911 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36912 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36913 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36914
36915 2013-05-02 David S. Miller <davem@davemloft.net>
36916
36917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36918
36919 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36920
36921 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36922
36923 2013-05-01 Roland McGrath <roland@hack.frob.com>
36924
36925 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36926
36927 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36928
36929 [BZ #14952]
36930 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36931 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36932 Use __attribute__ ((__gnu_inline__)).
36933 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36934 Don't use __attribute__ ((__gnu_inline__)).
36935
36936 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36937
36938 [BZ #15423]
36939 * math/s_catan.c (__catan): Handle small real or imaginary part of
36940 input specially to avoid spurious underflow.
36941 * math/s_catanf.c (__catanf): Likewise.
36942 * math/s_catanh.c (__catanh): Likewise.
36943 * math/s_catanhf.c (__catanhf): Likewise.
36944 * math/s_catanhl.c (__catanhl): Likewise.
36945 * math/s_catanl.c (__catanl): Likewise.
36946 * math/libm-test.inc (catan_test): Add more tests.
36947 (catanh_test): Likewise.
36948 * sysdeps/i386/fpu/libm-test-ulps: Update.
36949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36950
36951 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36952
36953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36954
36955 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36956
36957 [BZ #15416]
36958 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36959 accurately for denominator in atan2.
36960 * math/s_catanf.c (__catanf): Likewise.
36961 * math/s_catanh.c (__catanh): Likewise.
36962 * math/s_catanhf.c (__catanhf): Likewise.
36963 * math/s_catanhl.c (__catanhl): Likewise.
36964 * math/s_catanl.c (__catanl): Likewise.
36965 * math/libm-test.inc (catan_test): Add more tests.
36966 (catanh_test): Likewise.
36967 * sysdeps/i386/fpu/libm-test-ulps: Update.
36968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969
36970 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36971
36972 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36973
36974 * benchtests/Makefile (bench): Remove slow benchmarks.
36975 * benchtests/atan-inputs: Add slow benchmark inputs.
36976 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36977 (BENCH_FUNC): Accept variant offset.
36978 (VARIANT): Define.
36979 * benchtests/bench-skeleton.c (main): Run benchmark for each
36980 variant.
36981 * benchtests/cos-inputs: Add slow benchmark inputs.
36982 * benchtests/exp-inputs: Likewise.
36983 * benchtests/pow-inputs: Likewise.
36984 * benchtests/sin-inputs: Likewise.
36985 * benchtests/slowatan-inputs: Remove.
36986 * benchtests/slowatan.c: Remove.
36987 * benchtests/slowcos-inputs: Remove.
36988 * benchtests/slowcos.c: Remove.
36989 * benchtests/slowexp-inputs: Remove.
36990 * benchtests/slowexp.c: Remove.
36991 * benchtests/slowpow-inputs: Remove.
36992 * benchtests/slowpow.c: Remove.
36993 * benchtests/slowsin-inputs: Remove.
36994 * benchtests/slowsin.c: Remove.
36995 * benchtests/slowtan-inputs: Remove.
36996 * benchtests/slowtan.c: Remove.
36997 * benchtests/tan-inputs: Add slow benchmark inputs.
36998 * scripts/bench.pl: Parse comments and directives.
36999
37000 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37001 in CPPFLAGS.
37002 ($(objpfx)bench-%.c): Remove *-ITER.
37003 * benchtests/bench-modf.c: Remove definition of ITER.
37004 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37005 (main): Loop for DURATION seconds instead of fixed number of
37006 iterations.
37007 * scripts/bench.pl: Don't expect iterations in parameters.
37008
37009 2013-04-29 Roland McGrath <roland@hack.frob.com>
37010
37011 * io/fchdir.c (__fchdir): Renamed from fchdir.
37012 (fchdir): Define as weak alias.
37013
37014 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37015
37016 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37017 (ERRNO_EDOM): Likewise.
37018 (ERRNO_ERANGE): Likewise.
37019 (noErrnoTests): New variable.
37020 (init_max_error): Set errno to 0.
37021 (test_single_errno): New function.
37022 (test_errno): Likewise.
37023 (check_float_internal): Call test_errno. Set errno to 0.
37024 (check_complex): Refer to errno tests in comment.
37025 (check_int): Call test_errno. Set errno to 0.
37026 (check_long): Likewise.
37027 (check_bool): Likewise.
37028 (check_longlong): Likewise.
37029 (cos_test): Use ERRNO_* flags for errno tests instead of
37030 check_int.
37031 (expm1_test): Likewise.
37032 (fmod_test): Likewise.
37033 (ilogb_test): Likewise.
37034 (lgamma_test): Likewise.
37035 (pow_test): Likewise.
37036 (remainder_test): Likewise.
37037 (sin_test): Likewise.
37038 (tan_test): Likewise.
37039 (yn_test): Likewise.
37040 (initialize): Set errno to 0.
37041 (main): Print number of errno tests.
37042 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37043
37044 2013-04-29 Andreas Jaeger <aj@suse.de>
37045
37046 [BZ #15084]
37047 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37048 and RES_USEVC.
37049
37050 [BZ #15085]
37051 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37052 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37053 unimplemented.
37054
37055 [BZ #15380]
37056 * stdlib/random.c (__initstate): Return NULL if
37057 __initstate fails.
37058
37059 [BZ #15086]
37060 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37061 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37062 RES_SNGLKUPREOP.
37063
37064 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37065
37066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37067
37068 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37069
37070 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37071 of individual tests.
37072 (casin_test): Likewise.
37073 (casinh_test): Likewise.
37074
37075 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37076
37077 [BZ #15409]
37078 * math/s_catan.c (__catan): Handle arguments with large real or
37079 imaginary part separately without squaring.
37080 * math/s_catanf.c (__catanf): Likewise.
37081 * math/s_catanh.c (__catanh): Likewise.
37082 * math/s_catanhf.c (__catanhf): Likewise.
37083 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37084 and redefine.
37085 (__catanhl): Handle arguments with large real or imaginary part
37086 separately without squaring.
37087 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37088 and redefine.
37089 (__catanl): Handle arguments with large real or imaginary part
37090 separately without squaring.
37091 * math/libm-test.inc (catan_test): Add more tests.
37092 (catanh_test): Likewise.
37093 * sysdeps/i386/fpu/libm-test-ulps: Update.
37094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37095
37096 2013-04-27 Andreas Jaeger <aj@suse.de>
37097
37098 [BZ #15007]
37099 * stdlib/stdlib.h: Update guards for qecvt.
37100 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37101 <stdlib.h>.
37102
37103 2013-04-27 Allan McRae <allan@archlinux.org>
37104
37105 * sysdeps/i386/fpu/libm-test-ulps: Update.
37106
37107 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37108
37109 [BZ #15406]
37110 * math/s_catan.c: Include <float.h>.
37111 (__catan): Ensure underflow exception occurs for underflowed
37112 result.
37113 * math/s_catanf.c: Include <float.h>.
37114 (__catanf): Ensure underflow exception occurs for underflowed
37115 result.
37116 * math/s_catanh.c: Include <float.h>.
37117 (__catanh): Ensure underflow exception occurs for underflowed
37118 result.
37119 * math/s_catanhf.c: Include <float.h>.
37120 (__catanhf): Ensure underflow exception occurs for underflowed
37121 result.
37122 * math/s_catanhl.c: Include <float.h>.
37123 (__catanhl): Ensure underflow exception occurs for underflowed
37124 result.
37125 * math/s_catanl.c: Include <float.h>.
37126 (__catanl): Ensure underflow exception occurs for underflowed
37127 result.
37128 * math/libm-test.inc (catan_test): Add more tests.
37129 (catanh_test): Likewise.
37130
37131 [BZ #15405]
37132 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37133 underflowed result.
37134 * math/s_ccoshf.c (__ccoshf): Likewise.
37135 * math/s_ccoshl.c (__ccoshl): Likewise.
37136 * math/s_csin.c (__csin): Likewise.
37137 * math/s_csinf.c (__csinf): Likewise.
37138 * math/s_csinh.c (__csinh): Likewise.
37139 * math/s_csinhf.c (__csinhf): Likewise.
37140 * math/s_csinhl.c (__csinhl): Likewise.
37141 * math/s_csinl.c (__csinl): Likewise.
37142 * math/libm-test.inc (ccos_test): Add more tests.
37143 (ccosh_test): Likewise.
37144 (csin_test): Likewise.
37145 (csinh_test): Likewise.
37146
37147 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37148
37149 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37150 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37151 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37152 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37153 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37154 powerpc/power5+/fpu folders.
37155 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37156
37157
37158 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37159
37160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37161
37162 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37163
37164 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37165 additions to variable.
37166 [$(config-machine) = x86_64] (modules-names): Likewise.
37167 ($(objpfx)tst-audit3): Remove dependency.
37168 ($(objpfx)tst-audit3.out): Likewise.
37169 ($(objpfx)tst-audit4): Likewise.
37170 ($(objpfx)tst-audit4.out): Likewise.
37171 ($(objpfx)tst-audit5): Likewise.
37172 ($(objpfx)tst-audit5.out): Likewise.
37173 ($(objpfx)tst-audit6): Likewise.
37174 ($(objpfx)tst-audit6.out): Likewise.
37175 ($(objpfx)tst-audit7): Likewise.
37176 ($(objpfx)tst-audit7.out): Likewise.
37177 (tst-audit3-ENV): Remove variable.
37178 (tst-audit4-ENV): Likewise.
37179 (tst-audit5-ENV): Likewise.
37180 (tst-audit6-ENV): Likewise.
37181 (tst-audit7-ENV): Likewise.
37182 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37183 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37184 addition to variable.
37185 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37186 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37190 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37191 tst-audit3, tst-audit4 and tst-audit5.
37192 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37193 tst-audit6 and tst-audit7.
37194 [$(subdir) = elf] (modules-names): Add audit modules for those
37195 tests.
37196 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37197 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37198 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37199 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37200 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37201 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37202 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37203 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37204 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37205 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37206 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37207 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37208 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37209 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37210 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37211 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37212 Likewise.
37213 [$(subdir) = elf && $(config-cflags-avx) = yes]
37214 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37215 [$(subdir) = elf && $(config-cflags-avx) = yes]
37216 (CFLAGS-tst-auditmod4a.c): Likewise.
37217 [$(subdir) = elf && $(config-cflags-avx) = yes]
37218 (CFLAGS-tst-auditmod4b.c): Likewise.
37219 [$(subdir) = elf && $(config-cflags-avx) = yes]
37220 (CFLAGS-tst-auditmod6b.c): Likewise.
37221 [$(subdir) = elf && $(config-cflags-avx) = yes]
37222 (CFLAGS-tst-auditmod6c.c): Likewise.
37223 [$(subdir) = elf && $(config-cflags-avx) = yes]
37224 (CFLAGS-tst-auditmod7b.c): Likewise.
37225 * elf/tst-audit3.c: Move to ...
37226 * sysdeps/x86_64/tst-audit3.c: ... here.
37227 * elf/tst-audit4.c: Move to ...
37228 * sysdeps/x86_64/tst-audit4.c: ... here.
37229 * elf/tst-audit5.c: Move to ...
37230 * sysdeps/x86_64/tst-audit5.c: ... here.
37231 * elf/tst-audit6.c: Move to ...
37232 * sysdeps/x86_64/tst-audit6.c: ... here.
37233 * elf/tst-audit7.c: Move to ...
37234 * sysdeps/x86_64/tst-audit7.c: ... here.
37235 * elf/tst-auditmod3a.c: Move to ...
37236 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37237 * elf/tst-auditmod3b.c: Move to ...
37238 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37239 * elf/tst-auditmod4a.c: Move to ...
37240 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37241 * elf/tst-auditmod4b.c: Move to ...
37242 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37243 * elf/tst-auditmod5a.c: Move to ...
37244 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37245 * elf/tst-auditmod5b.c: Move to ...
37246 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37247 * elf/tst-auditmod6a.c: Move to ...
37248 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37249 * elf/tst-auditmod6b.c: Move to ...
37250 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37251 * elf/tst-auditmod6c.c: Move to ...
37252 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37253 * elf/tst-auditmod7a.c: Move to ...
37254 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37255 * elf/tst-auditmod7b.c: Move to ...
37256 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37257
37258 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37259
37260 [BZ #15366]
37261 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37262 define unconditionally.
37263 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37264 define unconditionally.
37265 (INT8_C, INT16_C, etc.): Likewise.
37266
37267 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37268
37269 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37270 __ehdr_start with hidden visibility.
37271
37272 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37273
37274 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37275
37276 * math/libm-test.inc (cos_test): Use accurate hex constants.
37277 (sincost_test): Likewise.
37278
37279 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37280
37281 * math/libm-test.inc (catan_test): Add more tests.
37282 (catanh_test): Likewise.
37283
37284 * math/s_catanf.c (__catanf): Use suffixed floating-point
37285 constants.
37286 * math/s_catanhf.c (__catanhf): Likewise.
37287 * math/s_catanhl.c (__catanhl): Likewise.
37288 * math/s_catanl.c (__catanl): Likewise.
37289
37290 [BZ #15394]
37291 * math/s_catan.c (__catan): Calculate imaginary part of result
37292 with log1p not log unless computing log of number close to 0.
37293 * math/s_catanf.c (__catanf): Likewise.
37294 * math/s_catanl.c (__catanl): Likewise.
37295 * math/s_catanh.c (__catanh): Calculate real part of result with
37296 log1p not log unless computing log of number close to 0.
37297 * math/s_catanhf.c (__catanhf): Likewise.
37298 * math/s_catanhl.c (__catanhl): Likewise.
37299 * math/libm-test.inc (catan_test): Add more tests.
37300 (catanh_test): Likewise.
37301 * sysdeps/i386/fpu/libm-test-ulps: Update.
37302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37303
37304 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37305
37306 * benchtests/Makefile: Mention files in which fast and slow
37307 paths of math functions are implemented.
37308
37309 2013-04-23 Roland McGrath <roland@hack.frob.com>
37310
37311 * sysdeps/posix/timespec_get.c: New file.
37312
37313 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37314
37315 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37316 POWER.
37317 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37318 for POWER.
37319 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37320 powerpc/power5/fpu folders.
37321 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37322 * benchtests/Makefile: Add modf testcase.
37323 * benchtests/bench-modf.c: New file: Benchmark test for mo
37324
37325 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37326
37327 [BZ #14888]
37328 * time/Makefile (tests): Add tst-strptime-whitespace.
37329 * time/strptime_l.c (get_number): Use ISSPACE.
37330 (__strptime_internal): Likewise.
37331 * time/tst-strptime-whitespace.c: New test case.
37332
37333 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37334
37335 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37336 member.
37337 (_nss_files_init): Set it here.
37338
37339 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37340
37341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37342 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37343 unsigned.
37344
37345 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37346
37347 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37348
37349 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37350
37351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37352 size just once.
37353
37354 2013-04-21 David S. Miller <davem@davemloft.net>
37355
37356 * po/ru.po: Update Russion translation from translation project.
37357
37358 2013-04-17 Adam Conrad <adconrad@0c3.net>
37359
37360 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37361 and setfsgid.
37362
37363 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37364
37365 * configure.in: Remove i386 configure warning. Remove i386 case.
37366 * configure: Regenerate.
37367 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37368 Add example to error message.
37369 * sysdeps/i386/configure: Regenerate.
37370
37371 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37372
37373 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37374 slowtan.
37375 * benchtests/cos-inputs: New file.
37376 * benchtests/slowcos-inputs: New file.
37377 * benchtests/slowcos.c: New file.
37378 * benchtests/slowtan-inputs: New file.
37379 * benchtests/slowtan.c: New file.
37380 * benchtests/tan-inputs: New file.
37381
37382 2013-04-16 Roland McGrath <roland@hack.frob.com>
37383
37384 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37385 considered kosher.
37386
37387 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37388
37389 * benchtests/Makefile: Include cppflags-iterator.mk to add
37390 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37391
37392 * Makefile.in (bench-clean): New target.
37393 * benchtests/Makefile (bench-clean): Likewise.
37394
37395 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37396
37397 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37398
37399 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37400
37401 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37402
37403 2013-04-15 Andreas Schwab <schwab@suse.de>
37404
37405 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37407 * nscd/pwdcache.c (cache_addpw): Likewise.
37408 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37409 more than recsize.
37410
37411 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37412
37413 * benchtests/Makefile (bench): Write all output to
37414 bench-out.tmp together.
37415
37416 2013-04-15 Andreas Schwab <schwab@suse.de>
37417
37418 * nscd/nscd.c (main): Don't fork again after closing files.
37419
37420 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37421
37422 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37423
37424 * benchtests/Rules (bench-deps): Collect dependencies into a
37425 single variable. Add Makefile to dependencies.
37426 ($(objpfx)bench-%.c): Depend on bench-deps.
37427
37428 2013-04-12 Roland McGrath <roland@hack.frob.com>
37429 Xavier Roche <roche+kml2@exalead.com>
37430
37431 [BZ #15361]
37432 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37433 just that it's a file descriptor.
37434 * manual/llio.texi (Synchronizing AIO Operations): Update description
37435 for EBADF error from aio_fsync.
37436
37437 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37438
37439 * Rules (bench): Move target definition...
37440 * benchtests/Makefile: ... here.
37441
37442 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37443
37444 * math/libm-test.inc (cos_test): Fix PI/2 test.
37445 (sincos_test): Likewise.
37446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37447 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37448
37449 2013-04-11 Andreas Schwab <schwab@suse.de>
37450
37451 [BZ #13988]
37452 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37453 accept exponent character only when digits were seen.
37454 * stdio-common/Makefile (tests): Add bug26.
37455 * stdio-common/bug26.c: New file.
37456
37457 [BZ #14293]
37458 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37459 non-freeable.
37460
37461 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37462
37463 * Makeconfig (rtld-prefix): Define built linker prefix.
37464 * Rules (run-bench): Use it.
37465 * math/Makefile (run-regen-ulps): Likewise.
37466
37467 * Rules (bench): Remove eval.
37468
37469 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37470 Roland McGrath <roland@hack.frob.com>
37471 Ondrej Bilka <neleai@seznam.cz>
37472
37473 [BZ #15346]
37474 * time/getdate.c: Include ctype.h and alloca.h.
37475 (__getdate_r): Trim leading and trailing spaces of input.
37476 * time/tst-getdate.c (tests): Add tests with leading and
37477 trailing spaces.
37478
37479 2013-04-08 Roland McGrath <roland@hack.frob.com>
37480
37481 [BZ #14280]
37482 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37483 when computing value.
37484
37485 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37486
37487 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37488 Use testrun.sh to run libm tests.
37489
37490 [BZ #15309]
37491 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37492
37493 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37494
37495 [BZ #15264]
37496 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37497
37498 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37499
37500 * Makefile.in (regen-ulps): New target.
37501 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37502 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37503 [ifneq (no,$(PERL)] (regen-ulps): New target.
37504 [ifeq (no,$(PERL)] (regen-ulps): New target.
37505 * math/libm-test.inc (ulps_file_name): Define.
37506 (output_dir): New variable.
37507 (options): Add "output-dir" option.
37508 (parse_opt): Handle 'o' case.
37509 (main): If output_dir is non-NULL use it as a prefix
37510 otherwise use "".
37511 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37512
37513 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37514
37515 [BZ #10060, #10062]
37516 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37517 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37518 fail configure if __sync_val_compare_and_swap is not inlined.
37519 * sysdeps/i386/configure: Regenerate.
37520 * configure.in: Build for i686 when configured for i386.
37521 * configure: Regenerate.
37522 * README: Remove i386 reference.
37523
37524 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37525
37526 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37528
37529 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37530
37531 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37532 (lmsnanval): New variables.
37533 (F): Add conversion tests.
37534 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37535 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37536
37537 * stdio-common/tstdiomisc.c (F): Properly collect individual
37538 tests' results.
37539
37540 [BZ #14686, #15336]
37541 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37542 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37543 Instead, use input NaN values or generate a qNaN by arithmetic
37544 operation. Also fix bugs to comply with the standard.
37545 * math/libm-test.inc (remainder_test): Add more tests.
37546
37547 [BZ #15335, #15342]
37548 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37550 input NaN values or generate a qNaN by arithmetic operation.
37551
37552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37553 unreachable code.
37554
37555 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37556 definitions.
37557
37558 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37559
37560 [BZ #14478]
37561 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37562 underflowed result.
37563 * math/s_cexpf.c (__cexpf): Likewise.
37564 * math/s_cexpl.c (__cexpl): Likewise.
37565 * math/libm-test.inc (cexp_test): Add more tests.
37566
37567 2013-04-03 Andreas Schwab <schwab@suse.de>
37568
37569 [BZ #15330]
37570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37571 order arrays from heap if bigger than alloca cutoff.
37572
37573 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37574
37575 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37576 (SNAN_TESTS_double): Refer to GCC PR56831.
37577 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37578 GCC PR56828.
37579
37580 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37581
37582 * Rules (bench): Move bench.out after the run is complete.
37583
37584 * Rules (bench): Echo currently running benchmark.
37585
37586 * benchtests/Makefile (bench): Add atan and slowatan.
37587 * benchtests/atan-inputs: New file.
37588 * benchtests/slowatan-inputs: New file.
37589 * benchtests/slowatan.c: New file.
37590
37591 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37592 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37593 its value.
37594
37595 [BZ #15305]
37596 * sysdeps/unix/sysv/linux/kernel-features.h
37597 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37598 __ASSUME_XFS_RESTRICTED_CHOWN.
37599 * sysdeps/unix/sysv/linux/pathconf.c
37600 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37601 Save and restore errno.
37602
37603 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37604
37605 [BZ #15327]
37606 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37607 arguments using __kernel_casinh.
37608 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37609 arguments using __kernel_casinhf.
37610 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37611 arguments using __kernel_casinhl.
37612 * math/libm-test.inc (cacosh_test): Add more tests.
37613 * sysdeps/i386/fpu/libm-test-ulps: Update.
37614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37615
37616 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37617
37618 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37620
37621 * bench/Makefile (bench): Add sin and slowsin.
37622 * benchtests/sin-inputs: New file.
37623 * benchtests/slowsin-inputs: New file.
37624 * benchtests/slowsin.c: New file.
37625
37626 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37627 (bench): Add slowexp and slowpow.
37628 (exp-ITER): Increase iterations.
37629 (pow-ITER): Likewise.
37630 * benchtests/exp-inputs: Change input.
37631 * benchtests/pow-inputs: Likewise.
37632 * benchtests/slowexp-inputs: New file.
37633 * benchtests/slowexp.c: New file.
37634 * benchtests/slowpow-inputs: New file.
37635 * benchtests/slowpow.c: New file.
37636
37637 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37638
37639 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37640 instructions.
37641 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37642 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37643 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37644 * benchtests/Makefile: Add rint benchtest.
37645 * benchtests/rint-inputs: Input for rint benchtest.
37646
37647 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37648
37649 * Versions.def (libm): Add GLIBC_2.18.
37650 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37651 hidden libm prototypes.
37652 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37653 * math/Makefile (libm-calls): Add s_issignaling.
37654 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37655 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37656 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37657 declaration.
37658 * math/math.h [__USE_GNU] (issignaling): New macro.
37659 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37660 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37662 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37665 * manual/arith.texi (issignaling): New section.
37666 * manual/libm-err-tab.pl (@all_functions): Update comment.
37667 * math/gen-libm-test.pl (parse_args): Apply special handling for
37668 issignaling.
37669 * math/libm-test.inc (print_float, issignaling_test): New
37670 functions.
37671 (check_float_internal): Add issignaling checks.
37672 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37673 default definition.
37674 * sysdeps/powerpc/math-tests.h: New file.
37675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37676 tests.
37677 * math/test-snan.c (TEST_FUNC): Likewise.
37678
37679 2013-03-30 David S. Miller <davem@davemloft.net>
37680
37681 * po/de.po: Update from translation team.
37682
37683 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37684
37685 [BZ #10357]
37686 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37687 imaginary part less than 1.0 and real part less than 0.5
37688 specially.
37689 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37690 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37691 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37692 (cacos_test): Add more tests.
37693 (casin_test): Likewise.
37694 (casinh_test): Likewise.
37695 * sysdeps/i386/fpu/libm-test-ulps: Update.
37696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37697
37698 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37699
37700 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37701 ONE with its value.
37702
37703 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37704 (__pow_mp): Replace ONE and MONE with their values.
37705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37708 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37709 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37711
37712 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37713
37714 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37715 (__pow_mp): Replace ZERO and MZERO with their values.
37716 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37720 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37721 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37722 (__sqr): Likewise.
37723
37724 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37725
37726 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37727
37728 2013-03-28 Roland McGrath <roland@hack.frob.com>
37729
37730 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37731 Declare with __attribute__ ((weak)).
37732 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37733 Call __call_tls_dtors only if it's not NULL.
37734
37735 2013-03-28 Roland McGrath <roland@hack.frob.com>
37736
37737 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37738 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37739 magic __ehdr_start linker symbol if it's defined.
37740 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37741 them up here if it was already done.
37742
37743 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37744 (_dl_aux_init): Use const in cast when setting it.
37745 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37746 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37747 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37748
37749 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37750 Declare them here.
37751 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37752 * csu/libc-tls.c: Nor here.
37753 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37754
37755 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37756 (__libc_message): Never call vsyslog.
37757
37758 2013-03-28 Alan Modra <amodra@gmail.com>
37759
37760 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37761 Define as empty.
37762 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37763 Likewise.
37764
37765 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37766
37767 [BZ #15214]
37768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37769 underflow.
37770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37771
37772 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37773
37774 [BZ #15304]
37775 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37776 Don't add gid passed as argument.
37777
37778 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37779
37780 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37781
37782 [BZ #15307]
37783 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37784 imaginary part between 1.0 and 1.5 and real part less than 0.5
37785 specially.
37786 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37787 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37788 * math/libm-test.inc (cacos_test): Add more tests.
37789 (casin_test): Likewise.
37790 (casinh_test): Likewise.
37791 * sysdeps/i386/fpu/libm-test-ulps: Update.
37792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37793
37794 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37795
37796 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37797 constants.
37798 (norm): Likewise.
37799 (denorm): Likewise.
37800 (__dbl_mp): Likewise.
37801 (add_magnitudes): Likewise.
37802 (sub_magnitudes): Likewise.
37803 (__add): Likewise.
37804 (__sub): Likewise.
37805 (__mul): Likewise.
37806 (__sqr): Likewise.
37807 (__inv): Likewise.
37808 (__dvd): Likewise.
37809
37810 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37811 commented code.
37812 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37813 (__dubcos): Likewise.
37814 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37815 (__ieee754_acos): Likewise.
37816 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37817 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37818 (__exp1): Likewise.
37819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37821 (log1): Likewise.
37822 (my_log2): Likewise.
37823 (checkint): Likewise.
37824 * sysdeps/ieee754/dbl-64/e_remainder.c
37825 (__ieee754_remainder): Likewise.
37826 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37827 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37828 (bsloww): Likewise.
37829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37830
37831 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37833 MANTISSA_STORE_T to store computations on mantissa. Use
37834 macros for rounding and division.
37835 (denorm): Likewise.
37836 (__dbl_mp): Likewise.
37837 (add_magnitudes): Likewise.
37838 (sub_magnitudes): Likewise.
37839 (__mul): Likewise.
37840 (__sqr): Likewise.
37841 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37842 powers of two in terms of TWOPOW macro.
37843 (mp_no): Make type of mantissa as MANTISSA_T.
37844 [!RADIXI]: Define RADIXI.
37845 [!TWO52]: Define TWO52.
37846 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37847
37848 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37849
37850 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37851 llroundl symbol when building for PPC32.
37852
37853 2013-03-24 Mark H Weaver <mhw@netris.org>
37854
37855 * manual/arith.texi (Normalization Functions): Fix prototypes for
37856 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37857
37858 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37859
37860 [BZ #13889]
37861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37862 high value to check if expl overflow.
37863 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37864 to check for underflow and overflow.
37865 * math/libm-test.inc: Add exp test.
37866
37867 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37868
37869 [BZ #11120]
37870 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37871 with NOT_IN_libc.
37872
37873 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37874
37875 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37876 symbol.
37877
37878 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37879
37880 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37881 wrap blocks consisting of several statements.
37882
37883 * sysdeps/generic/math-tests.h: New file.
37884 * sysdeps/i386/fpu/math-tests.h: Likewise.
37885 * math/test-snan.c: Include it.
37886 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37887
37888 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37889
37890 [BZ #15285]
37891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37892 (__ieee754_j0l): Do not improve calculations using cos of twice
37893 input for inputs above LDBL_MAX / 2.0L.
37894 (__ieee754_y0l): Likewise.
37895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37896 (__ieee754_j1l): Do not improve calculations using cos of twice
37897 input for inputs above LDBL_MAX / 2.0L.
37898 (__ieee754_y1l): Likewise.
37899 * math/libm-test.inc (j0_test): Add another test.
37900 (j1_test): Likewise.
37901 (y0_test): Likewise.
37902 (y1_test): Likewise.
37903 * sysdeps/i386/fpu/libm-test-ulps: Update.
37904
37905 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37906
37907 * Rules ($(objpfx)bench-%.c): Include code from a C source
37908 file.
37909
37910 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37911
37912 [BZ #15287]
37913 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37914 imaginary part 1.0 and real part less than 0.5 specially.
37915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37917 * math/libm-test.inc (cacos_test): Add more tests.
37918 (casin_test): Likewise.
37919 (casinh_test): Likewise.
37920 * sysdeps/i386/fpu/libm-test-ulps: Update.
37921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37922
37923 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37924
37925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37926 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37927
37928 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37929
37930 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37931 * config.make.in (config-cflags-sse4): Remove variable.
37932 (config-cflags-avx): Likewise.
37933 (config-cflags-sse2avx): Likewise.
37934 (config-cflags-novzeroupper): Likewise.
37935 (config-asflags-i686): Likewise.
37936 (have-mfma4): Likewise.
37937 (have-as-vis3): Likewise.
37938 (MIG): Likewise.
37939 * configure.in (MIG): Do not AC_SUBST.
37940 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37941 (libc_cv_cc_sse4): Do not AC_SUBST.
37942 (libc_cv_cc_avx): Likewise.
37943 (libc_cv_cc_sse2avx): Likewise.
37944 (libc_cv_cc_novzeroupper): Likewise.
37945 (libc_cv_cc_fma4): Likewise.
37946 (libc_cv_as_i686): Likewise.
37947 (libc_cv_sparc_as_vis3): Likewise.
37948 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37949 LIBC_CONFIG_VAR.
37950 (config-asflags-i686): Likewise.
37951 (config-cflags-avx): Likewise.
37952 (config-cflags-sse2avx): Likewise.
37953 (have-mfma4): Likewise.
37954 (config-cflags-novzeroupper): Likewise.
37955 * sysdeps/mach/configure.in (MIG): Likewise.
37956 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37957 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37958 LIBC_CONFIG_VAR.
37959 (config-cflags-avx): Likewise.
37960 (config-cflags-sse2avx): Likewise.
37961 (have-mfma4): Likewise.
37962 (config-cflags-novzeroupper): Likewise.
37963 * configure: Regenerated.
37964 * sysdeps/i386/configure: Likewise.
37965 * sysdeps/mach/configure: Likewise.
37966 * sysdeps/sparc/configure: Likewise.
37967 * sysdeps/x86_64/configure: Likewise.
37968
37969 2013-03-20 Roland McGrath <roland@hack.frob.com>
37970
37971 [BZ #14812]
37972 * locale/programs/localedef.c (options): Put N_ translation marker
37973 on argument names, not just descriptions.
37974
37975 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37976
37977 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37978
37979 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37980
37981 [BZ #14176]
37982 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37983
37984 2013-03-19 Roland McGrath <roland@hack.frob.com>
37985
37986 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37987 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37988 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37989 [!BEFORE_ABORT] (before_abort): New function.
37990 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37991 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37992 (writev_for_fatal): New function.
37993 (WRITEV_FOR_FATAL): New macro; call that.
37994 (backtrace_and_maps): New function.
37995 (BEFORE_ABORT): New macro; call that.
37996 (struct str_list): Type removed.
37997 (__libc_message, __libc_fatal): Functions removed.
37998 Include <sysdeps/posix/libc_fatal.c> instead.
37999
38000 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38001
38002 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38003 constants.
38004 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38005 double constants.
38006
38007 2013-03-19 Andreas Schwab <schwab@suse.de>
38008
38009 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38010 * sysdeps/gnu/configure: Regenerate.
38011
38012 * configure.in: Substitute libc_cv_rtlddir.
38013 * configure: Regenerate.
38014 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38015 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38016 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38017 * elf/Makefile (install-others, CFLAGS-interp.c)
38018 (ldso_install, common-ldd-rewrite): Likewise.
38019 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38020 $(inst_slibdir)/$(rtld-installed-name).
38021 * scripts/rellns-sh: Add -p option.
38022 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38023 for source.
38024
38025 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38026
38027 * manual/nptl.texi: Renamed to ...
38028 * manual/threads.texi: ... this.
38029 * manual/Makefile (chapters): Update.
38030
38031 2013-03-18 Roland McGrath <roland@hack.frob.com>
38032
38033 [BZ #14812]
38034 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38035 on argument names, not just descriptions.
38036 * malloc/memusagestat.c (options): Likewise.
38037 * nss/getent.c (options): Likewise.
38038
38039 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38040
38041 [BZ #14812]
38042 * iconv/iconv_prog.c (options): Put N_ translation marker
38043 on argument names, not just descriptions.
38044 * iconv/iconvconfig.c (options): Likewise.
38045
38046 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38047
38048 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38049 implementation which is faster on all x86_64 architectures.
38050 Tested on AMD, Intel Nehalem, SNB, IVB.
38051 * sysdeps/x86_64/strnlen.S: Likewise.
38052
38053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38054 Remove all multiarch strlen and strnlen versions.
38055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38056 Remove strlen and strnlen related parts.
38057
38058 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38059 Inline strlen part.
38060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38061
38062 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38063 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38065 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38066 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38067 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38068
38069 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38070
38071 * manual/memory.texi (Malloc Tunable Parameters):
38072 Sort parameters alphabetically. Add comments for missing entries.
38073
38074 2013-03-17 David S. Miller <davem@davemloft.net>
38075
38076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38077
38078 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38079
38080 [BZ #15283]
38081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38082 for arguments at most half maximum finite value.
38083 * math/libm-test.inc (j0_test): Add more tests.
38084 (j1_test): Likewise.
38085 (y0_test): Likewise.
38086 (y1_test): Likewise.
38087 * sysdeps/i386/fpu/libm-test-ulps: Update.
38088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089
38090 [BZ #14155]
38091 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38092 1 / x and functions P and Q for arguments above 0x1p256L.
38093 (__ieee754_y0l): Likewise.
38094 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38095 (__ieee754_y1l): Likewise.
38096 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38097 (j1_test): Likewise.
38098 (y0_test): Likewise.
38099 (y1_test): Likewise.
38100
38101 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38102
38103 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38104 variable.
38105
38106 2013-03-15 Roland McGrath <roland@hack.frob.com>
38107
38108 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38109 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38110 zero since it's initialized to EXEC_PAGESIZE.
38111
38112 * sysdeps/unix/sysv/linux/ldsodefs.h
38113 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38114 * sysdeps/generic/ldsodefs.h: ... here.
38115
38116 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38117
38118 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38119
38120 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38121 math/test-snan.c.
38122 * math/test-snan.c: Renamed from
38123 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38124 * math/Makefile (tests): Add test-snan.
38125 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38126 test-powerpc-snan.
38127
38128 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38129 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38130 functions.
38131 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38132 __builtin_nan family of functions.
38133 * math/libm-test.inc (initialize): Initialize qnan_value with
38134 __builtin_nan family of functions.
38135 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38136 Remove variables.
38137 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38138 Remove functions.
38139 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38140 storage class. Initialize qNaN_var and sNaN_var with
38141 __builtin_nan and __builtin_nans families of functions,
38142 respectively.
38143
38144 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38145 (sqrt_test): Remove duplicate test with qNaN input.
38146 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38147 (round_test, signbit_test, significand_test): Note missing +/-Inf
38148 as well as qNaN tests.
38149
38150 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38151 qNaN_var. Fix a few strings, too.
38152 * math/libm-test.inc (nan_value): Rename to qnan_value.
38153 * math/gen-libm-test.pl (%beautify): Adjust to that.
38154 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38155 * math/test-misc.c (main): Likewise.
38156 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38157 to __qnan_bytes, and __qnan_union, respectively.
38158 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38159 Likewise.
38160 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38161 and lqnanval, respectively.
38162 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38163 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38164 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38165 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38166
38167 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38168 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38169 doubles.
38170
38171 * math/test-misc.c (main): Fix copy'n'pastos.
38172 * misc/tst-efgcvt.c (special): Likewise.
38173
38174 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38175 Remove declarations.
38176
38177 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38178
38179 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38180 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38181 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38182 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38183
38184 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38185
38186 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38187 macro to return vdso values correctly in IFUNC implementations.
38188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38189 Optimization by using IFUNC.
38190
38191 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38192 Richard Henderson <rth@redhat.com>
38193 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38194
38195 * Makefile.in (bench): New target.
38196 * NEWS: Mention the benchmark framework.
38197 * Rules (bench): Likewise.
38198 (binaries-bench): Generate binaries for functions to
38199 benchmark.
38200 * benchtests/Makefile: New makefile for benchmark tests.
38201 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38202 programs.
38203 * benchtests/exp-inputs: New input file for EXP function.
38204 * benchtests/pow-inputs: New input file for POW function.
38205 * scripts/bench.pl: New script to generate source files for
38206 benchmark programs.
38207
38208 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38209
38210 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38212 computations on mantissa. Use macros for rounding and
38213 division.
38214 (denorm): Likewise.
38215 (__dbl_mp): Likewise.
38216 (add_magnitudes): Likewise.
38217 (sub_magnitudes): Likewise.
38218 (__mul): Likewise.
38219 (__sqr): Likewise.
38220 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38221 powers of two in terms of TWOPOW macro.
38222 (mp_no): Make type of mantissa as MANTISSA_T.
38223 [!RADIXI]: Define RADIXI.
38224 [!TWO52]: Define TWO52.
38225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38226
38227 * manual/nptl.texi (cindex): Modify threads to pthreads.
38228
38229 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38230
38231 * sysdeps/x86_64/preconfigure: Regenerated.
38232
38233 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38234
38235 [BZ #14155]
38236 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38237 0x1p28 and above.
38238 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38239 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38240 0x1p28 and above.
38241 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38242 * math/libm-test.inc (j0_test): Do not allow one spurious
38243 underflow exception.
38244 (y1_test): Likewise.
38245
38246 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38247
38248 * manual/Makefile (chapters): Add nptl.
38249 * manual/debug.texi (Debugging Support): Add link to Threads
38250 chapter.
38251 * manual/nptl.texi: New file.
38252
38253 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38254
38255 2013-03-14 Petr Baudis <pasky@ucw.cz>
38256
38257 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38258 for non-NULL pointer before the memory validity test. Pointed
38259 out by Holger Brunck <holger.brunck@keymile.com>.
38260
38261 2013-03-13 Andreas Schwab <schwab@suse.de>
38262
38263 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38264 instead of .os.
38265
38266 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38267
38268 * timezone/zic.c: Update from tzcode 2013b.
38269
38270 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38271
38272 * manual/install.texi (Configuring and compiling):
38273 Mention i686 and i586.
38274 * INSTALL: Regenerate.
38275
38276 2013-03-12 Roland McGrath <roland@hack.frob.com>
38277
38278 * sysdeps/init_array/elf-init.c: New file.
38279 * csu/elf-init.c
38280 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38281 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38282
38283 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38284 __gmon_start__ as global, but as static with a .preinit_array pointer.
38285 * sysdeps/init_array/gmon-start.c: New file. Use that.
38286 * sysdeps/init_array/crti.S: New file, empty except for comments.
38287 * sysdeps/init_array/crtn.S: Likewise.
38288
38289 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38290
38291 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38292 definining bcopy.
38293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38294 Remove Prefer_SSE_for_memop.
38295 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38296 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38297 HAS_PREFER_SSE_FOR_MEMOP.
38298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38299 memset-x86-64.
38300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38301 Remove bzero, memset ifunc support.
38302 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38303 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38306
38307 2013-03-11 Andreas Schwab <schwab@suse.de>
38308
38309 [BZ #15234]
38310 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38311 by SHLIB_COMPAT.
38312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38313 (GLIBC_2.16): Remove pthread_atfork.
38314
38315 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38316
38317 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38318 (ptestcases.h): Likewise.
38319
38320 2013-03-08 Roland McGrath <roland@hack.frob.com>
38321
38322 * Makeconfig ($(common-objpfx)config.status): Depend on
38323 sysdeps/*/preconfigure{,.in} too.
38324
38325 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38326
38327 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38328 (__free_hook): Use void * instead of __malloc_ptr_t.
38329 (__malloc_hook): Likewise.
38330 (__realloc_hook): Likewise.
38331 (__memalign_hook): Likewise.
38332 (__after_morecore_hook): Likewise.
38333 * malloc/arena.c (save_malloc_hook): Likewise.
38334 (save_free_hook): Likewise.
38335 * malloc/hooks.c (malloc_hook_ini): Likewise.
38336 (realloc_hook_ini): Likewise.
38337 (memalign_hook_ini): Likewise.
38338 * malloc/malloc.c (malloc_hook_ini): Likewise.
38339 (realloc_hook_ini): Likewise.
38340 (memalign_hook_ini): Likewise.
38341 (__free_hook): Likewise.
38342 (__malloc_hook): Likewise.
38343 (__realloc_hook): Likewise.
38344 (__memalign_hook): Likewise.
38345 (__libc_malloc): Likewise.
38346 (__libc_free): Likewise.
38347 (__libc_realloc): Likewise.
38348 (__libc_memalign): Likewise.
38349 (__libc_valloc): Likewise.
38350 (__libc_pvalloc): Likewise.
38351 (__libc_calloc): Likewise.
38352 (__posix_memalign): Likewise.
38353 * malloc/morecore.c (__sbrk): Likewise.
38354 (__default_morecore): Likewise.
38355
38356 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38357
38358 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38359 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38360 __malloc_ptrdiff_t.
38361
38362 * malloc/malloc.h (__malloc_size_t): Remove macro.
38363 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38364 __malloc_size_t.
38365 (old_memalign_hook): Likewise.
38366 (old_realloc_hook): Likewise.
38367 (struct hdr): Likewise.
38368 (flood): Likewise.
38369 (mallochook): Likewise.
38370 (memalignhook): Likewise.
38371 (reallochook): Likewise.
38372 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38373 (tr_old_realloc_hook): Likewise.
38374 (tr_old_memalign_hook): Likewise.
38375 (tr_mallochook): Likewise.
38376 (tr_reallochook): Likewise.
38377 (tr_memalignhook): Likewise.
38378
38379 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38380
38381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38382 default_ldbl_pack and using as default implementation.
38383 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38384 implementation.
38385 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38386 redundant definition.
38387 (ldbl_insert_mantissa): Likewise.
38388 (ldbl_canonicalize): Likewise.
38389 (ldbl_nearbyint): Likewise.
38390 (ldbl_pack): Rename to ldbl_pack_ppc.
38391 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38392 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38393 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38394
38395 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38396
38397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38398 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38400 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38402 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38403 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38404 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38405
38406 2013-03-07 Andreas Jaeger <aj@suse.de>
38407
38408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38409 bits/mman-linux.h.
38410
38411 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38412
38413 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38414 Include mpa.h and declare __MPEXP.
38415 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38417 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38420 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38421 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38422
38423 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38424 (__slowpow): Use long double EXPL and LOGL functions to
38425 compute POW.
38426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38427 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38430 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38432
38433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38434 intermediate variable to calculate exponent.
38435 (__sqr): Likewise.
38436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38437 Likewise.
38438 (__sqr): Likewise.
38439
38440 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38441 [!NO__SQR]: Define __sqr.
38442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38443 and NO__SQR. Remove all code except __mul and __sqr. Include
38444 sysdeps/ieee754/dbl-64/mpa.c.
38445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38446
38447 [BZ #12723]
38448 * posix/Makefile (tests): Add tst-pathconf.
38449 * posix/tst-pathconf.c: New test case.
38450 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38451 _PC_PIPE_BUF.
38452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38453
38454 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38455
38456 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38457
38458 2013-03-06 Andreas Jaeger <aj@suse.de>
38459
38460 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38461 definition via __MAP_ANONYMOUS.
38462
38463 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38464 it's not part of Linux headers.
38465
38466 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38467 (MAP_HUGE_MASK): Define.
38468
38469 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38470 Define.
38471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38473 Define.
38474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38475 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38476 Define.
38477 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38478 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38479 Define.
38480 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38481
38482 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38483 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38484 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38485 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38486 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38487 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38488
38489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38490 Handle f2fs.
38491
38492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38493 Handle f2fs and efivarfs.
38494
38495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38496 f2fs.
38497
38498 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38499 (EFIVARFS_MAGIC): Add.
38500 (F2FS_LINK_MAX): Add.
38501
38502 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38503
38504 * stdio-common/vfprintf.c: Replace __builtin_expect with
38505 __glibc_unlikely.
38506
38507 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38508
38509 [BZ #13550]
38510 * sysdeps/generic/bp-sym.h: Remove file.
38511 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38513 <bp-sym.h> and <bp-asm.h>.
38514 (__longjmp): Don't use BP_SYM.
38515 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38516 and <bp-asm.h>.
38517 (memcpy): Don't use BP_SYM.
38518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38519 <bp-sym.h> and <bp-asm.h>.
38520 (memcpy): Don't use BP_SYM.
38521 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38522 <bp-asm.h>.
38523 (memcpy): Don't use BP_SYM.
38524 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38525 <bp-asm.h>.
38526 (memset): Don't use BP_SYM.
38527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38529 (__bzero): Don't use BP_SYM.
38530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38533 <bp-sym.h> and <bp-asm.h>.
38534 (memcmp): Don't use BP_SYM. Remove comment about bounded
38535 pointers.
38536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38537 <bp-sym.h> and <bp-asm.h>.
38538 (memcpy): Don't use BP_SYM.
38539 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38540 <bp-sym.h> and <bp-asm.h>.
38541 (memset): Don't use BP_SYM.
38542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38544 (__bzero): Don't use BP_SYM.
38545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38547 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38548 <bp-sym.h> and <bp-asm.h>.
38549 (strncmp): Don't use BP_SYM. Remove comment about bounded
38550 pointers.
38551 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38552 <bp-sym.h> and <bp-asm.h>.
38553 (memcpy): Don't use BP_SYM.
38554 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38555 <bp-sym.h> and <bp-asm.h>.
38556 (memset): Don't use BP_SYM.
38557 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38558 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38559 (__bzero): Don't use BP_SYM.
38560 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38561 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38563 <bp-sym.h> and <bp-asm.h>.
38564 (__memchr): Don't use BP_SYM.
38565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38566 <bp-sym.h> and <bp-asm.h>.
38567 (memcmp): Don't use BP_SYM. Remove comment about bounded
38568 pointers.
38569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38570 <bp-sym.h> and <bp-asm.h>.
38571 (memcpy): Don't use BP_SYM.
38572 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38573 <bp-sym.h> and <bp-asm.h>.
38574 (__mempcpy): Don't use BP_SYM.
38575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38576 <bp-sym.h> and <bp-asm.h>.
38577 (__memrchr): Don't use BP_SYM.
38578 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38579 <bp-sym.h> and <bp-asm.h>.
38580 (memset): Don't use BP_SYM.
38581 (__bzero): Likewise.
38582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38583 <bp-sym.h> and <bp-asm.h>.
38584 (__rawmemchr): Don't use BP_SYM.
38585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38586 <bp-sym.h> and <bp-asm.h>.
38587 (__STRCMP): Don't use BP_SYM.
38588 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38589 <bp-sym.h> and <bp-asm.h>.
38590 (strchr): Don't use BP_SYM.
38591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38592 <bp-sym.h> and <bp-asm.h>.
38593 (__strchrnul): Don't use BP_SYM.
38594 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38595 <bp-sym.h> and <bp-asm.h>.
38596 (strlen): Don't use BP_SYM.
38597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38598 <bp-sym.h> and <bp-asm.h>.
38599 (strncmp): Don't use BP_SYM. Remove comment about bounded
38600 pointers.
38601 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38602 <bp-sym.h> and <bp-asm.h>.
38603 (__strnlen): Don't use BP_SYM.
38604 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38605 <bp-sym.h> and <bp-asm.h>.
38606 (__GI__setjmp): Don't use BP_SYM.
38607 (_setjmp): Likewise.
38608 (__sigsetjmp): Likewise.
38609 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38610 (L(start_addresses)): Don't use BP_SYM.
38611 (_start): Likewise.
38612 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38613 <bp-asm.h>.
38614 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38615 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38616 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38617 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38618 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38619 <bp-asm.h>.
38620 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38621 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38622 about bounded pointers.
38623 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38624 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38625 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38626 <bp-asm.h>.
38627 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38628 about bounded pointers. Remove GKM FIXME comments.
38629 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38630 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38631 <bp-asm.h>.
38632 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38633 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38634 Remove GKM FIXME comments.
38635 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38636 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38637 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38638 <bp-asm.h>.
38639 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38640 about bounded pointers. Remove GKM FIXME comment.
38641 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38642 and <bp-asm.h>.
38643 (strncmp): Don't use BP_SYM. Remove comment about bounded
38644 pointers.
38645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38646 <bp-sym.h> and <bp-asm.h>.
38647 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38649 <bp-sym.h> and <bp-asm.h>.
38650 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38651 comment.
38652
38653 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38654
38655 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38656 call free(NULL).
38657
38658 2013-03-05 David S. Miller <davem@davemloft.net>
38659
38660 * po/es.po: Update from translation team.
38661
38662 2013-03-05 Andreas Jaeger <aj@suse.de>
38663
38664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38665 <bits/mman-linux.h>.
38666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38667 is fine.
38668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38669 <bits/mman-linux.h> to end of file.
38670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38671 is fine.
38672 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38673 <bits/mman-linux.h> to end of file.
38674 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38675 is fine.
38676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38677 <bits/mman-linux.h> to end of file.
38678
38679 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38680 (MCL_CURRENT, MCL_FUTURE): Define here.
38681
38682 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38683
38684 [BZ #15232]
38685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38686 attribute_hidden.
38687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38688
38689 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38690
38691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38692 fourth parameter needed for rt_sigprocmask syscall.
38693 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38694 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38696 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38698 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38699
38700 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38701
38702 [BZ #13550]
38703 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38704 comment about bounded pointers.
38705 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38706 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38707
38708 2013-03-04 Andreas Jaeger <aj@suse.de>
38709
38710 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38711 common definitions.
38712
38713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38714 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38719
38720 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38721
38722 [BZ #15055]
38723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38724 __ieee754_sqrl instead of __sqrl.
38725
38726 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38727
38728 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38729 * sysdeps/powerpc/fpu_control.h: ... here.
38730 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38731 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38732 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38733 * sysdeps/powerpc/bits/mathinline.h: ... here.
38734
38735 2013-03-01 Roland McGrath <roland@hack.frob.com>
38736
38737 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38738 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38739 to just [NEED_DL_SYSINFO_DSO].
38740 * elf/dl-support.c: Likewise.
38741 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38742 * elf/rtld.c (dl_main): Likewise.
38743 * elf/setup-vdso.h (setup_vdso): Likewise.
38744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38745 * sysdeps/unix/sysv/linux/dl-sysdep.c
38746 (_dl_discover_osversion): Likewise.
38747
38748 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38749
38750 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38751 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38752
38753 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38754
38755 * NEWS: Mention libm performance improvements and non-x86 PI
38756 futex support.
38757
38758 * csu/libc-start.c (__pthread_initialize_minimal): Change
38759 function arguments.
38760 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38761
38762 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38763
38764 [BZ #13550]
38765 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38766 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38767 <bp-sym.h> and <bp-asm.h>.
38768 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38770 and <bp-asm.h>.
38771 (memcpy): Don't use BP_SYM.
38772 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38773 <bp-asm.h>.
38774 (__mpn_add_n): Don't use BP_SYM.
38775 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38776 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38777 and <bp-asm.h>.
38778 (__mpn_addmul_1): Don't use BP_SYM.
38779 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38780 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38781 <bp-sym.h>.
38782 (_setjmp): Don't use BP_SYM.
38783 (__novmx_setjmp): Likewise.
38784 (__GI__setjmp): Likewise.
38785 (__vmx_setjmp): Likewise.
38786 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38787 <bp-sym.h>.
38788 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38789 (__bzero): Don't use BP_SYM.
38790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38792 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38793 <bp-sym.h> and <bp-asm.h>.
38794 (memcpy): Don't use BP_SYM.
38795 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38796 <bp-sym.h> and <bp-asm.h>.
38797 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38798 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38799 <bp-sym.h> and <bp-asm.h>.
38800 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38801 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38802 <bp-asm.h>.
38803 (__mpn_lshift): Don't use BP_SYM.
38804 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38805 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38806 <bp-asm.h>.
38807 (memset): Don't use BP_SYM.
38808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38810 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38811 <bp-asm.h>.
38812 (__mpn_mul_1): Don't use BP_SYM.
38813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38815 <bp-sym.h> and <bp-asm.h>.
38816 (memcmp): Don't use BP_SYM.
38817 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38818 <bp-sym.h> and <bp-asm.h>.
38819 (memcpy): Don't use BP_SYM.
38820 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38821 <bp-sym.h> and <bp-asm.h>.
38822 (memset): Don't use BP_SYM.
38823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38824 <bp-sym.h> and <bp-asm.h>.
38825 (strncmp): Don't use BP_SYM.
38826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38827 <bp-sym.h> and <bp-asm.h>.
38828 (memcpy): Don't use BP_SYM.
38829 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38830 <bp-sym.h> and <bp-asm.h>.
38831 (memset): Don't use BP_SYM.
38832 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38833 <bp-sym.h> and <bp-asm.h>.
38834 (__memchr): Don't use BP_SYM.
38835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38836 <bp-sym.h> and <bp-asm.h>.
38837 (memcmp): Don't use BP_SYM.
38838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38839 <bp-sym.h> and <bp-asm.h>.
38840 (memcpy): Don't use BP_SYM.
38841 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38842 <bp-sym.h> and <bp-asm.h>.
38843 (__mempcpy): Don't use BP_SYM.
38844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38845 <bp-sym.h> and <bp-asm.h>.
38846 (__memrchr): Don't use BP_SYM.
38847 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38848 <bp-sym.h> and <bp-asm.h>.
38849 (memset): Don't use BP_SYM.
38850 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38851 <bp-sym.h> and <bp-asm.h>.
38852 (__rawmemchr): Don't use BP_SYM.
38853 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38854 <bp-sym.h> and <bp-asm.h>.
38855 (__STRCMP): Don't use BP_SYM.
38856 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38857 <bp-sym.h> and <bp-asm.h>.
38858 (strchr): Don't use BP_SYM.
38859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38860 <bp-sym.h> and <bp-asm.h>.
38861 (__strchrnul): Don't use BP_SYM.
38862 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38863 <bp-sym.h> and <bp-asm.h>.
38864 (strlen): Don't use BP_SYM.
38865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38866 <bp-sym.h> and <bp-asm.h>.
38867 (strncmp): Don't use BP_SYM.
38868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38869 <bp-sym.h> and <bp-asm.h>.
38870 (__strnlen): Don't use BP_SYM.
38871 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38872 <bp-asm.h>.
38873 (__mpn_rshift): Don't use BP_SYM.
38874 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38875 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38876 <bp-sym.h> and <bp-asm.h>.
38877 (__sigsetjmp): Don't use BP_SYM.
38878 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38879 (L(start_addresses)): Don't use BP_SYM.
38880 (_start): Likewise.
38881 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38882 <bp-asm.h>.
38883 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38884 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38885 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38886 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38887 <bp-asm.h>.
38888 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38891 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38892 <bp-asm.h>.
38893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38894 comments.
38895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38896 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38897 <bp-asm.h>.
38898 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38899 FIXME comments.
38900 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38901 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38902 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38903 <bp-asm.h>.
38904 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38905 comment.
38906 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38907 and <bp-asm.h>.
38908 (strncmp): Don't use BP_SYM,
38909 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38910 <bp-asm.h>.
38911 (__mpn_sub_n): Don't use BP_SYM.
38912 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38913 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38914 and <bp-asm.h>.
38915 (__mpn_submul_1): Don't use BP_SYM.
38916 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38918 <bp-sym.h> and <bp-asm.h>.
38919 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38921 <bp-sym.h> and <bp-asm.h>.
38922 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38923 comment.
38924
38925 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38926
38927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38928 Use ZK to minimize writes to Z.
38929 (sub_magnitudes): Simplify code a bit.
38930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38931 Use ZK to minimize writes to Z.
38932 (sub_magnitudes): Simplify code a bit.
38933
38934 2013-02-27 Roland McGrath <roland@hack.frob.com>
38935
38936 * csu/gmon-start.c: Add special exception to license text.
38937
38938 2013-02-27 Richard Henderson <rth@redhat.com>
38939
38940 * scripts/config.guess: Update from config.git.
38941 * scripts/config.sub: Likewise.
38942
38943 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38944
38945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38946
38947 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38948
38949 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38950
38951 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38952
38953 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38954
38955 2013-02-26 Roland McGrath <roland@hack.frob.com>
38956
38957 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38958 [$(build-shared = yes].
38959
38960 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38961
38962 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38963 (__mul): Reduce iterations for calculating mantissa.
38964
38965 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38966 MPTWO.
38967 (__mpranred): Likewise.
38968
38969 [BZ #15160]
38970 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38971 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38972
38973 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38974
38975 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38976 Define __attribute__.
38977
38978 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38979
38980 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38981 unused.
38982 * posix/regex_internal.h (__attribute): Remove.
38983 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38984 (re_string_context_at): Likewise.
38985 (bitset_not): Use __attribute__ and mark function as possibly
38986 unused.
38987 (bitset_merge): Likewise.
38988 (bitset_mask): Likewise.
38989 (re_string_char_size_at): Likewise.
38990 (re_string_wchar_at): Likewise.
38991 (re_string_elem_size_at): Likewise.
38992
38993 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38994
38995 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38996 code.
38997 (cc32): Likewise.
38998
38999 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39000 (__acr): Likewise.
39001 (__cpy): Likewise.
39002 (norm): Likewise.
39003 (denorm): Likewise.
39004 (__dbl_mp): Likewise.
39005 (add_magnitudes): Likewise.
39006 (sub_magnitudes): Likewise.
39007 (__mul): Likewise.
39008 (__inv): Likewise.
39009
39010 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39011 style.
39012
39013 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39014 style.
39015
39016 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39017 code.
39018
39019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39020 up changes with default code.
39021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39022 Likewise.
39023
39024 2013-02-24 Allan McRae <allan@archlinux.org>
39025
39026 * manual/socket.texi (The Internet Namespace): Order menu items
39027 to match that in the file.
39028
39029 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39030 node listing of the info page menu.
39031
39032 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39033
39034 [BZ #13550]
39035 * sysdeps/i386/bp-asm.h: Remove file.
39036 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39037 (PARMS): Do not use macros from bp-asm.h.
39038 (S1): Likewise.
39039 (S2): Likewise.
39040 (SIZE): Likewise.
39041 (__mpn_add_n): Do not use BP_SYM
39042 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39043 "bp-asm.h".
39044 (PARMS): Do not use macros from bp-asm.h.
39045 (S1): Likewise.
39046 (SIZE): Likewise.
39047 (__mpn_addmul_1): Do not use BP_SYM
39048 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39049 "bp-asm.h".
39050 (PARMS): Do not use macros from bp-asm.h.
39051 (SIGMSK): Likewise.
39052 (_setjmp): Likewise. Do not use BP_SYM.
39053 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39054 "bp-asm.h".
39055 (PARMS): Do not use macros from bp-asm.h.
39056 (SIGMSK): Likewise.
39057 (setjmp): Likewise. Do not use BP_SYM.
39058 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39059 "bp-asm.h".
39060 (PARMS): Do not use macros from bp-asm.h.
39061 (__frexp): Do not use BP_SYM.
39062 (frexp): Likewise.
39063 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39064 "bp-asm.h".
39065 (PARMS): Do not use macros from bp-asm.h.
39066 (__frexpf): Do not use BP_SYM.
39067 (frexpf): Likewise.
39068 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39069 "bp-asm.h".
39070 (PARMS): Do not use macros from bp-asm.h.
39071 (__frexpl): Do not use BP_SYM.
39072 (frexpl): Likewise.
39073 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39074 "bp-asm.h".
39075 (PARMS): Do not use macros from bp-asm.h.
39076 (__remquo): Do not use BP_SYM.
39077 (remquo): Likewise.
39078 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39079 "bp-asm.h".
39080 (PARMS): Do not use macros from bp-asm.h.
39081 (__remquof): Do not use BP_SYM.
39082 (remquof): Likewise.
39083 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39084 "bp-asm.h".
39085 (PARMS): Do not use macros from bp-asm.h.
39086 (__remquol): Do not use BP_SYM.
39087 (remquol): Likewise.
39088 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39089 "bp-asm.h".
39090 (PARMS): Do not use macros from bp-asm.h.
39091 (DEST): Likewise.
39092 (SRC): Likewise.
39093 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39094 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39095 "bp-asm.h".
39096 (PARMS): Do not use macros from bp-asm.h.
39097 (strlen): Do not use BP_SYM.
39098 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39099 "bp-asm.h".
39100 (PARMS): Do not use macros from bp-asm.h.
39101 (S1): Likewise.
39102 (S2): Likewise.
39103 (SIZE): Likewise.
39104 (__mpn_add_n): Do not use BP_SYM.
39105 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
39110 (__mpn_addmul_1): Do not use BP_SYM.
39111 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39112 weak_alias.
39113 (bzero): Likewise.
39114 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39115 "bp-asm.h".
39116 (PARMS): Do not use macros from bp-asm.h.
39117 (S): Likewise.
39118 (SIZE): Likewise.
39119 (__mpn_lshift): Do not use BP_SYM.
39120 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39121 "bp-asm.h".
39122 (PARMS): Do not use macros from bp-asm.h.
39123 (DEST): Likewise.
39124 (SRC): Likewise.
39125 (LEN): Likewise.
39126 (memcpy): Likewise. Do not use BP_SYM.
39127 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39128 libc_hidden_def and weak_alias.
39129 (mempcpy): Do not use BP_SYM in weak_alias.
39130 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39131 "bp-asm.h".
39132 (PARMS): Do not use macros from bp-asm.h.
39133 (DEST): Likewise.
39134 (LEN): Likewise.
39135 [!BZERO_P] (CHR): Likewise.
39136 (memset): Likewise. Do not use BP_SYM.
39137 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39138 "bp-asm.h".
39139 (PARMS): Do not use macros from bp-asm.h.
39140 (S1): Likewise.
39141 (SIZE): Likewise.
39142 (__mpn_mul_1): Do not use BP_SYM.
39143 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39144 "bp-asm.h".
39145 (PARMS): Do not use macros from bp-asm.h.
39146 (S): Likewise.
39147 (SIZE): Likewise.
39148 (__mpn_rshift): Do not use BP_SYM.
39149 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39150 "bp-asm.h".
39151 (PARMS): Do not use macros from bp-asm.h.
39152 (STR): Likewise.
39153 (CHR): Likewise.
39154 (strchr): Likewise. Do not use BP_SYM.
39155 (index): Do not use BP_SYM in weak_alias.
39156 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39157 "bp-asm.h".
39158 (PARMS): Do not use macros from bp-asm.h.
39159 (DEST): Likewise.
39160 (SRC): Likewise.
39161 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39162 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39163 "bp-asm.h".
39164 (PARMS): Do not use macros from bp-asm.h.
39165 (strlen): Do not use BP_SYM.
39166 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39167 "bp-asm.h".
39168 (PARMS): Do not use macros from bp-asm.h.
39169 (S1): Likewise.
39170 (S2): Likewise.
39171 (SIZE): Likewise.
39172 (__mpn_sub_n): Do not use BP_SYM.
39173 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39174 "bp-asm.h".
39175 (PARMS): Do not use macros from bp-asm.h.
39176 (S1): Likewise.
39177 (SIZE): Likewise.
39178 (__mpn_submul_1): Do not use BP_SYM.
39179 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39180 "bp-asm.h".
39181 (PARMS): Do not use macros from bp-asm.h.
39182 (S1): Likewise.
39183 (S2): Likewise.
39184 (SIZE): Likewise.
39185 (__mpn_add_n): Do not use BP_SYM.
39186 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39187 weak_alias.
39188 (bzero): Likewise.
39189 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39190 "bp-asm.h".
39191 (PARMS): Do not use macros from bp-asm.h.
39192 (BLK2): Likewise.
39193 (LEN): Likewise.
39194 (memcmp): Do not use BP_SYM.
39195 (bcmp): Do not use BP_SYM in weak_alias.
39196 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39197 "bp-asm.h".
39198 (PARMS): Do not use macros from bp-asm.h.
39199 (DEST): Likewise.
39200 (SRC): Likewise.
39201 (LEN): Likewise.
39202 (memcpy): Likewise. Do not use BP_SYM.
39203 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39204 "bp-asm.h".
39205 (PARMS): Do not use macros from bp-asm.h.
39206 (DEST): Likewise.
39207 (SRC): Likewise.
39208 (LEN): Likewise.
39209 (memmove): Likewise. Do not use BP_SYM.
39210 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39211 "bp-asm.h".
39212 (PARMS): Do not use macros from bp-asm.h.
39213 (DEST): Likewise.
39214 (SRC): Likewise.
39215 (LEN): Likewise.
39216 (__mempcpy): Likewise. Do not use BP_SYM.
39217 (mempcpy): Do not use BP_SYM in weak_alias.
39218 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39219 "bp-asm.h".
39220 (PARMS): Do not use macros from bp-asm.h.
39221 (DEST): Likewise.
39222 (LEN): Likewise.
39223 [!BZERO_P] (CHR): Likewise.
39224 (memset): Likewise. Do not use BP_SYM.
39225 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39226 "bp-asm.h".
39227 (PARMS): Do not use macros from bp-asm.h.
39228 (STR2): Likewise.
39229 (strcmp): Do not use BP_SYM.
39230 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39231 "bp-asm.h".
39232 (PARMS): Do not use macros from bp-asm.h.
39233 (STR): Likewise.
39234 (DELIM): Likewise.
39235 [USE_AS_STRTOK_R] (SAVE): Likewise.
39236 (FUNCTION): Likewise. Do not use BP_SYM.
39237 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39238 aliases.
39239 (strtok_r): Likewise.
39240 (__GI___strtok_r): Likewise.
39241 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39242 (PARMS): Do not use macros from bp-asm.h.
39243 (S): Likewise.
39244 (SIZE): Likewise.
39245 (__mpn_lshift): Do not use BP_SYM.
39246 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39247 (PARMS): Do not use macros from bp-asm.h.
39248 (STR): Likewise.
39249 (CHR): Likewise.
39250 (__memchr): Do not use BP_SYM.
39251 (memchr): Do not use BP_SYM in weak_alias.
39252 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39253 (PARMS): Do not use macros from bp-asm.h.
39254 (BLK2): Likewise.
39255 (LEN): Likewise.
39256 (memcmp): Do not use BP_SYM.
39257 (bcmp): Do not use BP_SYM in weak_alias.
39258 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39259 (PARMS): Do not use macros from bp-asm.h.
39260 (S1): Likewise.
39261 (SIZE): Likewise.
39262 (__mpn_mul_1): Do not use BP_SYM.
39263 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39264 "bp-asm.h".
39265 (PARMS): Do not use macros from bp-asm.h.
39266 (STR): Likewise.
39267 (CHR): Likewise.
39268 (__rawmemchr): Do not use BP_SYM.
39269 (rawmemchr): Do not use BP_SYM in weak_alias.
39270 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39271 (PARMS): Do not use macros from bp-asm.h.
39272 (S): Likewise.
39273 (SIZE): Likewise.
39274 (__mpn_rshift): Do not use BP_SYM.
39275 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39276 (PARMS): Do not use macros from bp-asm.h.
39277 (SIGMSK): Likewise.
39278 (__sigsetjmp): Likewise. Do not use BP_SYM.
39279 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39280 (_start): Do not use BP_SYM.
39281 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39282 (PARMS): Do not use macros from bp-asm.h.
39283 (DEST): Likewise.
39284 (SRC): Likewise.
39285 (__stpcpy): Likewise. Do not use BP_SYM.
39286 (stpcpy): Do not use BP_SYM in weak_alias.
39287 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39288 "bp-asm.h".
39289 (PARMS): Do not use macros from bp-asm.h.
39290 (DEST): Likewise.
39291 (SRC): Likewise.
39292 (LEN): Likewise.
39293 (__stpncpy): Likewise. Do not use BP_SYM.
39294 (stpncpy): Do not use BP_SYM in weak_alias.
39295 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39296 (PARMS): Do not use macros from bp-asm.h.
39297 (STR): Likewise.
39298 (CHR): Likewise.
39299 (strchr): Likewise. Do not use BP_SYM.
39300 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39301 "bp-asm.h".
39302 (PARMS): Do not use macros from bp-asm.h.
39303 (STR): Likewise.
39304 (CHR): Likewise.
39305 (__strchrnul): Likewise. Do not use BP_SYM.
39306 (strchrnul): Do not use BP_SYM in weak_alias.
39307 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39308 "bp-asm.h".
39309 (PARMS): Do not use macros from bp-asm.h.
39310 (STOP): Likewise.
39311 (strcspn): Do not use BP_SYM.
39312 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39313 "bp-asm.h".
39314 (PARMS): Do not use macros from bp-asm.h.
39315 (STR): Likewise.
39316 (STOP): Likewise.
39317 (strpbrk): Likewise. Do not use BP_SYM.
39318 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39319 "bp-asm.h".
39320 (PARMS): Do not use macros from bp-asm.h.
39321 (STR): Likewise.
39322 (CHR): Likewise.
39323 (strrchr): Likewise. Do not use BP_SYM.
39324 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39325 (PARMS): Do not use macros from bp-asm.h.
39326 (SKIP): Likewise.
39327 (strspn): Do not use BP_SYM.
39328 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39329 (PARMS): Do not use macros from bp-asm.h.
39330 (STR): Likewise.
39331 (DELIM): Likewise.
39332 (SAVE): Likewise.
39333 (FUNCTION): Likewise. Do not use BP_SYM.
39334 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39335 aliases.
39336 (strtok_r): Likewise.
39337 (__GI___strtok_r): Likewise.
39338 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39339 (PARMS): Do not use macros from bp-asm.h.
39340 (S1): Likewise.
39341 (S2): Likewise.
39342 (SIZE): Likewise.
39343 (__mpn_sub_n): Do not use BP_SYM.
39344 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39345 "bp-asm.h".
39346 (PARMS): Do not use macros from bp-asm.h.
39347 (S1): Likewise.
39348 (SIZE): Likewise.
39349 (__mpn_submul_1): Do not use BP_SYM.
39350 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39351 <bp-sym.h>.
39352 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39353 and <bp-asm.h>.
39354 (PARMS): Do not use macros from bp-asm.h.
39355 (FLAGS): Likewise.
39356 (PTID): Likewise.
39357 (TLS): Likewise.
39358 (CTID): Likewise.
39359 (__clone): Do not use BP_SYM.
39360 (clone): Do not use BP_SYM in weak_alias.
39361 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39362 and <bp-asm.h>.
39363 (PARMS): Do not use macros from bp-asm.h.
39364 (LEN): Likewise.
39365 (__mmap64): Do not use BP_SYM.
39366 (mmap64): Do not use BP_SYM in weak_alias.
39367 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39368 <bp-sym.h> and <bp-asm.h>.
39369 (PARMS): Do not use macros from bp-asm.h.
39370 (__posix_fadvise64_l64): Do not use BP_SYM.
39371 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39372 (PARMS): Do not use macros from bp-asm.h.
39373 (NSOPS): Likewise.
39374 (semtimedop): Do not use BP_SYM.
39375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39376 and <bp-asm.h>.
39377
39378 2013-02-21 Allan McRae <allan@archlinux.org>
39379
39380 * manual/message.texi (Charset conversion in gettext):
39381 Move @end statement to beginning of line.
39382
39383 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39384
39385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39386 static.
39387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39388 Likewise.
39389
39390 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39391 (denorm): Likewise.
39392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39394
39395 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39396
39397 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39398 tail-call to the resolved function if pltexit isn't needed.
39399
39400 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39401
39402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39403 or Y being zero as being unlikely.
39404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39405 Likewise.
39406
39407 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39408
39409 * manual/nss.texi (System Databases and Name Service Switch):
39410 Remove frobnicate @pxref.
39411
39412 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39413
39414 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39415 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39416
39417 2013-02-20 Petr Machata <pmachata@redhat.com>
39418
39419 * elf/elf.h (R_ARM_TARGET1): New macro.
39420 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39421 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39422 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39423 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39424 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39425 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39426 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39427 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39428 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39429 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39430 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39431 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39432 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39433 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39434 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39435 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39436 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39437 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39438 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39439 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39440 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39441 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39442 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39443 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39444 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39445 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39446 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39447 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39448 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39449 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39450 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39451 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39452 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39453 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39454 (R_ARM_THM_GOT_BREL12): Likewise.
39455 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39456 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39457 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39458 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39459 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39460 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39461 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39462 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39463 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39464
39465 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39466
39467 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39468 __attribute_used__ to __attribute__ ((unused)).
39469
39470 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39471
39472 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39473 powerpc mpa.c.
39474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39475 comment formatting.
39476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39477
39478 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39479
39480 [BZ #13550]
39481 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39482 Remove macro.
39483 (ENTER): Remove both macro definitions.
39484 (LEAVE): Likewise.
39485 (CHECK_BOUNDS_LOW): Likewise.
39486 (CHECK_BOUNDS_HIGH): Likewise.
39487 (CHECK_BOUNDS_BOTH): Likewise.
39488 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39489 (RETURN_BOUNDED_POINTER): Likewise.
39490 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39491 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39492 (POP_ERRNO_LOCATION_RETURN): Likewise.
39493 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39495 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39496 macros.
39497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39498 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39499 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39500 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39501 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39502 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39503 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39504 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39505 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39506 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39507 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39508 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39509 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39510 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39511 removed macros.
39512 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39513 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39514 macros.
39515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39516 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39517 * sysdeps/i386/i586/memset.S (memset): Likewise.
39518 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39520 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39521 macros.
39522 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39523 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39524 Change uses of L(2) to L(out).
39525 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39526 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39527 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39529 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39530 removed macros.
39531 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39532 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39533 macros.
39534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39535 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39536 (RETURN): Do not use macro LEAVE.
39537 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39538 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39539 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39540 * sysdeps/i386/i686/memset.S (memset): Likewise.
39541 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39542 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39544 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39545 Likewise.
39546 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39547 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39548 L(1_2) and L(1_3) into L(1).
39549 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39550 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39552 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39553 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39554 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39555 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39556 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39557 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39558 macros.
39559 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39561 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39562 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39563 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39564 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39565 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39566 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39567 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39568 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39569 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39570 * sysdeps/i386/strspn.S (strspn): Likewise.
39571 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39572 conditional code.
39573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39574 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39575 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39576 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39577 L(1_3) into L(1_1).
39578 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39579 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39580 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39581 macros.
39582 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39583
39584 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39585
39586 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39587 macro.
39588
39589 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39590
39591 * math/atest-exp.c (exp_mpn): Remove ROUND.
39592 * math/atest-exp2.c (exp_mpn): Likewise.
39593 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39594
39595 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39596 * stdlib/tst-tls-atexit-lib.c: Likewise.
39597 * stdlib/tst-tls-atexit.c: Likewise.
39598
39599 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39600
39601 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39602 and __attribute_alloc_size__.
39603
39604 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39605
39606 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39607 __attribute_alloc_size__.
39608 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39609 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39610
39611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39612
39613 * include/programs/xmalloc.h: New file.
39614 * catgets/gencat.c: Include it.
39615 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39616 * elf/pldd.c: Likewise.
39617 * iconv/iconv_charmap.c: Likewise.
39618 * iconv/iconvconfig.c: Likewise.
39619 * iconv/strtab.c: Likewise.
39620 * locale/programs/locale.c: Likewise.
39621 * locale/programs/localedef.h: Likewise.
39622 * locale/programs/simple-hash.c: Likewise.
39623 * nscd/nscd.h: Likewise.
39624 * nss/makedb.c: Likewise.
39625 * sysdeps/generic/ldconfig.h: Likewise.
39626
39627 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39628
39629 * Versions.def: Add GLIBC_2.18.
39630 * include/link.h (struct link_map): New member l_tls_dtor_count.
39631 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39632 (__call_tls_dtors): Likewise.
39633 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39634 __cxa_thread_atexit_impl.
39635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39636 Likewise.
39637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39638 Likewise.
39639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39640 Likewise.
39641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39642 Likewise.
39643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39645 Likewise.
39646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39647 Likewise.
39648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39650 Likewise.
39651 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39652 (tests): Add test case tst-tls-atexit.
39653 (modules-names): Add shared library for tst-tls-atexit.
39654 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39655 (GLIBC_PRIVATE): Add __call_tls_dtors.
39656 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39657 for libstdc++.
39658 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39659 * stdlib/tst-tls-atexit.c: New test case.
39660 * stdlib/tst-tls-atexit-lib.c: New test case.
39661
39662 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39663
39664 * elf/Versions (ld): Add _dl_find_dso_for_object.
39665 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39666 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39667 (dl_open_worker): Use _dl_find_dso_for_object.
39668 * elf/dl-sym.c (do_sym): Likewise.
39669 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39670
39671 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39672
39673 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39674 Syntactic changes only.
39675 (_dl_runtime_profile): Do a tail-call to the resolved function.
39676
39677 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39678
39679 [BZ #13550]
39680 * sysdeps/x86_64/bp-asm.h: Remove file.
39681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39682 <bp-sym.h> and <bp-asm.h>.
39683 (__clone): Do not use BP_SYM.
39684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39685 <bp-sym.h> and <bp-asm.h>.
39686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39687 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39688 "bp-asm.h".
39689 (_setjmp): Do not use BP_SYM.
39690 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39691 "bp-asm.h".
39692 (setjmp): Do not use BP_SYM.
39693 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39694 libc_hidden_def.
39695 (mempcpy): Do not use BP_SYM in weak_alias.
39696 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39697 "bp-asm.h".
39698 (strchr): Do not use BP_SYM.
39699 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39700 "bp-asm.h".
39701 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39702 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39703 (_start): Do not use BP_SYM.
39704 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39705 "bp-asm.h".
39706 (strcat): Do not use BP_SYM.
39707 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39708 "bp-asm.h".
39709 (STRCMP): Do not use BP_SYM.
39710 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39711 "bp-asm.h".
39712 (STRCPY): Do not use BP_SYM.
39713 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39714 "bp-asm.h".
39715 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39716 "bp-asm.h".
39717 (FUNCTION): Do not use BP_SYM.
39718 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39719 weak_alias.
39720 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39721
39722 2013-02-17 Andreas Jaeger <aj@suse.de>
39723
39724 * time/Versions: Sort entries.
39725 * string/Versions: Likewise.
39726 * resolv/Versions: Likewise.
39727 * posix/Versions: Likewise.
39728 * iconv/Versions: Likewise.
39729 * elf/Versions: Likewise.
39730 * wcsmbs/Versions: Likewise.
39731
39732 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39733
39734 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39735 loop termination condition.
39736
39737 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39738 variable to calculate EZ.
39739 (__sqr): Likewise.
39740
39741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39742 the lower precision input.
39743
39744 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39745
39746 [BZ #13550]
39747 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39748 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39749 (run-via-rtld-prefix): Do not handle %-bp tests.
39750 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39751 (all-object-suffixes): Remove .ob.
39752 (bppfx): Remove variable.
39753 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39754 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39755 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39756 [$(build-bounded) = yes] (libtype.ob): Likewise.
39757 * Makerules (elide-routines.ob): Remove variable.
39758 (do-tests-clean): Do not handle *-bp.out.
39759 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39760 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39761 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39762 (tests): Do not include $(tests-bp.out).
39763 (xtests): Do not include $(xtests-bp.out).
39764 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39765 [$(build-bounded) = yes] ($(addprefix
39766 $(objpfx),$(binaries-bounded))): Remove rule.
39767 ($(objpfx)%-bp.out): Remove rule.
39768 * config.make.in (build-bounded): Remove variable.
39769 * crypt/Makefile [$(build-bounded) = yes]
39770 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39771 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39772 append to variable.
39773 [$(build-bounded) = yes] (install-lib): Likewise.
39774 [$(build-bounded) = yes] (generated): Likewise.
39775 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39776 Remove rule.
39777 * intl/Makefile [$(build-bounded) = yes]
39778 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39779 * math/Makefile [$(build-bounded) = yes]
39780 ($(tests:%=$(objpfx)%-bp): Likewise.
39781 * misc/Makefile [$(build-bounded) = yes]
39782 ($(objpfx)tst-tsearch-bp): Likewise.
39783 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39784 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39785 Remove dependency.
39786 * string/Makefile (o-objects.ob): Remove variable.
39787 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39788 (CFLAGS-.ob): Remove variable.
39789 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39791 both definitions of variable.
39792 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39793 (ASFLAGS-.ob): Remove variable.
39794
39795 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39796
39797 [BZ #13550]
39798 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39799 Remove __BOUNDED_POINTERS__ from condition.
39800 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39801 * string/bits/string2.h [!__NO_STRING_INLINES &&
39802 !__BOUNDED_POINTERS__]: Likewise.
39803 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39804 Likewise.
39805 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39806 Remove conditional code.
39807 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39808 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39809 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39810 condition.
39811
39812 [BZ #13550]
39813 * csu/libc-start.c: Do not include <bp-sym.h>.
39814 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39815 * elf/dl-open.c: Do not include <bp-sym.h>.
39816 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39817 * math/fegetenv.c: Do not include <bp-sym.h>.
39818 (fegetenv): Do not use BP_SYM in versioned symbols.
39819 * nptl/sysdeps/pthread/bits/libc-lockP.h
39820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39821 <bp-sym.h>.
39822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39823 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39825 (__pthread_mutex_destroy): Likewise.
39826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39827 (__pthread_mutex_lock): Likewise.
39828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39829 (__pthread_mutex_trylock): Likewise.
39830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39831 (__pthread_mutex_unlock): Likewise.
39832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39833 (__pthread_mutexattr_init): Likewise.
39834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39835 (__pthread_mutexattr_destroy): Likewise.
39836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39837 (__pthread_mutexattr_settype): Likewise.
39838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39839 (__pthread_rwlock_init): Likewise.
39840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39841 (__pthread_rwlock_destroy): Likewise.
39842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39843 (__pthread_rwlock_rdlock): Likewise.
39844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39845 (__pthread_rwlock_tryrdlock): Likewise.
39846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39847 (__pthread_rwlock_wrlock): Likewise.
39848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39849 (__pthread_rwlock_trywrlock): Likewise.
39850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39851 (__pthread_rwlock_unlock): Likewise.
39852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39853 (__pthread_key_create): Likewise.
39854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39855 (__pthread_setspecific): Likewise.
39856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39857 (__pthread_getspecific): Likewise.
39858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39859 Likewise.
39860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39861 (_pthread_cleanup_push_defer): Likewise.
39862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39863 (_pthread_cleanup_pop_restore): Likewise.
39864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39865 (pthread_setcancelstate): Likewise.
39866 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39867 <bp-sym.h>.
39868 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39869 (memchr): Do not use BP_SYM in weak_alias.
39870 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39871 (fegetenv): Do not use BP_SYM in versioned symbols.
39872 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39873 (fesetenv): Do not use BP_SYM in versioned symbols.
39874 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39875 (feupdateenv): Do not use BP_SYM in versioned symbols.
39876 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39878 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39879 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39880 (open64): Do not use BP_SYM in weak_alias.
39881 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39882 (fegetenv): Do not use BP_SYM in versioned symbols.
39883 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39884 (fesetenv): Do not use BP_SYM in versioned symbols.
39885 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39886 (feupdateenv): Do not use BP_SYM in versioned symbols.
39887 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39888 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39889 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39890 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39891 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39892 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39893 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39894 <bp-sym.h>.
39895 (__libc_start_main): Do not use BP_SYM.
39896
39897 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39898
39899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39900 redundant return line.
39901 (norm): Likewise.
39902 (denorm): Likewise.
39903 (dbl_mp): Likewise.
39904 (sub_magnitudes): Likewise.
39905 (__add): Likewise.
39906 (__sub): Likewise.
39907 (__mul): Likewise.
39908 (__inv): Likewise.
39909 (__dvd): Likewise.
39910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39911 (norm): Likewise.
39912 (denorm): Likewise.
39913 (dbl_mp): Likewise.
39914 (sub_magnitudes): Likewise.
39915 (__add): Likewise.
39916 (__sub): Likewise.
39917 (__mul): Likewise.
39918 (__inv): Likewise.
39919 (__dvd): Likewise.
39920
39921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39922 instead of __mul.
39923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39924 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39925 (cc32): Likewise.
39926
39927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39928 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39930 of __mul for squares.
39931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39932 function
39933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39934 Likewise.
39935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39937
39938 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39939
39940 [BZ #13550]
39941 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39942 code.
39943 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39944 prototype or function definition. Rename ubp_* variables and
39945 parameters. Remove argv definitions conditional on
39946 [__BOUNDED_POINTERS__].
39947 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39948 * elf/dl-runtime.c (_dl_fixup): Likewise.
39949 * include/set-hooks.h (RUN_HOOK): Likewise.
39950 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39951 definition.
39952 * string/strcpy.c (strcpy): Do not use __unbounded.
39953 * sysdeps/generic/frame.h (struct layout): Likewise.
39954 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39955 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39956 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39957 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39958 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39959 (__backtrace): Likewise.
39960 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39961 use __ptrvalue.
39962 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39963 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39964 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39965 Likewise.
39966 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39967 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39968 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39969 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39970 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39971 Do not use __unbounded.
39972 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39973 Rename __unboundedrlimits parameter to rlimits in prototype.
39974 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39975 Do not use __unbounded.
39976 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39977 not use __ptrvalue.
39978 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39979 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39980 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39981 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39982 __ptrvalue or __unbounded.
39983 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39984 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39985 use __unbounded.
39986 (__new_msgctl): Do not use __ptrvalue.
39987 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39988 __unbounded.
39989 (__libc_msgrcv): Do not use __ptrvalue.
39990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39991 startup_info): Do not use __unbounded.
39992 (__libc_start_main): Likewise. Rename ubp_* variables and
39993 parameters. Remove argv definitions conditional on
39994 [__BOUNDED_POINTERS__].
39995 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39996 __ptrvalue.
39997 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39998 use __unbounded.
39999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40000 or __ptrvalue.
40001 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40002 use __unbounded.
40003 (__new_shmctl): Do not use __ptrvalue.
40004 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40005 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40006 Likewise.
40007 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40009 (__libc_sigaction): Likewise.
40010 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40012 Likewise.
40013 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40014
40015 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40016
40017 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40018
40019 * string/mempcpy.c: Implement by calling memcpy.
40020
40021 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40022
40023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40024
40025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40026 evaluation.
40027
40028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40029 values in the mantissa.
40030
40031 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40032 minimize writes to Z.
40033 (sub_magnitudes): Simplify code a bit.
40034
40035 2013-02-12 Roland McGrath <roland@hack.frob.com>
40036
40037 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40038 from the message. The linker prefixes all warnings with that already.
40039
40040 2013-02-12 Andreas Schwab <schwab@suse.de>
40041
40042 [BZ #15078]
40043 * posix/regexec.c (extend_buffers): Add parameter min_len.
40044 (check_matching): Pass minimum needed length.
40045 (clean_state_log_if_needed): Likewise.
40046 (get_subexp): Likewise.
40047 * posix/Makefile (tests): Add bug-regex34.
40048 (bug-regex34-ENV): Define.
40049 * posix/bug-regex34.c: New file.
40050
40051 [BZ #11561]
40052 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40053 elements compare against the byte sequence of it, not its name.
40054 * posix/Makefile (tests): Add bug-regex35.
40055 (bug-regex35-ENV): Define.
40056 * posix/bug-regex35.c: New file.
40057
40058 2013-02-11 Tom de Vries <tom@codesourcery.com>
40059
40060 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40061 comment.
40062 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40063 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40064 (CHECK_EOL): Add undef.
40065
40066 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40067
40068 * bits/stdlib-bsearch.h: New file.
40069 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40070 * stdlib/stdlib.h: Likewise.
40071
40072 2013-02-11 Roland McGrath <roland@hack.frob.com>
40073
40074 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40075 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40076 declaration.
40077 * manual/search.texi (Array Search Function): Add missing const in
40078 lfind prototype.
40079 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40080 declaration to use rlim_t.
40081 (Basic Scheduling Functions): Remove erroneous const from
40082 sched_getparam prototype. Remove erroneous * from
40083 sched_get_priority_max and sched_get_priority_min prototypes.
40084 (Resource Usage): Fix summary @comment on vtimes to refer to
40085 sys/vtimes.h rather than vtimes.h.
40086 Add missing *s in vtimes prototype.
40087 (Limits on Resources): Fix ulimit prototype to return long int.
40088 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40089 prototypes to use long int rather than double.
40090 (BSD Random): Fix initstate and setstate to use char *, not void *.
40091 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40092 prototype to make second argument 'struct aiocb64 *const[]'.
40093 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40094 (Status of AIO Operations): Remove erroneous const in aio_return and
40095 aio_return64 prototypes.
40096 (Synchronizing I/O): Fix sync prototype to return void.
40097 * manual/startup.texi (Suboptions): Remove an erroneous const in
40098 getsubopt prototype.
40099 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40100 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40101 use size_t rather than int.
40102 (Scanning All Users): Likewise for getpwent_r.
40103 (Setting Groups): Add missing const to setgroups prototype.
40104 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40105 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40106 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40107 'const void *' rather than 'const char *'.
40108 (Host Address Functions): Likewise for inet_ntop.
40109 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40110 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40111 ssize_t for return value.
40112 (Sending Data): Likewise for send, sendto, sendmsg.
40113 (Socket Option Functions): Add a missing const in setsockopt prototype.
40114 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40115 use wchar_t for the argument.
40116 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40117 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40118 take no arguments.
40119 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40120 double/float/long double for second argument.
40121 Fix return types of significand, significandf, significandl.
40122 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40123 argument in fchmod prototype.
40124 (File Owner): Use uid_t and gid_t in fchown prototype.
40125 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40126 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40127 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40128 use 'const struct dirent **' as argument types to CMP function pointer
40129 argument.
40130 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40131 (File Times): Fix summary magic @comment for struct utimbuf and utime
40132 to refer to utime.h, not time.h.
40133 * manual/string.texi (Argz Functions): Add missing const in
40134 argz_extract and argz_next prototypes.
40135 (Finding Tokens in a String): Likewise for basename.
40136 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40137 (Copying and Concatenation): Fix typo in wmemmove prototype.
40138 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40139 (Signal Stack): Remove erroneous const in sigstack prototype.
40140 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40141 prototype.
40142 (Simple Calendar Time): Likewise for stime.
40143 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40144 prototype.
40145 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40146 say sys/sysctl.h instead.
40147 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40148 and vsyslog prototypes.
40149
40150 2013-02-11 Tom de Vries <tom@codesourcery.com>
40151
40152 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40153 Remove.
40154
40155 2013-02-11 Roland McGrath <roland@hack.frob.com>
40156
40157 * misc/sys/mman.h: Fix typo in mremap comment.
40158
40159 2013-02-08 Roland McGrath <roland@hack.frob.com>
40160
40161 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40162 the '\0' terminator.
40163
40164 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40165
40166 [BZ #13550]
40167 * debug/segfault.c: Don't include <bp-checks.h>.
40168 * sysdeps/generic/bp-checks.h: Remove file.
40169 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40170 (__GETDENTS): Don't use CHECK_N.
40171 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40172 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40173 (__getgroups): Don't use CHECK_N.
40174 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40175 (setgroups): Don't use CHECK_N.
40176 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40177 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40178 (__libc_msgrcv): Don't use CHECK_N.
40179 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40180 (__libc_msgsnd): Don't use CHECK_N.
40181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40182 <bp-checks.h>.
40183 (__libc_pread): Don't use CHECK_N.
40184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40185 include <bp-checks.h>.
40186 (__libc_pread64): Don't use CHECK_N.
40187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40188 include <bp-checks.h>.
40189 (__libc_pwrite): Don't use CHECK_N.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40191 include <bp-checks.h>.
40192 (__libc_pwrite64): Don't use CHECK_N.
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40194 <bp-checks.h>.
40195 (__libc_pread): Don't use CHECK_N.
40196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40197 include <bp-checks.h>.
40198 (__libc_pread64): Don't use CHECK_N.
40199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40200 include <bp-checks.h>.
40201 (__libc_pwrite): Don't use CHECK_N.
40202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40203 include <bp-checks.h>.
40204 (__libc_pwrite64): Don't use CHECK_N.
40205 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40206 (do_pread): Don't use CHECK_N.
40207 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40208 (do_pread64): Don't use CHECK_N.
40209 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40210 (do_pwrite): Don't use CHECK_N.
40211 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40212 (do_pwrite64): Don't use CHECK_N.
40213 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40214 (__libc_readv): Don't use CHECK_N.
40215 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40216 (semop): Don't use CHECK_N.
40217 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40218 <bp-checks.h>.
40219 (semtimedop): Don't use CHECK_N.
40220 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40221 (__libc_pread): Don't use CHECK_N.
40222 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40223 <bp-checks.h>.
40224 (__libc_pread64): Don't use CHECK_N.
40225 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40226 <bp-checks.h>.
40227 (__libc_pwrite): Don't use CHECK_N.
40228 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40229 <bp-checks.h>.
40230 (__libc_pwrite64): Don't use CHECK_N.
40231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40232 <bp-checks.h>.
40233 (__libc_msgrcv): Don't use CHECK_N.
40234 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40235 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40236 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40237 (__libc_writev): Don't use CHECK_N.
40238
40239 2013-02-08 Roland McGrath <roland@hack.frob.com>
40240
40241 * string/strcpy.c: Removed unused variable.
40242
40243 * Makeconfig (+sysdep-includes): Define with := rather than =.
40244 Use an existing include/ subdir of each sysdeps dir before it.
40245
40246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40247
40248 * nscd/connection.c (register_traced_file): Comment function.
40249 [HAVE_INOTIFY] (union __inev): Define.
40250 [HAVE_INOTIFY] (inotify_check_files): New function.
40251 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40252 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40253 clear_db_cache.
40254 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40255
40256 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40257
40258 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40259 loaded if not already and that a failure is permanent.
40260
40261 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40262
40263 [BZ #15006]
40264 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40265 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40266
40267 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40268
40269 [BZ #13550]
40270 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40271 (CHECK_1_NULL_OK): Likewise.
40272 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40273 (__fxstat): Do not use CHECK_1.
40274 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40275 <bp-checks.h>.
40276 (___fxstat64): Do not use CHECK_1.
40277 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40278 <bp-checks.h>.
40279 (__fxstatat): Do not use CHECK_1.
40280 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40281 <bp-checks.h>.
40282 (__fxstatat64): Do not use CHECK_1.
40283 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40284 <bp-checks.h>.
40285 (__fxstat): Do not use CHECK_1.
40286 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40287 <bp-checks.h>.
40288 (__fxstatat): Do not use CHECK_1.
40289 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40290 <bp-checks.h>.
40291 (__getresgid): Do not use CHECK_1.
40292 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40293 <bp-checks.h>.
40294 (__getresuid): Do not use CHECK_1.
40295 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40296 <bp-checks.h>.
40297 (__lxstat): Do not use CHECK_1.
40298 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40299 <bp-checks.h>.
40300 (__old_msgctl): Do not use CHECK_1.
40301 (__new_msgctl): Likewise.
40302 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40303 <bp-checks.h>.
40304 (__new_setrlimit): Do not use CHECK_1.
40305 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40306 <bp-checks.h>.
40307 (__old_shmctl): Do not use CHECK_1.
40308 (__new_shmctl): Likewise.
40309 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40310 <bp-checks.h>.
40311 (__xstat): Do not use CHECK_1.
40312 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40313 (__lxstat): Do not use CHECK_1.
40314 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40315 <bp-checks.h>.
40316 (___lxstat64): Do not use CHECK_1.
40317 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40318 (__old_msgctl): Do not use CHECK_1.
40319 (__new_msgctl): Likewise.
40320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40321 <bp-checks.h>.
40322 (__gettimeofday): Do not use CHECK_1.
40323 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40324 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40325 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40326 <bp-checks.h>.
40327 (__gettimeofday): Do not use CHECK_1.
40328 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40329 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40330 (__new_shmctl): Do not use CHECK_1.
40331 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40332 <bp-checks.h>.
40333 (do_sigtimedwait): Do not use CHECK_1.
40334 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40335 <bp-checks.h>.
40336 (do_sigwaitinfo): Do not use CHECK_1.
40337 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40338 <bp-checks.h>.
40339 (msgctl): Do not use CHECK_1.
40340 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40341 <bp-checks.h>.
40342 (shmctl): Do not use CHECK_1.
40343 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40344 (ustat): Do not use CHECK_1.
40345 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40346 <bp-checks.h>.
40347 (__fxstat): Do not use CHECK_1.
40348 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40349 <bp-checks.h>.
40350 (__fxstatat): Do not use CHECK_1.
40351 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40352 <bp-checks.h>.
40353 (__lxstat): Do not use CHECK_1.
40354 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40355 <bp-checks.h>.
40356 (__xstat): Do not use CHECK_1.
40357 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40358 (__xstat): Do not use CHECK_1.
40359 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40360 (___xstat64): Do not use CHECK_1.
40361
40362 [BZ #13550]
40363 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40364 definitions.
40365 (CHECK_BOUNDS_HIGH): Likewise.
40366 * string/strcpy.c: Do not include <bp-checks.h>.
40367 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40368
40369 2013-02-07 Roland McGrath <roland@hack.frob.com>
40370
40371 * nscd/nscd-client.h (__nscd_drop_map_ref):
40372 Add __attribute__ ((unused)).
40373 * nis/nss-nisplus.h (niserr2nss): Likewise.
40374
40375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40376 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40377
40378 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40379 Remove inline keyword.
40380 * include/rounding-mode.h (round_away): Likewise.
40381 * libio/wfileops.c (adjust_wide_data): Likewise.
40382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40383 (__m128i_strloadu_tolower): Likewise.
40384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40385 (__m128i_strloadu_tolower): Likewise.
40386 * time/mktime.c (ydhms_diff): Likewise.
40387 * locale/elem-hash.h (elem_hash): Likewise.
40388 * locale/setlocale.c (setdata): Likewise.
40389 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40390 (re_string_wchar_at): Likewise.
40391 (bitset_not, bitset_merge, bitset_mask): Likewise.
40392 [!(__GNUC__ > 3)] (inline): Remove macro.
40393 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40394 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40395 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40396 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40397 * string/memcmp.c (memcmp_bytes): Likewise.
40398 * locale/programs/locarchive.c (compute_hashval): Likewise.
40399 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40400 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40401 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40402 * nss/getent.c (print_rpc, print_protocols): Likewise.
40403 (print_passwd, print_group, print_aliases): Likewise.
40404 * nis/nss-nisplus.h (niserr2nss): Likewise.
40405 * nscd/connections.c (restart_p): Likewise.
40406 Change return type to bool.
40407
40408 2013-02-05 Roland McGrath <roland@hack.frob.com>
40409
40410 * Makeconfig (all-Depend-files): Add existing
40411 $(sorted-subdirs:=/Depend) files.
40412 (all-subdirs): Remove nss.
40413 * sysdeps/unix/inet/Subdirs: Add it here instead.
40414 * hesiod/Depend: New file.
40415
40416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40417 instead of calling alloca.
40418
40419 * io/lseek.c (__lseek): Rename to __libc_lseek.
40420 Define __lseek as an alias.
40421
40422 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40423
40424 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40425
40426 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40427 else clause and remove check for non-standard endianness.
40428
40429 2013-02-04 David S. Miller <davem@davemloft.net>
40430
40431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40432
40433 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #13550]
40436 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40437 (__ubp_memchr): Remove prototype.
40438 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40439 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40440 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40441 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40442 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40443 Remove alias.
40444 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40445 (__ubp_memchr): Likewise.
40446 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40447 (__ubp_memchr): Likewise.
40448 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40449 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40450 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40452 CHECK_STRING.
40453 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40454 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40455 (__getcwd): Do not use CHECK_STRING.
40456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40457 <bp-checks.h>.
40458 (__real_chown): Do not use CHECK_STRING.
40459 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40460 <bp-checks.h>.
40461 (fchownat): Do not use CHECK_STRING.
40462 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40463 CHECK_STRING.
40464 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40465 <bp-checks.h>.
40466 (__lchown): Do not use CHECK_STRING.
40467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40468 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40469 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40470 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40472 include <bp-checks.h>.
40473 (truncate64): Do not use CHECK_STRING.
40474 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40475 <bp-checks.h>.
40476 (__real_chown): Do not use CHECK_STRING.
40477 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40478 <bp-checks.h>.
40479 (__lchown): Do not use CHECK_STRING.
40480 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40481 <bp-checks.h>.
40482 (__chown): Do not use CHECK_STRING.
40483 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40484 <bp-checks.h>.
40485 (truncate64): Do not use CHECK_STRING.
40486 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40487 Likewise.
40488 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40489 (__xmknod): Do not use CHECK_STRING.
40490 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40491 <bp-checks.h>.
40492 (__xmknodat): Do not use CHECK_STRING.
40493 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40494 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40495
40496 2013-02-04 Andreas Schwab <schwab@suse.de>
40497
40498 [BZ #14142]
40499 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40500 * include/netdb.h: Likewise for h_errno.
40501 * elf/tst-stackguard1.c: Include <tls.h>.
40502
40503 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40504
40505 * elf/link.h (struct link_map): Extend the l_addr comment.
40506 * include/link.h (struct link_map): Likewise.
40507
40508 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40509
40510 [BZ #13550]
40511 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40512 (BOUNDED_1): Remove macro.
40513 * debug/backtrace.c: Don't include <bp-checks.h>.
40514 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40515 (__backtrace): Likewise.
40516 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40517 <bp-checks.h>.
40518 (__backtrace): Don't use BOUNDED_1.
40519 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40520 <bp-checks.h>.
40521 (__backtrace): Don't use BOUNDED_1.
40522 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40523 (__backtrace): Don't use BOUNDED_1.
40524 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40525 (shmat): Don't use BOUNDED_N.
40526
40527 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40528
40529 [BZ #13550]
40530 * sysdeps/generic/bp-start.h: Remove file.
40531 * csu/libc-start.c: Don't include <bp-start.h>.
40532 (LIBC_START_MAIN): Set up __environ directly instead of using
40533 INIT_ARGV_and_ENVIRON.
40534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40535 <bp-start.h>.
40536
40537 [BZ #13550]
40538 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40539 definitions.
40540 (CHECK_FCNTL): Likewise.
40541 (CHECK_N_PAGES): Likewise.
40542
40543 [BZ #13550]
40544 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40545 definitions.
40546 (CHECK_SIGSET_NULL_OK): Likewise.
40547 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40548 <bp-checks.h>.
40549 (sigpending): Don't use CHECK_SIGSET.
40550 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40551 <bp-checks.h>.
40552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40553 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40554 <bp-checks.h>.
40555 (do_sigsuspend): Don't use CHECK_SIGSET.
40556 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40557 use CHECK_SIGSET.
40558 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40559 (do_sigwait): Don't use CHECK_SIGSET.
40560 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40561 use CHECK_SIGSET.
40562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40563 include <bp-checks.h>.
40564 (sigpending): Don't use CHECK_SIGSET.
40565 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40566 include <bp-checks.h>.
40567 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40568 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40569 <bp-checks.h>.
40570 (sigpending): Don't use CHECK_SIGSET.
40571 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40572 <bp-checks.h>.
40573 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40574
40575 [BZ #13550]
40576 * sysdeps/generic/bp-semctl.h: Remove file.
40577 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40578 <bp-checks.h> and <bp-semctl.h>.
40579 (__old_semctl): Don't use CHECK_SEMCTL.
40580 (__new_semctl): Likewise.
40581 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40582 and <bp-semctl.h>.
40583 (__old_semctl): Don't use CHECK_SEMCTL.
40584 (__new_semctl): Likewise.
40585 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40586 <bp-checks.h> and <bp-semctl.h>.
40587 (__old_semctl): Don't use CHECK_SEMCTL.
40588 (__new_semctl): Likewise.
40589 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40590 <bp-checks.h> and <bp-semctl.h>.
40591 (semctl): Don't use CHECK_SEMCTL.
40592
40593 [BZ #13550]
40594 * Makerules (elide-bp-thunks): Remove variable.
40595 (elide-routines.oS): Don't use $(elide-bp-thunks).
40596 (elide-routines.os): Likewise.
40597 (elide-routines.o): Likewise.
40598 (elide-routines.op): Likewise.
40599 (elide-routines.og): Likewise.
40600 (objects): Don't use $(bp-thunks).
40601 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40602 include.
40603 (common-generated): Do not add s-proto-bp.d.
40604 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40605 (int): Likewise.
40606 (typ): Likewise.
40607 Do not generate makefile rules for bounded-pointer thunks.
40608 * sysdeps/generic/bp-thunks.h: Remove file.
40609 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40610 * sysdeps/unix/s-proto-bp.S: Likewise.
40611
40612 [BZ #15062]
40613 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40614 parts of result separately when argument is not close to line from
40615 -i to i and one part of argument is small.
40616 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40617 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40618 * math/libm-test.inc (cacos_test): Add more tests.
40619 (casin_test): Likewise.
40620 (casinh_test): Likewise.
40621 * sysdeps/i386/fpu/libm-test-ulps: Update.
40622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40623
40624 2013-01-31 David S. Miller <davem@davemloft.net>
40625
40626 * po/de.po: Update from translation team.
40627
40628 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40629
40630 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40631
40632 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40633
40634 * configure.in (_AC_PROG_CC_C89): New definition.
40635 * configure: Regenerate.
40636
40637 * configure.in (AC_PROG_CPP): New definition.
40638 * configure: Regenerate.
40639
40640 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40641
40642 * debug/tst-backtrace.h: New file.
40643 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40644 (ret): Remove variable.
40645 (x): Likewise.
40646 (FAIL): Remove macro.
40647 (NO_INLINE): Likewise.
40648 (fn1): Use match function instead of strstr.
40649 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40650 (ret): Remove variable.
40651 (x): Likewise.
40652 (FAIL): Remove macro.
40653 (NO_INLINE): Likewise.
40654 (fn): Use match function instead of strstr.
40655 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40656 (ret): Remove variable.
40657 (x): Likewise.
40658 (FAIL): Remove macro.
40659 (NO_INLINE): Likewise.
40660 (handle_signal): Use match function instead of strstr.
40661 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40662 (ret): Remove variable.
40663 (x): Likewise.
40664 (FAIL): Remove macro.
40665 (NO_INLINE): Likewise.
40666 (handle_signal): Use match function instead of strstr.
40667
40668 2013-01-23 Roland McGrath <roland@hack.frob.com>
40669
40670 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40671
40672 2013-01-23 David S. Miller <davem@davemloft.net>
40673
40674 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40675 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40676 argument of CAS if possible.
40677 * sysdeps/sparc/sparc64/bits/atomic.h
40678 (__arch_compare_and_exchange_val_32_acq): Likewise.
40679 (__arch_compare_and_exchange_val_64_acq): Likewise.
40680
40681 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40682
40683 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40684 * sysdeps/posix/ulimit.c: ... this.
40685 Include <limits.h>.
40686 * sysdeps/unix/bsd/ulimit.c: Remove file.
40687
40688 2013-01-23 Adam Conrad <adconrad@0c3.net>
40689
40690 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40691 (LDFLAGS-tst-array5): Likewise.
40692
40693 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40694
40695 [BZ #15036]
40696 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40697 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40698 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40699 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40700
40701 2013-01-21 David S. Miller <davem@davemloft.net>
40702
40703 * sysdeps/sparc/backtrace.c: New file.
40704 * sysdeps/sparc/sparc32/backtrace.h: New file.
40705 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40706 * sysdeps/sparc/sparc64/backtrace.h: New file.
40707 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40708 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40709 -funwind-tables.
40710
40711 2013-01-21 Andreas Schwab <schwab@suse.de>
40712
40713 [BZ #15020]
40714 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40715 closed its stdout.
40716
40717 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40718
40719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40720 "mpa2.h".
40721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40722
40723 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40724 Mark Mitchell <mark@codesourcery.com>
40725 Tom de Vries <tom@codesourcery.com>
40726 Paul Pluzhnikov <ppluzhnikov@google.com>
40727
40728 * debug/tst-backtrace2.c: New file.
40729 * debug/tst-backtrace3.c: Likewise.
40730 * debug/tst-backtrace4.c: Likewise.
40731 * debug/tst-backtrace5.c: Likewise.
40732 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40733 (CFLAGS-tst-backtrace3.c): Likewise.
40734 (CFLAGS-tst-backtrace4.c): Likewise.
40735 (CFLAGS-tst-backtrace5.c): Likewise.
40736 (LDFLAGS-tst-backtrace2): Likewise.
40737 (LDFLAGS-tst-backtrace3): Likewise.
40738 (LDFLAGS-tst-backtrace4): Likewise.
40739 (LDFLAGS-tst-backtrace5): Likewise.
40740 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40741 tst-backtrace4 and tst-backtrace5.
40742
40743 2013-01-18 Anton Blanchard <anton@samba.org>
40744 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40745
40746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40747 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40748 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40749 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40751 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40752 "+r" and remove output regs list as redundant. Add explicit inline
40753 asm to specify register of return val to work around compiler codegen
40754 bug. Remove (int) cast on return value. Add return type parameter to
40755 use in macro so that this macro does not truncate return value for
40756 64-bit values.
40757 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40758 pass to INTERNAL_VSYSCALL_NCS.
40759 (INLINE_VSYSCALL): Add 'long int' as return type to
40760 INTERNAL_VSYSCALL_NCS macro invocation.
40761 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40762 INTERNAL_VSYSCALL_NCS macro invocation.
40763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40764
40765 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40766
40767 [BZ #14496]
40768 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40769 Fix application of SIMD FP exception mask.
40770
40771 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40772 mp_no from a power of two.
40773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40774 __mpexp_twomm1. Use __pow_mp.
40775
40776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40777 multiplication.
40778
40779 2013-01-17 David S. Miller <davem@davemloft.net>
40780
40781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40782
40783 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40784
40785 [BZ #15023]
40786 * include/complex.h: Condition contents on [!_COMPLEX_H].
40787 (__kernel_casinhf): New prototype.
40788 (__kernel_casinh): Likewise.
40789 (__kernel_casinhl): Likewise.
40790 * math/Makefile (libm_calls): Add k_casinh.
40791 * math/k_casinh.c: New file.
40792 * math/k_casinhf.c: Likewise.
40793 * math/k_casinhl.c: Likewise.
40794 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40795 finite nonzero arguments.
40796 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40797 finite nonzero arguments.
40798 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40799 finite nonzero arguments.
40800 * math/s_casinh.c: Do not include <float.h>.
40801 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40802 * math/s_casinhf.c: Do not include <float.h>.
40803 (__casinhf): Move code for finite nonzero arguments to
40804 k_casinhf.c.
40805 * math/s_casinhl.c: Do not include <float.h>.
40806 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40807 redefine.
40808 (__casinhl): Move code for finite nonzero arguments to
40809 k_casinhl.c.
40810 * math/libm-test.inc (cacos_test): Add more tests.
40811 * sysdeps/i386/fpu/libm-test-ulps: Update.
40812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40813
40814 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40815
40816 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40817 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40818 [!HAVE_MREMAP]: Remove [defined linux] case.
40819 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40820
40821 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40822
40823 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40824
40825 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40826
40827 * elf/elf.h (R_386_SIZE32): New relocation.
40828 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40829 R_386_SIZE32.
40830 (elf_machine_rela): Likewise.
40831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40832 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40833
40834 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40835
40836 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40837 (FP_FAST_FMA): Do not define.
40838 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40839 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40840 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40841 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40842 !_SOFT_FLOAT]: Likewise.
40843 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40845 value.
40846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40847 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40849 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40850 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40851 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40852 file.
40853
40854 2013-01-16 Andreas Schwab <schwab@suse.de>
40855
40856 [BZ #14327]
40857 * include/stdlib.h (__mktemp): Add declaration.
40858 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40859 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40860
40861 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40862
40863 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40864 definitions.
40865 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40866 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40867 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40868 definitions here.
40869 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40870 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40871 definitions.
40872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40873 and ONE.
40874 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40875 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40876 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40877 definitions.
40878 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40879 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40880 definitions.
40881 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40882
40883 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40884
40885 2013-01-15 David S. Miller <davem@davemloft.net>
40886
40887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40888 trunc{,f} to libm-sysdep_routes.
40889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40891 file.
40892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40894 file.
40895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40896 file.
40897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40899 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40900 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40901 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40902 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40903 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40904 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40905
40906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40907 nearbyint{,f} to libm-sysdep_routes.
40908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40910 New file.
40911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40912 file.
40913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40914 New file.
40915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40916 file.
40917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40920 file.
40921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40923 file.
40924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40925 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40926 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40927
40928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40929 libc_feholdexcept and libc_fesetenv.
40930
40931 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40932
40933 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40934
40935 2013-01-14 David S. Miller <davem@davemloft.net>
40936
40937 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40938 (SPARC_ASM_VIS2_IFUNC): Likewise.
40939 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40941 use of 'siam' instruction.
40942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40943 Likewise.
40944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40945 Likewise.
40946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40947 Likewise.
40948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40953 file.
40954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40955 file.
40956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40957 file.
40958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40959 file.
40960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40965 new VIS2 routines.
40966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40969 Likewise.
40970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40975 routines to libm-sysdep_routines.
40976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40977
40978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40979 fdim/fdimf to libm-sysdep_routines.
40980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40981 file.
40982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40984 file.
40985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40988 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40989 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40990 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40991 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40992
40993 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40994
40995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40996 to optimize copies.
40997
40998 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41001
41002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41003 local variable MPTWO.
41004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41005 Likewise.
41006
41007 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41008
41009 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41010 GLOB_NOESCAPE.
41011
41012 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41013
41014 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41015
41016 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41017
41018 * manual/pattern.texi (glob_t): Document gl_flags.
41019 (glob64_t): Likewise.
41020
41021 2013-01-11 David S. Miller <davem@davemloft.net>
41022
41023 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41024 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41025 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41026 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41027 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41028 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41029 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41030 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41031 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41032 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41033 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41034 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41035 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41036
41037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41038 sparc V9 rather than using V8 code.
41039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41041
41042 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41043 Move to...
41044 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41045 Here.
41046
41047 2013-01-11 Roland McGrath <roland@hack.frob.com>
41048
41049 [BZ #14941]
41050 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41051 not in the main loop.
41052 * configure: Regenerated.
41053
41054 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41055
41056 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41057 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41058 to just #else.
41059 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41060 [!__GLIBC_HAVE_LONG_LONG] case.
41061 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41062 condition to just #else.
41063 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41064 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41065 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41066 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41067 unconditional.
41068 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41069 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41070 #elif condition to just #else.
41071 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41072 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41073 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41074 #elif condition to just #else.
41075
41076 2013-01-11 Steve Ellcey <sellcey@mips.com>
41077
41078 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41079 (EF_MIPS_ARCH_64): Fix value.
41080 (EF_MIPS_ARCH_32R2): New.
41081 (EF_MIPS_ARCH_64R2): New.
41082
41083 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41084
41085 * Makeconfig (+link-pie-before-libc): New.
41086 (+link-pie-after-libc): Likewise.
41087 (+link-pie-tests): Likewise.
41088 (+link-pie): Rewritten.
41089 (link-before-libc): Remove $(config-LDFLAGS).
41090 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41091 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41092 (config-LDFLAGS): Renamed to ...
41093 (rtld-LDFLAGS): This.
41094 (rtld-tests-LDFLAGS): New macro.
41095 (link-libc-rpath-link): Likewise.
41096 (link-libc-tests-rpath-link): Likewise.
41097 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41098 (link-libc): Prepand $(link-libc-rpath-link).
41099 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41100 (test-program-prefix): New macro.
41101 (test-via-rtld-prefix): Likewise.
41102 (test-program-cmd): Likewise.
41103 (host-test-program-cmd): Likewise.
41104 * Makefile ($(common-objpfx)testrun.sh): Replace
41105 $(run-program-prefix) with $(test-program-prefix).
41106 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41107 $(rtld-LDFLAGS).
41108 ($(common-objpfx)shlib.lds): Likewise.
41109 (build-module-helper): Likewise.
41110 ($(common-objpfx)format.lds): Likewise.
41111 * Rules (binaries-pie-tests): New.
41112 (binaries-pie-notests): Likewise.
41113 (binaries-pie): Rewritten.
41114 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41115 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41116 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41117 (make-test-out): Replace $(host-built-program-cmd) with
41118 $(host-test-program-cmd).
41119 * config.make.in (build-hardcoded-path-in-tests): New variable.
41120 * configure.in (--enable-hardcoded-path-in-tests): New configure
41121 option.
41122 (hardcoded_path_in_tests): New AC_SUBST.
41123 * configure: Regenerated.
41124 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41125 $(built-program-cmd) with $(test-program-cmd).
41126 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41127 (test_program_cmd): This.
41128 * elf/Makefile ($(objpfx)order.out): Run test with
41129 $(test-program-prefix).
41130 ($(objpfx)order2.out): Likewise.
41131 ($(objpfx)tst-initorder.out): Likewise.
41132 ($(objpfx)tst-initorder2.out): Likewise.
41133 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41134 $(test-program-cmd).
41135 ($(objpfx)tst-array1-static.out): Likewise.
41136 ($(objpfx)tst-array2.out): Likewise.
41137 ($(objpfx)tst-array3.out): Likewise.
41138 ($(objpfx)tst-array4.out): Likewise.
41139 ($(objpfx)tst-array5.out): Likewise.
41140 ($(objpfx)tst-array5-static.out): Likewise.
41141 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41142 $(test-program-cmd).
41143 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41144 $(run-program-prefix) with $(test-program-prefix).
41145 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41146 (test_program_prefix): This.
41147 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41148 $(run-program-prefix) with $(test-program-prefix).
41149 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41150 (test_program_prefix): This.
41151 * iconvdata/tst-tables.sh: Likewise.
41152 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41153 $(run-program-prefix) with $(test-program-prefix).
41154 ($(objpfx)tst-translit.out): Likewise.
41155 ($(objpfx)tst-gettext2.out): Likewise.
41156 ($(objpfx)tst-gettext4.out): Likewise.
41157 ($(objpfx)tst-gettext6.out): Likewise.
41158 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41159 (test_program_prefix): This.
41160 * intl/tst-gettext2.sh: Likewise.
41161 * intl/tst-gettext4.sh Likewise.
41162 * intl/tst-gettext6.sh: Likewise.
41163 * intl/tst-translit.sh: Likewise.
41164 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41165 with $(test-program-cmd).
41166 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41167 $(run-program-prefix) with $(test-program-prefix).
41168 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41169 (test_program_prefix): This.
41170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41171 $(run-program-prefix) with $(test-program-prefix).
41172 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41173 (test_program_prefix): This.
41174 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41175 * posix/Makefile ($(objpfx)globtest.out): Replace
41176 $(run-via-rtld-prefix) and $(test-wrapper) with
41177 $(test-program-prefix) and $(test-via-rtld-prefix).
41178 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41179 $(test-program-prefix).
41180 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41181 $(host-test-program-cmd).
41182 (tst-spawn-ARGS): Likewise.
41183 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41184 $(test-program-prefix).
41185 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41186 (test_via_rtld_prefix): This.
41187 (test_wrapper): Renamed to ...
41188 (test_program_prefix): This.
41189 (run_program_prefix): Replaced by test_program_prefix.
41190 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41191 (test_program_prefix): This.
41192 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41193 with $(host-test-program-cmd).
41194 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41195 $(run-program-prefix) with $(test-program-prefix).
41196 ($(objpfx)tst-printf.out): Likewise.
41197 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41198 $(test-program-cmd).
41199 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41200 (test_program_prefix): This.
41201 * stdio-common/tst-unbputc.sh: Likewise.
41202 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41203 $(run-program-prefix) with $(test-program-prefix).
41204 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41205 (test_program_prefix): This.
41206 * string/Makefile ($(objpfx)tst-svc.out): Replace
41207 $(built-program-cmd) with $(test-program-cmd).
41208
41209 2013-01-11 Andreas Jaeger <aj@suse.de>
41210
41211 [BZ #15003]
41212 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41213 value. Sync with Linux 3.7.
41214
41215 2013-01-10 David S. Miller <davem@davemloft.net>
41216
41217 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41218 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41219 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41220
41221 2013-01-10 Roland McGrath <roland@hack.frob.com>
41222
41223 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41224 never set.
41225 * configure: Regenerated.
41226
41227 2013-01-10 David S. Miller <davem@davemloft.net>
41228
41229 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41230 sparc V9 rather than using V8 code.
41231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41233
41234 2013-01-10 Roland McGrath <roland@hack.frob.com>
41235
41236 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41237 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41238 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41239 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41240 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41241 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41242 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41243 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41244 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41245 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41246 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41247 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41248 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41249 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41250 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41251 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41252 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41253 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41254 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41255 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41256 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41257 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41258 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41259 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41260 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41261 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41262 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41263
41264 2013-01-10 David S. Miller <davem@davemloft.net>
41265
41266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41267
41268 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41269
41270 * posix/Makefile (tests-static): New variable.
41271 (tests): Add $(tests-static).
41272 (tst-exec-static-ARGS): New variable.
41273 (tst-spawn-static-ARGS): Likewise.
41274 * posix/tst-exec-static.c: New file.
41275 * posix/tst-spawn-static.c: Likewise.
41276 * posix/tst-exec.c: Support run directly.
41277 * posix/tst-spawn.c: Likewise.
41278
41279 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41280
41281 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41282 long.
41283 * math/bits/mathcalls.h (llrint): Likewise.
41284 (llround): Likewise.
41285 * stdlib/stdlib.h (struct drand48_data): Likewise.
41286 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41287 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41288 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41289 Likewise.
41290 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41291 Likewise.
41292 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41293 (elf_greg_t): Likewise.
41294 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41295 (__jmp_buf): Likewise.
41296 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41297 definitions.
41298 (llrint): Likewise, for all definitions.
41299 (llrintl): Likewise.
41300
41301 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41302 Remove [__GNUC__] condition.
41303 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41304 condition to just [__USE_ISOC99].
41305 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41306
41307 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41308
41309 [BZ #14200]
41310 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41311 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41312 defined.
41313 (_POSIX_V6_ILP32_OFF32): Likewise.
41314 (_XBS5_ILP32_OFF32): Likewise.
41315 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41316 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41317
41318 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41319
41320 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41321
41322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41323 doubles __mpexp_twomm1. Adjust usage.
41324 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41325 Remove.
41326
41327 2013-01-10 Andreas Schwab <schwab@suse.de>
41328
41329 [BZ #14964]
41330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41331 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41332
41333 2013-01-09 David S. Miller <davem@davemloft.net>
41334
41335 [BZ #15003]
41336 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41337 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41338 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41339 (TCP_FASTOPEN): Define.
41340 (tcp_repair_opt): New structure.
41341 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41342 enum values.
41343 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41344 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41345 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41346 (tcp_cookie_transactions): New structure.
41347
41348 2013-01-09 Anton Blanchard <anton@samba.org>
41349
41350 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41353 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41354
41355 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41356
41357 * include/features.h (__USE_ANSI): Remove.
41358
41359 2013-01-09 Roland McGrath <roland@hack.frob.com>
41360
41361 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41362
41363 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41364
41365 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41366
41367 * sysdeps/s390/fpu/libm-test-ulps: Update.
41368
41369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41370
41371 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41372 (__acr): Likewise.
41373 (__cpy): Likewise.
41374 (norm): Likewise.
41375 (denorm): Likewise.
41376 (__mp_dbl): Likewise.
41377 (__dbl_mp): Likewise.
41378 (add_magnitudes): Likewise.
41379 (sub_magnitudes): Likewise.
41380 (__add): Likewise.
41381 (__sub): Likewise.
41382 (__mul): Likewise.
41383 (__inv): Likewise.
41384 (__dvd): Likewise.
41385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41386 (__acr): Likewise.
41387 (__cpy): Likewise.
41388 (norm): Likewise.
41389 (denorm): Likewise.
41390 (__mp_dbl): Likewise.
41391 (__dbl_mp): Likewise.
41392 (add_magnitudes): Likewise.
41393 (sub_magnitudes): Likewise.
41394 (__add): Likewise.
41395 (__sub): Likewise.
41396 (__mul): Likewise.
41397 (__inv): Likewise.
41398 (__dvd): Likewise.
41399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41400 (__acr): Likewise.
41401 (__cpy): Likewise.
41402 (norm): Likewise.
41403 (denorm): Likewise.
41404 (__mp_dbl): Likewise.
41405 (__dbl_mp): Likewise.
41406 (add_magnitudes): Likewise.
41407 (sub_magnitudes): Likewise.
41408 (__add): Likewise.
41409 (__sub): Likewise.
41410 (__mul): Likewise.
41411 (__inv): Likewise.
41412 (__dvd): Likewise.
41413
41414 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41415
41416 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41417 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41418 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41419 2 && __USE_EXTERN_INLINES]: Likewise.
41420
41421 2013-01-08 Andreas Jaeger <aj@suse.de>
41422
41423 [BZ# 14985]
41424 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41425 Remove.
41426 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41428
41429 2013-01-07 Anton Blanchard <anton@samba.org>
41430
41431 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41432 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41433 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41434 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41435 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41437 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41438 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41441 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41449 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41452 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41454 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41455 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41456 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41457 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41458 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41460 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41461 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41464 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41465 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41466 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41467 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41471 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41473 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41474
41475 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41476
41477 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41478 (__MALLOC_PMT): Likewise.
41479 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41480 [__GNUC__], only on [_LIBC].
41481 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41482 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41483 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41484 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41485 forward declaration.
41486 (realloc_hook_ini): Likewise.
41487 (memalign_hook_ini): Likewise.
41488 (__libc_memalign): Do not use __MALLOC_PMT in variable
41489 declaration.
41490 (__libc_valloc): Likewise.
41491 (__libc_pvalloc): Likewise.
41492 (__libc_calloc): Likewise.
41493 (__posix_memalign): Likewise.
41494
41495 [BZ #14996]
41496 * math/s_casinh.c: Include <float.h>.
41497 (__casinh): Do not do computation with squaring and square root
41498 for large arguments.
41499 * math/s_casinhf.c: Include <float.h>.
41500 (__casinhf): Do not do computation with squaring and square root
41501 for large arguments.
41502 * math/s_casinhl.c: Include <float.h>.
41503 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41504 (__casinhl): Do not do computation with squaring and square root
41505 for large arguments.
41506 * math/libm-test.inc (casin_test): Add more tests.
41507 (casinh_test): Likewise.
41508 * sysdeps/i386/fpu/libm-test-ulps: Update.
41509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41510
41511 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41512
41513 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41514 (__x86_64_raw_data_cache_size): Likewise.
41515 (__x86_64_data_cache_size_half): Likewise.
41516 (__x86_64_raw_data_cache_size_half): Likewise.
41517 (__x86_64_shared_cache_size): Likewise.
41518 (__x86_64_raw_shared_cache_size): Likewise.
41519 (__x86_64_shared_cache_size_half): Likewise.
41520 (__x86_64_raw_shared_cache_size_half): Likewise.
41521 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41522 to ...
41523 (__x86_data_cache_size): This.
41524 (__x86_64_raw_data_cache_size): Renamed to ...
41525 (__x86_raw_data_cache_size): This.
41526 (__x86_64_data_cache_size_half): Renamed to ...
41527 (__x86_data_cache_size_half): This.
41528 (__x86_64_raw_data_cache_size_half): Renamed to ...
41529 (__x86_raw_data_cache_size_half): This.
41530 (__x86_64_shared_cache_size): Renamed to ...
41531 (__x86_shared_cache_size): This.
41532 (__x86_64_raw_shared_cache_size): Renamed to ...
41533 (__x86_raw_shared_cache_size): This.
41534 (__x86_64_shared_cache_size_half): Renamed to ...
41535 (__x86_shared_cache_size_half): This.
41536 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41537 (__x86_raw_shared_cache_size_half): This.
41538 * sysdeps/x86_64/memcpy.S: Updated.
41539 * sysdeps/x86_64/memset.S: Likewise.
41540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41543
41544 2013-01-04 David S. Miller <davem@davemloft.net>
41545
41546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41547
41548 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41549
41550 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41551 1 to avoid redefinition warning.
41552 (__USE_GNU): Don't define.
41553 (init_signaling_nan): Protoize.
41554
41555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41556
41557 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41558
41559 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41561 (__cpymn): Likewise.
41562 (norm): Remove commented code.
41563 (denorm): Likewise.
41564 (__mp_dbl): Likewise.
41565 (__inv): Likewise.
41566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41567 (__cpymn): Likewise.
41568 (norm): Remove commented code.
41569 (denorm): Likewise.
41570 (__mp_dbl): Likewise.
41571 (__inv): Likewise.
41572
41573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41574 mp_no value for 1.0 and 2.0.
41575 (norm): Use RADIXI instead of radixi.d.
41576 (denorm): Likewise.
41577 (__mul): Use 0.0 instead of zero.d.
41578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41579 mp_no value for 1.0 and 2.0.
41580 (norm): Use RADIXI instead of radixi.d.
41581 (denorm): Likewise.
41582 (__mul): Use 0.0 instead of zero.d.
41583
41584 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41585
41586 [BZ #14994]
41587 * math/s_casinh.c (__casinh): Reduce finite argument to first
41588 quadrant then set signs of results at the end.
41589 * math/s_casinhf.c (__casinhf): Likewise.
41590 * math/s_casinhl.c (__casinhl): Likewise.
41591 * math/libm-test.inc (casin_test): Add more tests.
41592 (casinh_test): Likewise.
41593 * sysdeps/i386/fpu/libm-test-ulps: Update.
41594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41595
41596 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41597
41598 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41599
41600 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41601
41602 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41603 declarations.
41604 (denorm): Likewise.
41605 (__mp_dbl): Likewise.
41606 (__inv): Likewise.
41607
41608 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41609 and adjust the header comment.
41610
41611 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41612 variable name from declaration.
41613
41614 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41615
41616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41617 Initialize COMMON_CPUID_INDEX_7 element.
41618 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41619 (CPUID_RTM): Likewise.
41620 (HAS_RTM): Likewise.
41621 (COMMON_CPUID_INDEX_7): New enum.
41622
41623 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41624
41625 [BZ #14981]
41626 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41627 size is zero, record memory as freed.
41628
41629 2013-01-03 Andreas Jaeger <aj@suse.de>
41630
41631 * po/ia.po: Add new Interlingua translation.
41632
41633 2012-01-03 Allan McRae <allan@archlinux.org>
41634
41635 * locale/programs/localedef.c: Fix description of '--posix' flag.
41636
41637 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41638
41639 * NEWS: Update dates in second copyright notice.
41640 * README: Update copyright dates in example.
41641 * manual/libc.texinfo: Update copyright dates.
41642 * scripts/test-installation.pl: Update copyright date in --version
41643 output.
41644
41645 * hurd/ctty-input.c: Fix copyright notice formatting.
41646 * hurd/ctty-output.c: Likewise.
41647 * hurd/dtable.c: Likewise.
41648 * hurd/hurd-raise.c: Likewise.
41649 * hurd/hurdprio.c: Likewise.
41650 * hurd/msgportdemux.c: Likewise.
41651 * misc/sys/file.h: Likewise.
41652 * misc/sys/ioctl.h: Likewise.
41653 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41654 * sysdeps/mach/hurd/chdir.c: Likewise.
41655 * sysdeps/mach/hurd/fchdir.c: Likewise.
41656 * sysdeps/mach/hurd/rename.c: Likewise.
41657 * sysdeps/mach/hurd/rmdir.c: Likewise.
41658 * sysdeps/mach/hurd/seekdir.c: Likewise.
41659 * sysdeps/mach/hurd/setsid.c: Likewise.
41660 * sysdeps/posix/wait3.c: Likewise.
41661
41662 * All files with FSF copyright notices: Update copyright dates
41663 using scripts/update-copyrights.
41664 * intl/plural.c: Regenerated.
41665 * locale/programs/charmap-kw.h: Likewise.
41666 * locale/programs/locfile-kw.h: Likewise.
41667
41668 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41669
41670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41671 four values.
41672
41673 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41674 calculation loop and add branch prediction.
41675
41676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41677 check access beyond bounds of m1np.
41678
41679 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41680 MPTWO.
41681 (__inv): Remove local variable MPTWO to use the global
41682 constant.
41683 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41684 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41685 variable MPTWO.
41686 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41687 MP3HALFS static const.
41688
41689 2013-01-01 David S. Miller <davem@davemloft.net>
41690
41691 * po/ca.po: Update from translation team.
41692
41693 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41694
41695 * scripts/update-copyrights: New file.
41696 * Makeconfig: Reformat copyright notice.
41697 * ctype/ctype.h: Likewise.
41698 * debug/swprintf_chk.c: Likewise.
41699 * elf/dl-cache.c: Likewise.
41700 * elf/dl-debug.c: Likewise.
41701 * elf/dl-object.c: Likewise.
41702 * grp/initgroups.c: Likewise.
41703 * hurd/Makefile: Likewise.
41704 * hurd/hurd/signal.h: Likewise.
41705 * hurd/hurdfault.c: Likewise.
41706 * hurd/hurdioctl.c: Likewise.
41707 * hurd/hurdlookup.c: Likewise.
41708 * hurd/intr-msg.c: Likewise.
41709 * iconv/gconv_open.c: Likewise.
41710 * libio/swprintf.c: Likewise.
41711 * locale/lc-ctype.c: Likewise.
41712 * locale/nl_langinfo.c: Likewise.
41713 * mach/Machrules: Likewise.
41714 * mach/Makefile: Likewise.
41715 * malloc/obstack.h: Likewise.
41716 * manual/Makefile: Likewise.
41717 * manual/tsort.awk: Likewise.
41718 * misc/bits/stab.def: Likewise.
41719 * nis/nis_print_group_entry.c: Likewise.
41720 * nis/nis_table.c: Likewise.
41721 * nis/nss_compat/compat-pwd.c: Likewise.
41722 * nis/nss_compat/compat-spwd.c: Likewise.
41723 * po/Makefile: Likewise.
41724 * posix/fnmatch.c: Likewise.
41725 * posix/regex.h: Likewise.
41726 * resolv/Makefile: Likewise.
41727 * resolv/nss_dns/dns-network.c: Likewise.
41728 * resolv/res_hconf.c: Likewise.
41729 * scripts/gen-sorted.awk: Likewise.
41730 * soft-fp/soft-fp.h: Likewise.
41731 * stdio-common/printf.h: Likewise.
41732 * stdlib/monetary.h: Likewise.
41733 * stdlib/random.c: Likewise.
41734 * stdlib/random_r.c: Likewise.
41735 * sysdeps/generic/Makefile: Likewise.
41736 * sysdeps/gnu/Makefile: Likewise.
41737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41739 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41744 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41748 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41749 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41750 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41751 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41753 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41757 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41758 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41759 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41765 * sysdeps/mach/hurd/errnos.awk: Likewise.
41766 * sysdeps/mach/hurd/fork.c: Likewise.
41767 * sysdeps/mach/hurd/getcwd.c: Likewise.
41768 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41769 * sysdeps/mach/hurd/mmap.c: Likewise.
41770 * sysdeps/mach/hurd/utimes.c: Likewise.
41771 * sysdeps/mach/hurd/xmknod.c: Likewise.
41772 * sysdeps/posix/profil.c: Likewise.
41773 * sysdeps/posix/readdir_r.c: Likewise.
41774 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41775 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41776 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41777 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41781 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41783 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41784 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41785 * sysdeps/pthread/lio_listio.c: Likewise.
41786 * sysdeps/sparc/dl-procinfo.h: Likewise.
41787 * sysdeps/unix/i386/sysdep.S: Likewise.
41788 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41789 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41790 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41791 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41793 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41794 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41795 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41796 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41797 * sysdeps/wordsize-32/divdi3.c: Likewise.
41798 * time/sys/time.h: Likewise.
41799 * wcsmbs/Makefile: Likewise.
41800
41801 2013-01-01 David S. Miller <davem@davemloft.net>
41802
41803 * po/fr.po: Update from translation team.
41804
41805 * catgets/gencat.c: Update copyright year.
41806 * csu/version.c: Likewise.
41807 * debug/catchsegv.sh: Likewise.
41808 * debug/pcprofiledump.c: Likewise.
41809 * debug/xtrace.sh: Likewise.
41810 * elf/ldconfig.c: Likewise.
41811 * elf/ldd.bash.in: Likewise.
41812 * elf/pldd.c: Likewise.
41813 * elf/sotruss.ksh: Likewise.
41814 * elf/sprof.c: Likewise.
41815 * iconv/iconv_prog.c: Likewise.
41816 * iconv/iconvconfig.c: Likewise.
41817 * locale/programs/locale.c: Likewise.
41818 * locale/programs/localedef.c: Likewise.
41819 * login/programs/pt_chown.c: Likewise.
41820 * malloc/memusage.sh: Likewise.
41821 * malloc/memusagestat.c: Likewise.
41822 * malloc/mtrace.pl: Likewise.
41823 * nscd/nscd.c: Likewise.
41824 * nss/getent.c: Likewise.
41825 * nss/makedb.c: Likewise.
41826 * posix/getconf.c: Likewise.
41827
41828 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41829
41830 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41831 numbers.
41832
41833 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41834
41835 * math/bits/mathcalls.h (modf): Use __nonnull.
41836
41837 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41838
41839 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41840 (split): Use macro CN instead of the bare value.
41841 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41842 could be used.
41843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41844 instead of the bare value.
41845 (power1): Likewise.
41846
41847 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41848
41849 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41850 __ATAN_TWOM.
41851 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41852
41853 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41854 their values.
41855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41857 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41858 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41859
41860 2012-12-28 Andreas Jaeger <aj@suse.de>
41861
41862 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41863 values are from Linux 3.7.
41864
41865 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41866 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41867
41868 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41869
41870 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41871 TRUE case.
41872
41873 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41874 (norm): Likewise.
41875 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41876 variables with preprocessor constants.
41877 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41878 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41879 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41880
41881 2012-12-27 Bruno Haible <bruno@clisp.org>
41882
41883 [BZ #14317]
41884 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41885 only if needed.
41886
41887 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41888
41889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41890 and use variable directly.
41891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41892
41893 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41894 MPONE.
41895 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41896 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41897 variable MPONE.
41898 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41900 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41901 include directive. Remove local variable MPONE.
41902 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41905
41906 2012-12-25 David S. Miller <davem@davemloft.net>
41907
41908 * version.h (RELEASE): Set to "development".
41909 (VERSION): Set to "2.17.90".
41910 * NEWS: Add 2.18 section.
41911
41912 2012-12-21 David S. Miller <davem@davemloft.net>
41913
41914 * po/hr.po: Update from translation team.
41915
41916 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41917
41918 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41919
41920 2012-12-19 Steve Ellcey <sellcey@mips.com>
41921
41922 * NEWS: Mention new memcpy for MIPS.
41923
41924 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41925
41926 * manual/contrib.texi (Contributors): Spelling correction.
41927
41928 2012-12-15 David S. Miller <davem@davemloft.net>
41929
41930 * po/ru.po: Update from translation team.
41931
41932 2012-12-13 David S. Miller <davem@davemloft.net>
41933
41934 * NEWS: Mention IFUNC testsuite enhancements.
41935
41936 * po/pl.po: Update from translation team.
41937 * po/bg.po: Likewise.
41938
41939 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41940 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41941
41942 2012-12-11 David S. Miller <davem@davemloft.net>
41943
41944 * po/sv.po: Update from translation team.
41945
41946 * po/vi.po: Update from translation team.
41947
41948 * po/cs.po: Update from translation team.
41949
41950 * po/de.po: Update from translation team.
41951 * po/eo.po: Likewise.
41952 * po/nl.po: Likewise.
41953
41954 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41955
41956 [BZ #14246]
41957 * manual/argp.texi (Argp Helper Functions): Move node to follow
41958 Argp Parsing State.
41959
41960 [BZ #14872]
41961 * manual/conf.texi (Limits on File System Capacity): Mention if
41962 terminating null is included in the max size.
41963
41964 2012-12-10 Andreas Jaeger <aj@suse.de>
41965
41966 * po/cs.po: Update from translation team.
41967
41968 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41969
41970 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41971 void pointer and cast to uintptr_t.
41972 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41973 path.
41974 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41975 * sysdeps/s390/s390-64/memset.S: Likewise.
41976
41977 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41978
41979 [BZ #14833]
41980 * menual/message.texi (Message Translation): Fix typos.
41981 (Helper programs for gettext): Likewise.
41982
41983 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41984
41985 [BZ #14898]
41986 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41987 Change to -1.
41988
41989 2012-12-07 David S. Miller <davem@davemloft.net>
41990
41991 * po/libc.pot: Update.
41992
41993 2012-12-07 Richard Henderson <rth@redhat.com>
41994
41995 [BZ #10114]
41996 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41997 normal/normal case to before the switch.
41998 (_FP_DIV): Likewise.
41999
42000 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42001 Mike Frysinger <vapier@gentoo.org>
42002
42003 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42004 check for __NR_fadvise64_64.
42005
42006 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42007
42008 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42009 0, not just to plain "0" as a statement.
42010 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42011 with cw.
42012
42013 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42014
42015 * NEWS: Use sourceware.org in Bugzilla URL.
42016
42017 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42018
42019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42020 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42021
42022 * stdio-common/tst-put-error.c (do_test): Add newline to the
42023 padded test to ensure flush.
42024
42025 2012-12-05 Jeff Law <law@redhat.com>
42026
42027 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42028
42029 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42030
42031 * README: Don't refer to ports add-on as distributed separately.
42032 Mention AArch64 in list of systems supported in the ports add-on.
42033
42034 * LICENSES: Add more non-FSF copyright and license notices.
42035
42036 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42037 ((unused)).
42038
42039 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42040
42041 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42042 10000 as width of padded output.
42043
42044 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42045
42046 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42047
42048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42049 variable LX with __attribute__ ((unused)).
42050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42051 Likewise.
42052 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42055 with __attribute__ ((unused)).
42056
42057 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42058
42059 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42060
42061 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42062
42063 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42064 (CFLAGS-nldbl-acos.c): New variable.
42065 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42066 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42067 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42068 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42069 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42070 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42071 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42072 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42073 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42074 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42075 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42076 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42077 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42078 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42079 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42080 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42081 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42082 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42083 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42084 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42085 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42086 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42087 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42088 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42089 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42090 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42091 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42092 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42093 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42094 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42095 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42096 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42097 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42098 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42099 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42100 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42101 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42102 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42103 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42104 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42105 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42106 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42107 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42108 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42109 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42110 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42111 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42112 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42113 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42114 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42115 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42116 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42117 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42118 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42119 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42120 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42121 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42122 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42123 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42124 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42125 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42126 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42127 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42128 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42129 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42130 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42131 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42132 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42133 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42134 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42135 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42136 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42137 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42138 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42139 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42140 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42141 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42142 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42143 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42144 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42145 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42146 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42147 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42148 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42149 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42150 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42151 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42152 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42153 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42154 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42155 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42156 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42157 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42158 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42159 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42160 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42161 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42162
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42164 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42165
42166 [BZ #14914]
42167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42168 whole low double instead of just low 47 bits when splitting values
42169 into two parts.
42170
42171 2012-12-03 Allan McRae <allan@archlinux.org>
42172
42173 * manual/stdio.texi (Predefined Printf Handlers): Remove
42174 @hsep and @vsep usage.
42175
42176 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42177
42178 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42179 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42180
42181 2012-12-03 Jeff Law <law@redhat.com>
42182
42183 * time/sys/time.h (settimeofday): Do not mark TV argument
42184 as __nonnull.
42185
42186 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42187
42188 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42189 when currently writing and seek to current position when not.
42190 * libio/Makefile (tests): Remove bug-fclose1.
42191 * libio/bug-fclose1.c: Delete.
42192
42193 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42194
42195 * manual/arith.texi (feenableexcept): Fix typo.
42196 (fedisableexcept): Likewise.
42197
42198 2012-11-30 Roland McGrath <roland@hack.frob.com>
42199
42200 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42201 second, differently-typed declaration, rather than a cast.
42202
42203 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42204
42205 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42206 * include/rpc/svc.h: ... here.
42207
42208 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42209
42210 [BZ #13013]
42211 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42212 depending n and resplen2 to catch cases where answer
42213 equals answerp2.
42214
42215 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42216
42217 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42218 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42219
42220 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42221
42222 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42223
42224 2012-11-29 Roland McGrath <roland@hack.frob.com>
42225
42226 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42227
42228 2012-11-28 Jeff Law <law@redhat.com>
42229
42230 [BZ #13761]
42231 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42232 dataset_temporary. Track alloca usage into alloca_used.
42233 If dataset is large allocate and release it via malloc/free.
42234
42235 2012-06-04 Florian Weimer <fweimer@redhat.com>
42236
42237 [BZ #14197]
42238 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42239
42240 2012-11-28 David S. Miller <davem@davemloft.net>
42241
42242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42243
42244 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42245
42246 [BZ #14803]
42247 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42248 of pi/2 rounded to nearest to 64 bits.
42249 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42250 nearest to 64 bits.
42251 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42252 bits.
42253
42254 2012-11-28 Jeff Law <law@redhat.com>
42255 Martin Osvald <mosvald@redhat.com>
42256
42257 [BZ #14889]
42258 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42259 * sunrpc/svc.c: Include time.h.
42260 (__svc_accept_failed): New function.
42261 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42262 any reason other than EINTR, call __svc_accept_failed.
42263 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42264 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42265
42266 2012-11-28 Andreas Schwab <schwab@suse.de>
42267
42268 * scripts/abilist.awk: Also handle indirect functions in .opd
42269 section.
42270
42271 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42272
42273 [BZ #13881]
42274 * sysdeps/x86/fpu/powl_helper.c: New file.
42275 * sysdeps/x86/fpu/Makefile: Likewise.
42276 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42277 (p3): New object.
42278 (__ieee754_powl): Use __powl_helper for finite arguments except
42279 integer exponents below 8.
42280 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42281 (p3): New object.
42282 (__ieee754_powl): Use __powl_helper for finite arguments except
42283 integer exponents below 8.
42284 * math/libm-test.inc (pow_test): Add more tests and enable some
42285 previously disabled tests.
42286 * sysdeps/i386/fpu/libm-test-ulps: Update.
42287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42288
42289 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42290 Carlos O'Donell <carlos_odonell@mentor.com>
42291
42292 * nss/makedb.c (is_prime): Assert that input is odd and greater
42293 than 4. Note that fact in a comment too.
42294 (next_prime): Add 4 to input.
42295
42296 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42297
42298 [BZ #11741]
42299 * libio/Makefile (tests): Add test case tst-fwrite-error.
42300 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42301 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42302 * libio/tst-fwrite-error.c: New test case.
42303
42304 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42305
42306 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42307 before casting to void *.
42308 * include/libc-internal.h (__pointer_type): New macro.
42309 (__integer_if_pointer_type_sub): Likewise.
42310 (__integer_if_pointer_type): Likewise.
42311 (cast_to_integer): Likewise.
42312 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42313 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42314 before casting to atomic64_t.
42315 (atomic_exchange_acq): Likewise.
42316 (__arch_exchange_and_add_body): Likewise.
42317 (__arch_add_body): Likewise.
42318 (atomic_add_negative): Likewise.
42319 (atomic_add_zero): Likewise.
42320
42321 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42322
42323 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42324 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42325 (add_fdes): Likewise.
42326 (linear_search_fdes): Likewise.
42327 (binary_search_unencoded_fdes): Likewise.
42328
42329 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42330
42331 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42332
42333 2012-11-24 Adam Conrad <adconrad@0c3.net>
42334
42335 * configure.in: Autodetect C++ header directories.
42336 * configure: Regenerated.
42337
42338 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42339
42340 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42341
42342 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42343
42344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42345
42346 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42347
42348 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42349 LDBL_MANT_DIG == 106]: Disable some tests.
42350 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42351 Likewise.
42352 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42353 Likewise.
42354
42355 [BZ #14871]
42356 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42357 input for small inputs. Return +/- pi/2 for large inputs.
42358 * math/libm-test.inc (atan_test): Add more tests.
42359
42360 * sysdeps/generic/unwind-dw2-fde-glibc.c
42361 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42362 __attribute__ ((unused)).
42363
42364 [BZ #14645]
42365 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42366 x * y if x and y are nonzero and z is zero.
42367
42368 [BZ #14811]
42369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42370 nonzero exponents with absolute value below 0x1p-117 to +/-
42371 0x1p-117.
42372
42373 [BZ #14869]
42374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42375 up arguments below 2**-450, not just those below 2**-500.
42376 * math/libm-test.inc (hypot_test): Add another test.
42377
42378 [BZ #14868]
42379 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42380 Return a+b for ratio over 2**120, not 2**60.
42381 * math/libm-test.inc (hypot_test): Add another test.
42382
42383 * math/libm-test.inc (clog_test): Use
42384 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42385 (clog10_test): Likewise.
42386
42387 [BZ #6778]
42388 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42389
42390 2012-11-22 Andreas Schwab <schwab@suse.de>
42391
42392 * sysdeps/i386/fpu/libm-test-ulps: Update.
42393
42394 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42395
42396 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42397 printf output with newline.
42398
42399 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42400
42401 [BZ #14865]
42402 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42403 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42404 -z nodlopen, -z initfirst and -z execstack support.
42405 * configure: Regenerated.
42406
42407 * elf/elf.h (DF_1_NODIRECT): New macro.
42408 (DF_1_IGNMULDEF): Likewise.
42409 (DF_1_NOKSYMS): Likewise.
42410 (DF_1_NOHDR): Likewise.
42411 (DF_1_EDITED): Likewise.
42412 (DF_1_NORELOC): Likewise.
42413 (DF_1_SYMINTPOSE): Likewise.
42414 (DF_1_GLOBAUDIT): Likewise.
42415 (DF_1_SINGLETON): Likewise.
42416 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42417 DT_1_SUPPORTED_MASK bits.
42418 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42419
42420 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42421
42422 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42423
42424 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42425
42426 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42427 macro.
42428
42429 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42430 (sendmmsg): Move declarations...
42431 * socket/sys/socket.h: ... here.
42432 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42433 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42434 include it from...
42435 * socket/recvmmsg.c: ... this new file.
42436 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42437 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42438 definition of __sendmmsg hidden.
42439 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42440 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42441 Move ENOSYS stub into and include it from...
42442 * socket/sendmmsg.c: ... this new file.
42443 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42444 (sysdep_routines): Move recvmmsg and sendmmsg...
42445 * socket/Makefile (routines): ... here.
42446 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42447 (GLIBC_PRIVATE): Add __sendmmsg.
42448 * include/sys/socket.h (__sendmmsg): Add declarations.
42449 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42450 sendmmsg.
42451
42452 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42453
42454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42455 variable I1 with __attribute__ ((unused)).
42456 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42457
42458 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42459
42460 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42461 DUMMY variables with __attribute__ ((unused)).
42462
42463 * bits/byteswap.h: Include <bits/types.h>.
42464 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42465
42466 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42467
42468 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42469 string_t. Do not manually set errno.
42470 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42471 length with __strnlen. Make sure to both set errno and return it on
42472 failure.
42473
42474 2012-11-19 David S. Miller <davem@davemloft.net>
42475
42476 With help from Joseph Myers.
42477 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42478 very large arguments properly.
42479 * math/libm-test.inc (atan_test): New tests.
42480 (atan2_test): New tests.
42481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42483
42484 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42485
42486 [BZ #14856]
42487 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42488 Define to 3.
42489
42490 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42491 [POSIX] (EADDRNOTAVAIL): Likewise.
42492 [POSIX] (EAFNOSUPPORT): Likewise.
42493 [POSIX] (EALREADY): Likewise.
42494 [POSIX] (ECONNABORTED): Likewise.
42495 [POSIX] (ECONNREFUSED): Likewise.
42496 [POSIX] (ECONNRESET): Likewise.
42497 [POSIX] (EDESTADDRREQ): Likewise.
42498 [POSIX] (EDQUOT): Likewise.
42499 [POSIX] (EHOSTUNREACH): Likewise.
42500 [POSIX] (EIDRM): Likewise.
42501 [POSIX] (EISCONN): Likewise.
42502 [POSIX] (ELOOP): Likewise.
42503 [POSIX] (EMULTIHOP): Likewise.
42504 [POSIX] (ENETDOWN): Likewise.
42505 [POSIX] (ENETUNREACH): Likewise.
42506 [POSIX] (ENOBUFS): Likewise.
42507 [POSIX] (ENODATA): Likewise.
42508 [POSIX] (ENOLINK): Likewise.
42509 [POSIX] (ENOMSG): Likewise.
42510 [POSIX] (ENOPROTOOPT): Likewise.
42511 [POSIX] (ENOSR): Likewise.
42512 [POSIX] (ENOSTR): Likewise.
42513 [POSIX] (ENOTCONN): Likewise.
42514 [POSIX] (ENOTSOCK): Likewise.
42515 [POSIX] (EOPNOTSUPP): Likewise.
42516 [POSIX] (EOVERFLOW): Likewise.
42517 [POSIX] (EPROTO): Likewise.
42518 [POSIX] (EPROTONOSUPPORT): Likewise.
42519 [POSIX] (EPROTOTYPE): Likewise.
42520 [POSIX] (ESTALE): Likewise.
42521 [POSIX] (ETIME): Likewise.
42522 [POSIX] (ETXTBSY): Likewise.
42523 [POSIX] (EWOULDBLOCK): Likewise.
42524 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42525 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42526 [POSIX] (SEEK_CUR): Likewise.
42527 [POSIX] (SEEK_END): Likewise.
42528 [POSIX || UNIX98] (mode_t): Do not require.
42529 [POSIX] (off_t): Likewise.
42530 [POSIX] (pid_t): Likewise.
42531 [POSIX] (sys/stat.h): Do not allow header.
42532 [POSIX] (unistd.h): Likewise.
42533 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42534 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42535 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42536 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42537 require.
42538 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42539 sigevent): Specify elements.
42540 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42541 entry.
42542 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42543 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42544
42545 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42546 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42547 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42548 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42549 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42550 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42551 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42552 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42553 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42554 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42555 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42556 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42557 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42558 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42559 Likewise.
42560 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42561 Likewise.
42562 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42563 Likewise.
42564 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42565 Likewise.
42566 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42567 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42570 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42571 Specify lower bound on value.
42572 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42573 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42574 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42575 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42576 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42577 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42578 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42579 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42580 value.
42581 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42582 as optional.
42583 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42584 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42585 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42586 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42587 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42588 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42589 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42590 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42591 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42592 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42593 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42594 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42595 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42596 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42598 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42599 entry.
42600 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42601 optional.
42602 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42603 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42604 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42605 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42606 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42607 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42608 Likewise.
42609 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42611 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42612 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42613 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42614 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42615 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42616 as optional.
42617 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42620 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42621 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42622 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42623 specify as optional.
42624 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42625 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42626 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42627 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42628 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42629 [XPG3] (NL_LANGMAX): Likewise.
42630 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42631 [POSIX || XPG3] (NL_NMAX): Likewise.
42632 [POSIX || XPG3] (NL_SETMAX): Likewise.
42633 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42634 [XPG3] (NZERO): Likewise.
42635 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42636 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42637 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42638 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42639 (REG_ERANGE): Expect.
42640 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42641 optional-constant.
42642 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42643 Use (void) in prototype.
42644 [POSIX] (*_t): Allow.
42645 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42646 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42647 (WRDE_BADVAL): Expect.
42648
42649 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42650 expect.
42651 [XPG3 || XPG4] (O_RSYNC): Likewise.
42652 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42653 Likewise.
42654 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42655 [XPG3 || XPG4] (sigqueue): Likewise.
42656 [XPG3 || XPG4] (sigtimedwait): Likewise.
42657 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42658 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42659 [XPG3 || XPG4] (vsnprintf): Likewise.
42660 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42661 Likewise.
42662 [XPG3 || XPG4] (blksize_t): Likewise.
42663 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42664 Likewise.
42665 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42666 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42667 [XPG3 || XPG4] (struct itimerspec): Likewise.
42668 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42669 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42670 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42671 [XPG3 || XPG4] (clockid_t): Likewise.
42672 [XPG3 || XPG4] (timer_t): Likewise.
42673 [XPG3 || XPG4] (clock_getres): Likewise.
42674 [XPG3 || XPG4] (clock_gettime): Likewise.
42675 [XPG3 || XPG4] (clock_settime): Likewise.
42676 [XPG3 || XPG4] (nanosleep): Likewise.
42677 [XPG3 || XPG4] (timer_create): Likewise.
42678 [XPG3 || XPG4] (timer_delete): Likewise.
42679 [XPG3 || XPG4] (timer_gettime): Likewise.
42680 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42681 [XPG3 || XPG4] (timer_settime): Likewise.
42682 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42683 [XPG3 || XPG4] (getlogin_r): Likewise.
42684 [XPG3 || XPG4] (pread): Likewise.
42685 [XPG3 || XPG4] (pthread_atfork): Likewise.
42686 [XPG3 || XPG4] (pwrite): Likewise.
42687
42688 [BZ #14835]
42689 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42690 <bits/siginfo.h>.
42691
42692 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42693
42694 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42695 finalizing MALLSTREAM.
42696
42697 * sysdeps/mach/hurd/syncfs.c: New file.
42698
42699 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42700
42701 [BZ #14719]
42702 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42703 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42704 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42705 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42706 (_nss_dns_gethostbyname4_r): Likewise.
42707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42708 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42709
42710 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42711
42712 [BZ #13763]
42713 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42714
42715 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42716
42717 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42718 * elf/cache.c (print_entry): Print ",AArch64" for
42719 FLAG_AARCH64_LIB64
42720
42721 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42722 * elf/cache.c (print_entry): Print ",hard-float" for
42723 FLAG_ARM_LIBHF.
42724
42725 2012-11-18 David S. Miller <davem@davemloft.net>
42726
42727 With help from Joseph Myers.
42728 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42729 cutoff to 2**-13.
42730 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42731 cutoff to 2**-25.
42732 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42733 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42734 small.
42735 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42736 * math/libm-test.inc (y0_test): New tests.
42737 (y1_test): New tests.
42738 * sysdeps/i386/fpu/libm-test-ulps: Update.
42739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42741
42742 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42743
42744 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42745 64-bit targets.
42746 * configure: Regenerated.
42747
42748 2012-11-17 David S. Miller <davem@davemloft.net>
42749
42750 [BZ #14811]
42751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42752 nonzero exponents with absolute value below 0x1p-128 to +/-
42753 0x1p-128.
42754
42755 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42756
42757 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42758
42759 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42760
42761 * posix/getconf-speclist.c: New file.
42762 * posix/posix-envs.def: Likewise.
42763 * posix/confstr.c (START_ENV_GROUP): New macro.
42764 (END_ENV_GROUP): Likewise.
42765 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42766 (KNOWN_PRESENT_ENV_STRING): Likewise.
42767 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42768 (UNKNOWN_ENVIRONMENT): Likewise.
42769 (confstr): Include posix-envs.def instead of handling
42770 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42771 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42772 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42773 (END_ENV_GROUP): Likewise.
42774 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42775 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42776 (UNKNOWN_ENVIRONMENT): Likewise.
42777 (__sysconf): Include posix-envs.def instead of handling associated
42778 cases directly here.
42779 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42780 preprocessing getconf-speclist.c rather than running getconf or
42781 generating empty file.
42782
42783 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42784
42785 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42786
42787 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42788
42789 [BZ #14672]
42790 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42791
42792 2012-11-16 David S. Miller <davem@davemloft.net>
42793
42794 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42795 smaller than LDBL_EPSILON/2.0L, just return xm1.
42796
42797 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42798
42799 * elf/tst-array1.c (init): Set constructor priority to 1000.
42800 (fini): Set destructor priority to 1000.
42801 * elf/tst-array2dep.c: Likewise.
42802
42803 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42804
42805 [BZ #11741]
42806 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42807 (_IO_new_file_xsputn): Also return EOF if none of the input
42808 data was written when overflow failed.
42809 * libio/iopadn.c (_IO_padn): Likewise.
42810 * libio/iowpadn.c (_IO_wpadn): Likewise.
42811 * stdio-common/tst-put-error.c: Add copyright notice.
42812 (do_test): Add case for printing padded string.
42813 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42814 _IO_padn returned error.
42815 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42816 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42817 return EOF.
42818
42819 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42820
42821 * libio/libioP.h: Add comment note that the references to C++
42822 bits are now obsolete.
42823
42824 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42825
42826 * math/libm-test.inc (check_complex): Use asprintf.
42827
42828 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42829
42830 * debug/pcprofiledump.c (print_version): Update copyright year.
42831 * malloc/memusagestat.c (print_version): Likewise.
42832
42833 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42834
42835 [BZ #14831]
42836 * elf/Makefile (tests): Add tst-audit8.
42837 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42838 ($(objpfx)tst-audit8.out): New target.
42839 (tst-audit8-ENV): New variable.
42840 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42841 audit if l_reloc_result is NULL.
42842 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42843 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42844 * elf/tst-audit8.c: New file.
42845
42846 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42847
42848 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42849 * misc/Makefile (CFLAGS-select.c): Define.
42850 * posix/Makefile (CFLAGS-pause.c): Define.
42851
42852 2012-11-13 David S. Miller <davem@davemloft.net>
42853
42854 * crypt/Makefile: Move test targets after toplevel Rules
42855 inclusion. Grab any necessary sysdep routines when linking.
42856 * crypt/md5.c (md5_process_block): Remove define, we will always
42857 name it __md5_process_block.
42858 (md5_finish_ctx): Update md5_process_block call.
42859 (md5_stream): Likewise.
42860 (md5_process_bytes): Likewise.
42861 (md5_process_block): Rename to __md5_process_block and move to ...
42862 * crypt/md5-block.c: ... here.
42863 * crypt/sha256.c (sha256_process_block): Move to ...
42864 * crypt/sha256-block.c: ... here.
42865 * crypt/sha512.c (sha512_process_block): Move to ...
42866 * crypt/sha512-block.c: ... here.
42867 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42868 path.
42869 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42870 * sysdeps/sparc/sparc64/multiarch/Makefile
42871 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42872 crypt subdir.
42873 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42875 multiarch changes.
42876 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42877 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42878 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42879 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42880 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42881 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42882 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42883 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42884 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42885 file.
42886 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42888 file.
42889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42890
42891 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42892
42893 * timezone/tzselect.ksh: Update from tzcode git revision
42894 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42895 * timezone/zdump.c: Likewise.
42896 * timezone/zic.c: Likewise.
42897 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42898 in TZVERSION setting, not $(PKGVERSION).
42899 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42900 REPORT_BUGS_TO settings.
42901
42902 [BZ #14838]
42903 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42904 macro.
42905
42906 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42907
42908 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42909 detection to immediately after _FP_ROUND().
42910 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42911 bits are 0.
42912
42913 2012-11-11 David S. Miller <davem@davemloft.net>
42914
42915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42916 inttypes.h
42917 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42918 __close rather than their public counterparts.
42919
42920 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42921
42922 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42923 file.
42924 [UNIX98] (sem_timedwait): Do not expect.
42925 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42926 [XPG4 || UNIX98] (sockatmark): Do not expect.
42927 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42928 (clock_getcpuclockid): Do not expect.
42929 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42930 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42931 Do not expect.
42932 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42933 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42934 [UNIX98] (vwscanf): Likewise.
42935 [UNIX98] (vswscanf): Likewise.
42936
42937 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42938
42939 * timezone/version.h: Remove file.
42940 * timezone/README: Do not refer to version.h.
42941 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42942 $(objpfx)version.h.
42943 ($(objpfx)zdump.o): Likewise.
42944 ($(objpfx)version.h): New target.
42945
42946 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42947 2012i.
42948 * timezone/README: Don't mention modification to tzselect.ksh.
42949 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42950 work on unmodified tzselect.ksh. Substitute version numbers in
42951 tzselect.ksh.
42952
42953 * Makefile (format-me): Remove.
42954 (INSTALL): Adjust indentation. Use commands directly instead of
42955 using $(format-me).
42956
42957 * aclocal.m4 (ACX_PKGVERSION): New macro.
42958 (ACX_BUGURL): Likewise.
42959 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42960 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42961 (REPORT_BUGS_TO): Likewise.
42962 * configure: Regenerated.
42963 * config.h.in (PKGVERSION): New macro.
42964 (REPORT_BUGS_TO): Likewise.
42965 * config.make.in (PKGVERSION): New variable.
42966 (PKGVERSION_TEXI): Likewise.
42967 (REPORT_BUGS_TO): Likewise.
42968 (REPORT_BUGS_TEXI): Likewise.
42969 * Makefile (format-me): Use -I$(common-objpfx)manual.
42970 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42971 ($(common-objpfx)manual/%): New target.
42972 (manual/%): Remove target.
42973 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42974 (print_version): Use PKGVERSION.
42975 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42976 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42977 and REPORT_BUGS_TO.
42978 ($(objpfx)xtrace): Likewise.
42979 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42980 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42981 (print_version): Use PKGVERSION.
42982 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42983 (do_version): Use PKGVERSION.
42984 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42985 REPORT_BUGS_TO.
42986 (common-ldd-rewrite): Likewise.
42987 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42988 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42989 (print_version): Use PKGVERSION.
42990 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42991 * elf/pldd.c (argp_program_bug_address): Remove variable.
42992 (more_help): New function.
42993 (argp): Use more_help.
42994 (print_version): Use PKGVERSION.
42995 * elf/sln.c (main): Use PKGVERSION.
42996 (usage): Use REPORT_BUGS_TO.
42997 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42998 (top level): Use PKGVERSION.
42999 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43000 (print_version): Use PKGVERSION.
43001 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43002 (print_version): Use PKGVERSION.
43003 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43004 (print_version): Use PKGVERSION.
43005 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43006 (print_version): Use PKGVERSION.
43007 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43008 (print_version): Use PKGVERSION.
43009 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43010 (print_version): Use PKGVERSION.
43011 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43012 and BUGURL.
43013 ($(objpfx)memusage): Likewise.
43014 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43015 (do_version): Use PKGVERSION.
43016 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43017 (print_version): Use PKGVERSION.
43018 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43019 ($PKGVERSION): New variable.
43020 ($REPORT_BUGS_TO): Likewise.
43021 (usage): Use $REPORT_BUGS_TO.
43022 (top level): Use $PKGVERSION.
43023 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43024 ($(objpfx)pkgvers.texi): New rule.
43025 ($(objpfx)stamp-pkgvers): Likewise.
43026 * manual/install.texi: Include pkgvers.texi.
43027 (--with-pkgversion): Document new configure option.
43028 (--with-bugurl): Likewise.
43029 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43030 than necessarily for this particular distribution. Use
43031 REPORT_BUGS_TO for where to report bugs.
43032 * INSTALL: Regenerated.
43033 * manual/libc.texinfo: Include pkgvers.texi.
43034 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43035 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43036 (print_version): Use PKGVERSION.
43037 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43038 (print_version): Use PKGVERSION.
43039 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43040 (print_version): Use PKGVERSION.
43041 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43042 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43043 macro.
43044 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43045 (print_version): Use PKGVERSION.
43046 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43047 (print_version): Use PKGVERSION.
43048 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43049 and PKGVERSION.
43050
43051 * timezone/checktab.awk: Update from tzcode 2012i.
43052 * timezone/ialloc.c: Likewise.
43053 * timezone/private.h: Likewise.
43054 * timezone/scheck.c: Likewise.
43055 * timezone/tzfile.h: Likewise.
43056 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43057 (TZVERSION): Hardcode tzcode version number.
43058 * timezone/zdump.c: Update from tzcode 2012i.
43059 * timezone/zic.c: Likewise.
43060 * timezone/version.h: New file.
43061 * timezone/README: Describe version.h. Update upstream location.
43062
43063 [BZ #14824]
43064 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43065 (mktemp): Enable declaration.
43066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43070 Likewise.
43071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43072 Likewise.
43073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43074 Likewise.
43075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43076 Likewise.
43077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43078 Likewise.
43079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43080 Likewise.
43081
43082 [BZ #14821]
43083 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43084 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43085 for copies of such integer values.
43086 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43087 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43088
43089 2012-11-09 Andreas Jaeger <aj@suse.de>
43090
43091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43092 definitions and declarations that are provided by
43093 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43094
43095 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43096
43097 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43098 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43099 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43100 definition.
43101
43102 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43103
43104 * elf/elf.h: Update comment before AArch64 relocations.
43105
43106 2012-11-07 David S. Miller <davem@davemloft.net>
43107
43108 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43109 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43110 (__start_context): Declare.
43111 (__makecontext_ret): Delete.
43112 (__makecontext): Hook up __start_context instead of
43113 __makecontext_ret.
43114 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43115 (sysdep_routines): Add __start_context when in stdlib.
43116
43117 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43118
43119 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43120 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43121 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43122 hardcoded "nm".
43123 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43124 (READELF): New variable. Use it instead of hardcoded "readelf".
43125
43126 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43127
43128 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43129 * sysdeps/x86/Makefile: Here.
43130 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43131 * sysdeps/x86/tst-xmmymm.sh: This.
43132
43133 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43134
43135 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43136 expectations.
43137 [UNIX98] (pthread_barrier_t): Do not expect.
43138 [UNIX98] (pthread_barrierattr_t): Likewise.
43139 [UNIX98] (pthread_spinlock_t): Likewise.
43140 [UNIX98] (pthread_barrier_destroy): Likewise.
43141 [UNIX98] (pthread_barrier_init): Likewise.
43142 [UNIX98] (pthread_barrier_wait): Likewise.
43143 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43144 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43145 [UNIX98] (pthread_barrierattr_init): Likewise.
43146 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43147 [UNIX98] (pthread_getcpuclockid): Likewise.
43148 [UNIX98] (pthread_mutex_timedlock): Likewise.
43149 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43150 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43151 [UNIX98] (pthread_sigmask): Likewise.
43152 [UNIX98] (pthread_spin_destroy): Likewise.
43153 [UNIX98] (pthread_spin_init): Likewise.
43154 [UNIX98] (pthread_spin_lock): Likewise.
43155 [UNIX98] (pthread_spin_trylock): Likewise.
43156 [UNIX98] (pthread_spin_unlock): Likewise.
43157 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43158 Do not expect.
43159 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43160 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43161 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43162 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43163 [XPG3 || XPG4] (pthread_key_t): Likewise.
43164 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43165 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43166 [XPG3 || XPG4] (pthread_once_t): Likewise.
43167 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43168 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43169 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43170 [XPG3 || XPG4] (pthread_t): Likewise.
43171
43172 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43173 not expect.
43174 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43175
43176 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43177 Change function return type to int.
43178
43179 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43180 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43181 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43182 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43183 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43184 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43185 [!POSIX] (posix_madvise): Likewise.
43186 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43187 && !UNIX98].
43188 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43189 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43190 (mode_t): Likewise.
43191 (posix_mem_offset): Likewise.
43192 (posix_typed_mem_get_info): Likewise.
43193 (posix_typed_mem_open): Likewise.
43194
43195 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43196 Change condition to [XOPEN2K8].
43197
43198 * conform/conformtest.pl: Preprocess allow-header data with -x c
43199 instead of from stdin.
43200 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43201 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43202 [C99-based standards] (cerfc): Likewise.
43203 [C99-based standards] (cexp2): Likewise.
43204 [C99-based standards] (cexpm1): Likewise.
43205 [C99-based standards] (clog10): Likewise.
43206 [C99-based standards] (clog1p): Likewise.
43207 [C99-based standards] (clog2): Likewise.
43208 [C99-based standards] (clgamma): Likewise.
43209 [C99-based standards] (ctgamma): Likewise.
43210 [C99-based standards] (cerff): Likewise.
43211 [C99-based standards] (cerfcf): Likewise.
43212 [C99-based standards] (cexp2f): Likewise.
43213 [C99-based standards] (cexpm1f): Likewise.
43214 [C99-based standards] (clog10f): Likewise.
43215 [C99-based standards] (clog1pf): Likewise.
43216 [C99-based standards] (clog2f): Likewise.
43217 [C99-based standards] (clgammaf): Likewise.
43218 [C99-based standards] (ctgammaf): Likewise.
43219 [C99-based standards] (cerfl): Likewise.
43220 [C99-based standards] (cerfcl): Likewise.
43221 [C99-based standards] (cexp2l): Likewise.
43222 [C99-based standards] (cexpm1l): Likewise.
43223 [C99-based standards] (clog10l): Likewise.
43224 [C99-based standards] (clog1pl): Likewise.
43225 [C99-based standards] (clog2l): Likewise.
43226 [C99-based standards] (clgammal): Likewise.
43227 [C99-based standards] (ctgammal): Likewise.
43228 * conform/data/inttypes.h-data [C99-based standards]: Include
43229 stdint.h-data. Remove all expectations for stdint.h contents.
43230 [C99-based standards] (PRI*): Do not allow.
43231 [C99-based standards] (SCN*): Likewise.
43232 [C99-based standards] (*_t): Likewise.
43233 [C99-based-standards] (PRId8): Expect macro.
43234 [C99-based-standards] (PRIi8): Likewise.
43235 [C99-based-standards] (PRIo8): Likewise.
43236 [C99-based-standards] (PRIu8): Likewise.
43237 [C99-based-standards] (PRIx8): Likewise.
43238 [C99-based-standards] (PRIX8): Likewise.
43239 [C99-based-standards] (SCNd8): Likewise.
43240 [C99-based-standards] (SCNi8): Likewise.
43241 [C99-based-standards] (SCNo8): Likewise.
43242 [C99-based-standards] (SCNu8): Likewise.
43243 [C99-based-standards] (SCNx8): Likewise.
43244 [C99-based-standards] (PRIdLEAST8): Likewise.
43245 [C99-based-standards] (PRIiLEAST8): Likewise.
43246 [C99-based-standards] (PRIoLEAST8): Likewise.
43247 [C99-based-standards] (PRIuLEAST8): Likewise.
43248 [C99-based-standards] (PRIxLEAST8): Likewise.
43249 [C99-based-standards] (PRIXLEAST8): Likewise.
43250 [C99-based-standards] (SCNdLEAST8): Likewise.
43251 [C99-based-standards] (SCNiLEAST8): Likewise.
43252 [C99-based-standards] (SCNoLEAST8): Likewise.
43253 [C99-based-standards] (SCNuLEAST8): Likewise.
43254 [C99-based-standards] (SCNxLEAST8): Likewise.
43255 [C99-based-standards] (PRIdFAST8): Likewise.
43256 [C99-based-standards] (PRIiFAST8): Likewise.
43257 [C99-based-standards] (PRIoFAST8): Likewise.
43258 [C99-based-standards] (PRIuFAST8): Likewise.
43259 [C99-based-standards] (PRIxFAST8): Likewise.
43260 [C99-based-standards] (PRIXFAST8): Likewise.
43261 [C99-based-standards] (SCNdFAST8): Likewise.
43262 [C99-based-standards] (SCNiFAST8): Likewise.
43263 [C99-based-standards] (SCNoFAST8): Likewise.
43264 [C99-based-standards] (SCNuFAST8): Likewise.
43265 [C99-based-standards] (SCNxFAST8): Likewise.
43266 [C99-based-standards] (PRId16): Likewise.
43267 [C99-based-standards] (PRIi16): Likewise.
43268 [C99-based-standards] (PRIo16): Likewise.
43269 [C99-based-standards] (PRIu16): Likewise.
43270 [C99-based-standards] (PRIx16): Likewise.
43271 [C99-based-standards] (PRIX16): Likewise.
43272 [C99-based-standards] (SCNd16): Likewise.
43273 [C99-based-standards] (SCNi16): Likewise.
43274 [C99-based-standards] (SCNo16): Likewise.
43275 [C99-based-standards] (SCNu16): Likewise.
43276 [C99-based-standards] (SCNx16): Likewise.
43277 [C99-based-standards] (PRIdLEAST16): Likewise.
43278 [C99-based-standards] (PRIiLEAST16): Likewise.
43279 [C99-based-standards] (PRIoLEAST16): Likewise.
43280 [C99-based-standards] (PRIuLEAST16): Likewise.
43281 [C99-based-standards] (PRIxLEAST16): Likewise.
43282 [C99-based-standards] (PRIXLEAST16): Likewise.
43283 [C99-based-standards] (SCNdLEAST16): Likewise.
43284 [C99-based-standards] (SCNiLEAST16): Likewise.
43285 [C99-based-standards] (SCNoLEAST16): Likewise.
43286 [C99-based-standards] (SCNuLEAST16): Likewise.
43287 [C99-based-standards] (SCNxLEAST16): Likewise.
43288 [C99-based-standards] (PRIdFAST16): Likewise.
43289 [C99-based-standards] (PRIiFAST16): Likewise.
43290 [C99-based-standards] (PRIoFAST16): Likewise.
43291 [C99-based-standards] (PRIuFAST16): Likewise.
43292 [C99-based-standards] (PRIxFAST16): Likewise.
43293 [C99-based-standards] (PRIXFAST16): Likewise.
43294 [C99-based-standards] (SCNdFAST16): Likewise.
43295 [C99-based-standards] (SCNiFAST16): Likewise.
43296 [C99-based-standards] (SCNoFAST16): Likewise.
43297 [C99-based-standards] (SCNuFAST16): Likewise.
43298 [C99-based-standards] (SCNxFAST16): Likewise.
43299 [C99-based-standards] (PRId32): Likewise.
43300 [C99-based-standards] (PRIi32): Likewise.
43301 [C99-based-standards] (PRIo32): Likewise.
43302 [C99-based-standards] (PRIu32): Likewise.
43303 [C99-based-standards] (PRIx32): Likewise.
43304 [C99-based-standards] (PRIX32): Likewise.
43305 [C99-based-standards] (SCNd32): Likewise.
43306 [C99-based-standards] (SCNi32): Likewise.
43307 [C99-based-standards] (SCNo32): Likewise.
43308 [C99-based-standards] (SCNu32): Likewise.
43309 [C99-based-standards] (SCNx32): Likewise.
43310 [C99-based-standards] (PRIdLEAST32): Likewise.
43311 [C99-based-standards] (PRIiLEAST32): Likewise.
43312 [C99-based-standards] (PRIoLEAST32): Likewise.
43313 [C99-based-standards] (PRIuLEAST32): Likewise.
43314 [C99-based-standards] (PRIxLEAST32): Likewise.
43315 [C99-based-standards] (PRIXLEAST32): Likewise.
43316 [C99-based-standards] (SCNdLEAST32): Likewise.
43317 [C99-based-standards] (SCNiLEAST32): Likewise.
43318 [C99-based-standards] (SCNoLEAST32): Likewise.
43319 [C99-based-standards] (SCNuLEAST32): Likewise.
43320 [C99-based-standards] (SCNxLEAST32): Likewise.
43321 [C99-based-standards] (PRIdFAST32): Likewise.
43322 [C99-based-standards] (PRIiFAST32): Likewise.
43323 [C99-based-standards] (PRIoFAST32): Likewise.
43324 [C99-based-standards] (PRIuFAST32): Likewise.
43325 [C99-based-standards] (PRIxFAST32): Likewise.
43326 [C99-based-standards] (PRIXFAST32): Likewise.
43327 [C99-based-standards] (SCNdFAST32): Likewise.
43328 [C99-based-standards] (SCNiFAST32): Likewise.
43329 [C99-based-standards] (SCNoFAST32): Likewise.
43330 [C99-based-standards] (SCNuFAST32): Likewise.
43331 [C99-based-standards] (SCNxFAST32): Likewise.
43332 [C99-based-standards] (PRId64): Likewise.
43333 [C99-based-standards] (PRIi64): Likewise.
43334 [C99-based-standards] (PRIo64): Likewise.
43335 [C99-based-standards] (PRIu64): Likewise.
43336 [C99-based-standards] (PRIx64): Likewise.
43337 [C99-based-standards] (PRIX64): Likewise.
43338 [C99-based-standards] (SCNd64): Likewise.
43339 [C99-based-standards] (SCNi64): Likewise.
43340 [C99-based-standards] (SCNo64): Likewise.
43341 [C99-based-standards] (SCNu64): Likewise.
43342 [C99-based-standards] (SCNx64): Likewise.
43343 [C99-based-standards] (PRIdLEAST64): Likewise.
43344 [C99-based-standards] (PRIiLEAST64): Likewise.
43345 [C99-based-standards] (PRIoLEAST64): Likewise.
43346 [C99-based-standards] (PRIuLEAST64): Likewise.
43347 [C99-based-standards] (PRIxLEAST64): Likewise.
43348 [C99-based-standards] (PRIXLEAST64): Likewise.
43349 [C99-based-standards] (SCNdLEAST64): Likewise.
43350 [C99-based-standards] (SCNiLEAST64): Likewise.
43351 [C99-based-standards] (SCNoLEAST64): Likewise.
43352 [C99-based-standards] (SCNuLEAST64): Likewise.
43353 [C99-based-standards] (SCNxLEAST64): Likewise.
43354 [C99-based-standards] (PRIdFAST64): Likewise.
43355 [C99-based-standards] (PRIiFAST64): Likewise.
43356 [C99-based-standards] (PRIoFAST64): Likewise.
43357 [C99-based-standards] (PRIuFAST64): Likewise.
43358 [C99-based-standards] (PRIxFAST64): Likewise.
43359 [C99-based-standards] (PRIXFAST64): Likewise.
43360 [C99-based-standards] (SCNdFAST64): Likewise.
43361 [C99-based-standards] (SCNiFAST64): Likewise.
43362 [C99-based-standards] (SCNoFAST64): Likewise.
43363 [C99-based-standards] (SCNuFAST64): Likewise.
43364 [C99-based-standards] (SCNxFAST64): Likewise.
43365 [C99-based-standards] (PRIdMAX): Likewise.
43366 [C99-based-standards] (PRIiMAX): Likewise.
43367 [C99-based-standards] (PRIoMAX): Likewise.
43368 [C99-based-standards] (PRIuMAX): Likewise.
43369 [C99-based-standards] (PRIxMAX): Likewise.
43370 [C99-based-standards] (PRIXMAX): Likewise.
43371 [C99-based-standards] (SCNdMAX): Likewise.
43372 [C99-based-standards] (SCNiMAX): Likewise.
43373 [C99-based-standards] (SCNoMAX): Likewise.
43374 [C99-based-standards] (SCNuMAX): Likewise.
43375 [C99-based-standards] (SCNxMAX): Likewise.
43376 [C99-based-standards] (PRIdPTR): Likewise.
43377 [C99-based-standards] (PRIiPTR): Likewise.
43378 [C99-based-standards] (PRIoPTR): Likewise.
43379 [C99-based-standards] (PRIuPTR): Likewise.
43380 [C99-based-standards] (PRIxPTR): Likewise.
43381 [C99-based-standards] (PRIXPTR): Likewise.
43382 [C99-based-standards] (SCNdPTR): Likewise.
43383 [C99-based-standards] (SCNiPTR): Likewise.
43384 [C99-based-standards] (SCNoPTR): Likewise.
43385 [C99-based-standards] (SCNuPTR): Likewise.
43386 [C99-based-standards] (SCNxPTR): Likewise.
43387 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43388 allow.
43389 * conform/data/stdint.h-data: Update comments to clarify
43390 requirements.
43391 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43392 type.
43393 [C99-based standards] (INT8_MAX): Likewise.
43394 [C99-based standards] (INT16_MIN): Likewise.
43395 [C99-based standards] (INT16_MAX): Likewise.
43396 [C99-based standards] (INT32_MIN): Likewise.
43397 [C99-based standards] (INT32_MAX): Likewise.
43398 [C99-based standards] (INT64_MIN): Likewise.
43399 [C99-based standards] (INT64_MAX): Likewise.
43400 [C99-based standards] (UINT8_MAX): Likewise.
43401 [C99-based standards] (UINT16_MAX): Likewise.
43402 [C99-based standards] (UINT32_MAX): Likewise.
43403 [C99-based standards] (UINT64_MAX): Likewise.
43404 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43405 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43406 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43407 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43408 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43409 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43410 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43411 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43412 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43413 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43414 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43415 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43416 [C99-based standards] (INT_FAST8_MIN): Likewise.
43417 [C99-based standards] (INT_FAST8_MAX): Likewise.
43418 [C99-based standards] (INT_FAST16_MIN): Likewise.
43419 [C99-based standards] (INT_FAST16_MAX): Likewise.
43420 [C99-based standards] (INT_FAST32_MIN): Likewise.
43421 [C99-based standards] (INT_FAST32_MAX): Likewise.
43422 [C99-based standards] (INT_FAST64_MIN): Likewise.
43423 [C99-based standards] (INT_FAST64_MAX): Likewise.
43424 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43425 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43426 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43427 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43428 [C99-based standards] (INTPTR_MIN): Likewise.
43429 [C99-based standards] (INTPTR_MAX): Likewise.
43430 [C99-based standards] (UINTPTR_MAX): Likewise.
43431 [C99-based standards] (INTMAX_MIN): Likewise.
43432 [C99-based standards] (INTMAX_MAX): Likewise.
43433 [C99-based standards] (UINTMAX_MAX): Likewise.
43434 [C99-based standards] (PTRDIFF_MIN): Likewise.
43435 [C99-based standards] (PTRDIFF_MAX): Likewise.
43436 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43437 [C99-based standards] (SIZE_MAX): Likewise.
43438 [C99-based standards] (WCHAR_MAX): Likewise.
43439 [C99-based standards] (WINT_MAX): Likewise.
43440 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43441 constraint on value.
43442 [C99-based standards] (WCHAR_MIN): Likewise.
43443 [C99-based standards] (WINT_MIN): Likewise.
43444 [C99-based standards] (*_t): Allow.
43445 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43446 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43447 Include math.h-data and complex.h-data. Remove all expectations
43448 of math.h and complex.h contents.
43449 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43450 at end of line.
43451 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43452 (struct tm): Expect tag.
43453 [C99-based-standards] (wcstof): Expect function.
43454 [C99-based-standards] (wcstold): Likewise.
43455 [C99-based-standards] (wcstoll): Likewise.
43456 [C99-based-standards] (wcstoull): Likewise.
43457 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43458 macro-int-constant. Specify type.
43459 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43460 constraint on value.
43461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43462 Specify type.
43463 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43464 Specify value.
43465 [ISO C standards]: Do not allow headers.
43466 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43467 wcs[abcdefghijklmnopqrstuvwxyz]*.
43468 [ISO C standards] (*_t): Do not allow.
43469 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43470 Expect function.
43471 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43472 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43473 Specify type.
43474 [ISO C standards]: Do not allow headers.
43475 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43476 is[abcdefghijklmnopqrstuvwxyz]*.
43477 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43478 to[abcdefghijklmnopqrstuvwxyz]*.
43479 [ISO C standards] (*_t): Do not allow.
43480 * conform/data/stdalign.h-data: New file.
43481 * conform/data/stdbool.h-data: Likewise.
43482 * conform/data/stdnoreturn.h-data: Likewise.
43483
43484 2012-11-07 Roland McGrath <roland@hack.frob.com>
43485
43486 [BZ #14815]
43487 * manual/filesys.texi (Directory Entries): Typo fix.
43488 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43489
43490 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43491
43492 * elf/elf.h (EM_AARCH64): New macro.
43493 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43494 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43495 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43496 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43497 (R_AARCH64_TLSDESC): Likewise.
43498 (NT_ARM_TLS): Likewise.
43499 (NT_ARM_HW_BREAK): Likewise.
43500 (NT_ARM_HW_WATCH): Likewise.
43501
43502 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43503
43504 [BZ #14811]
43505 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43506 (__ieee754_powl): Saturate nonzero exponents with absolute value
43507 below 0x1p-79 to +/- 0x1p-79.
43508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43509 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43510 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43511 nonzero exponents with absolute value below 0x1p-32 to +/-
43512 0x1p-32.
43513 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43514 (__ieee754_powl): Saturate nonzero exponents with absolute value
43515 below 0x1p-79 to +/- 0x1p-79.
43516 * math/libm-test.inc (pow_test): Add more tests.
43517
43518 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43519
43520 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43521 _dl_s390_cap_flags with kernel. Increase string length.
43522 (_dl_s390_platforms): Add z196 and zEC12.
43523
43524 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43525
43526 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43527 Change XOPEN21K to XOPEN2K.
43528
43529 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43530
43531 * string/memmove.c: Use memcpy when possible.
43532
43533 2012-11-06 Andreas Jaeger <aj@suse.de>
43534
43535 * po/eo.po: Update from translation team.
43536
43537 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43538
43539 [BZ #14793]
43540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43541 exponent and small x and y exponents, scale x or y up. Increase
43542 by 2 the exponent used in scaling up.
43543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43545 * math/libm-test.inc (fma_test): Add more tests.
43546 (fma_test_towardzero): Likewise.
43547 (fma_test_downward): Likewise.
43548 (fma_test_upward): Likewise.
43549
43550 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43551
43552 [BZ #14805]
43553 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43554 fenv_t *.
43555
43556 [BZ #14801]
43557 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43558 namespace for names of struct fields.
43559 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43560 fenv_t fields.
43561 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43562 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43563
43564 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43565
43566 [BZ #3665]
43567 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43568
43569 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43570
43571 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43572 PTR_DEMANGLE.
43573
43574 [BZ #5246]
43575 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43576 PTR_DEMANGLE.
43577
43578 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43579
43580 [BZ #14797]
43581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43582 definitely overflow as x * y not x * y + z.
43583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43585 * math/libm-test.inc (fma_test): Add more tests.
43586 (fma_test_towardzero): Likewise.
43587 (fma_test_downward): Likewise.
43588 (fma_test_upward): Likewise.
43589
43590 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43591
43592 [BZ #157]
43593
43594 * include/stub-tag.h: Remove file.
43595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43596 '#include' of it.
43597 * manual/maint.texi (Porting): Don't reference it.
43598 * Makerules ($(objpfx)stubs): Likewise.
43599 * dirent/closedir.c: Don't include <stub-tag.h>.
43600 * dirent/dirfd.c: Likewise.
43601 * dirent/fdopendir.c: Likewise.
43602 * dirent/getdents.c: Likewise.
43603 * dirent/getdents64.c: Likewise.
43604 * dirent/opendir.c: Likewise.
43605 * dirent/readdir.c: Likewise.
43606 * dirent/readdir64.c: Likewise.
43607 * dirent/readdir64_r.c: Likewise.
43608 * dirent/readdir_r.c: Likewise.
43609 * dirent/rewinddir.c: Likewise.
43610 * dirent/seekdir.c: Likewise.
43611 * dirent/telldir.c: Likewise.
43612 * gmon/profil.c: Likewise.
43613 * grp/setgroups.c: Likewise.
43614 * inet/if_index.c: Likewise.
43615 * io/access.c: Likewise.
43616 * io/chdir.c: Likewise.
43617 * io/chmod.c: Likewise.
43618 * io/chown.c: Likewise.
43619 * io/close.c: Likewise.
43620 * io/dup.c: Likewise.
43621 * io/dup2.c: Likewise.
43622 * io/dup3.c: Likewise.
43623 * io/euidaccess.c: Likewise.
43624 * io/faccessat.c: Likewise.
43625 * io/fchdir.c: Likewise.
43626 * io/fchmod.c: Likewise.
43627 * io/fchmodat.c: Likewise.
43628 * io/fchown.c: Likewise.
43629 * io/fchownat.c: Likewise.
43630 * io/fcntl.c: Likewise.
43631 * io/flock.c: Likewise.
43632 * io/fstatfs.c: Likewise.
43633 * io/fstatfs64.c: Likewise.
43634 * io/fstatvfs.c: Likewise.
43635 * io/fstatvfs64.c: Likewise.
43636 * io/futimens.c: Likewise.
43637 * io/fxstat.c: Likewise.
43638 * io/fxstat64.c: Likewise.
43639 * io/fxstatat.c: Likewise.
43640 * io/fxstatat64.c: Likewise.
43641 * io/getcwd.c: Likewise.
43642 * io/isatty.c: Likewise.
43643 * io/lchmod.c: Likewise.
43644 * io/lchown.c: Likewise.
43645 * io/link.c: Likewise.
43646 * io/linkat.c: Likewise.
43647 * io/lseek.c: Likewise.
43648 * io/lseek64.c: Likewise.
43649 * io/lxstat64.c: Likewise.
43650 * io/mkdir.c: Likewise.
43651 * io/mkdirat.c: Likewise.
43652 * io/mkfifo.c: Likewise.
43653 * io/mkfifoat.c: Likewise.
43654 * io/open.c: Likewise.
43655 * io/open64.c: Likewise.
43656 * io/openat.c: Likewise.
43657 * io/openat64.c: Likewise.
43658 * io/pipe.c: Likewise.
43659 * io/pipe2.c: Likewise.
43660 * io/poll.c: Likewise.
43661 * io/posix_fadvise.c: Likewise.
43662 * io/posix_fadvise64.c: Likewise.
43663 * io/posix_fallocate.c: Likewise.
43664 * io/posix_fallocate64.c: Likewise.
43665 * io/read.c: Likewise.
43666 * io/readlink.c: Likewise.
43667 * io/readlinkat.c: Likewise.
43668 * io/rmdir.c: Likewise.
43669 * io/sendfile.c: Likewise.
43670 * io/sendfile64.c: Likewise.
43671 * io/statfs.c: Likewise.
43672 * io/statfs64.c: Likewise.
43673 * io/statvfs.c: Likewise.
43674 * io/statvfs64.c: Likewise.
43675 * io/symlink.c: Likewise.
43676 * io/symlinkat.c: Likewise.
43677 * io/ttyname.c: Likewise.
43678 * io/ttyname_r.c: Likewise.
43679 * io/umask.c: Likewise.
43680 * io/unlink.c: Likewise.
43681 * io/unlinkat.c: Likewise.
43682 * io/utime.c: Likewise.
43683 * io/utimensat.c: Likewise.
43684 * io/write.c: Likewise.
43685 * io/xmknod.c: Likewise.
43686 * io/xmknodat.c: Likewise.
43687 * io/xstat.c: Likewise.
43688 * io/xstat64.c: Likewise.
43689 * login/getpt.c: Likewise.
43690 * login/grantpt.c: Likewise.
43691 * login/unlockpt.c: Likewise.
43692 * math/e_acoshl.c: Likewise.
43693 * math/e_acosl.c: Likewise.
43694 * math/e_asinl.c: Likewise.
43695 * math/e_atan2l.c: Likewise.
43696 * math/e_atanhl.c: Likewise.
43697 * math/e_coshl.c: Likewise.
43698 * math/e_expl.c: Likewise.
43699 * math/e_fmodl.c: Likewise.
43700 * math/e_gammal_r.c: Likewise.
43701 * math/e_hypotl.c: Likewise.
43702 * math/e_j0l.c: Likewise.
43703 * math/e_j1l.c: Likewise.
43704 * math/e_jnl.c: Likewise.
43705 * math/e_lgammal_r.c: Likewise.
43706 * math/e_log10l.c: Likewise.
43707 * math/e_log2l.c: Likewise.
43708 * math/e_logl.c: Likewise.
43709 * math/e_powl.c: Likewise.
43710 * math/e_rem_pio2l.c: Likewise.
43711 * math/e_sinhl.c: Likewise.
43712 * math/e_sqrtl.c: Likewise.
43713 * math/fclrexcpt.c: Likewise.
43714 * math/fedisblxcpt.c: Likewise.
43715 * math/feenablxcpt.c: Likewise.
43716 * math/fegetenv.c: Likewise.
43717 * math/fegetexcept.c: Likewise.
43718 * math/fegetround.c: Likewise.
43719 * math/feholdexcpt.c: Likewise.
43720 * math/fesetenv.c: Likewise.
43721 * math/fesetround.c: Likewise.
43722 * math/feupdateenv.c: Likewise.
43723 * math/fgetexcptflg.c: Likewise.
43724 * math/fraiseexcpt.c: Likewise.
43725 * math/fsetexcptflg.c: Likewise.
43726 * math/ftestexcept.c: Likewise.
43727 * math/k_cosl.c: Likewise.
43728 * math/k_rem_pio2l.c: Likewise.
43729 * math/k_sinl.c: Likewise.
43730 * math/k_tanl.c: Likewise.
43731 * math/s_asinhl.c: Likewise.
43732 * math/s_atanl.c: Likewise.
43733 * math/s_cbrtl.c: Likewise.
43734 * math/s_erfl.c: Likewise.
43735 * math/s_expm1l.c: Likewise.
43736 * math/s_log1pl.c: Likewise.
43737 * math/s_tanhl.c: Likewise.
43738 * misc/acct.c: Likewise.
43739 * misc/brk.c: Likewise.
43740 * misc/chflags.c: Likewise.
43741 * misc/chroot.c: Likewise.
43742 * misc/fchflags.c: Likewise.
43743 * misc/fgetxattr.c: Likewise.
43744 * misc/flistxattr.c: Likewise.
43745 * misc/fremovexattr.c: Likewise.
43746 * misc/fsetxattr.c: Likewise.
43747 * misc/fsync.c: Likewise.
43748 * misc/ftruncate.c: Likewise.
43749 * misc/futimes.c: Likewise.
43750 * misc/futimesat.c: Likewise.
43751 * misc/getdomain.c: Likewise.
43752 * misc/getdtsz.c: Likewise.
43753 * misc/gethostid.c: Likewise.
43754 * misc/gethostname.c: Likewise.
43755 * misc/getloadavg.c: Likewise.
43756 * misc/getpagesize.c: Likewise.
43757 * misc/getsysstats.c: Likewise.
43758 * misc/getxattr.c: Likewise.
43759 * misc/gtty.c: Likewise.
43760 * misc/ioctl.c: Likewise.
43761 * misc/lgetxattr.c: Likewise.
43762 * misc/listxattr.c: Likewise.
43763 * misc/llistxattr.c: Likewise.
43764 * misc/lremovexattr.c: Likewise.
43765 * misc/lsetxattr.c: Likewise.
43766 * misc/lutimes.c: Likewise.
43767 * misc/madvise.c: Likewise.
43768 * misc/mincore.c: Likewise.
43769 * misc/mlock.c: Likewise.
43770 * misc/mlockall.c: Likewise.
43771 * misc/mmap.c: Likewise.
43772 * misc/mprotect.c: Likewise.
43773 * misc/msync.c: Likewise.
43774 * misc/munlock.c: Likewise.
43775 * misc/munlockall.c: Likewise.
43776 * misc/munmap.c: Likewise.
43777 * misc/preadv.c: Likewise.
43778 * misc/preadv64.c: Likewise.
43779 * misc/ptrace.c: Likewise.
43780 * misc/pwritev.c: Likewise.
43781 * misc/pwritev64.c: Likewise.
43782 * misc/readv.c: Likewise.
43783 * misc/reboot.c: Likewise.
43784 * misc/remap_file_pages.c: Likewise.
43785 * misc/removexattr.c: Likewise.
43786 * misc/revoke.c: Likewise.
43787 * misc/select.c: Likewise.
43788 * misc/setdomain.c: Likewise.
43789 * misc/setegid.c: Likewise.
43790 * misc/seteuid.c: Likewise.
43791 * misc/sethostid.c: Likewise.
43792 * misc/sethostname.c: Likewise.
43793 * misc/setregid.c: Likewise.
43794 * misc/setreuid.c: Likewise.
43795 * misc/setxattr.c: Likewise.
43796 * misc/sstk.c: Likewise.
43797 * misc/stty.c: Likewise.
43798 * misc/swapoff.c: Likewise.
43799 * misc/swapon.c: Likewise.
43800 * misc/sync.c: Likewise.
43801 * misc/syncfs.c: Likewise.
43802 * misc/syscall.c: Likewise.
43803 * misc/truncate.c: Likewise.
43804 * misc/ualarm.c: Likewise.
43805 * misc/usleep.c: Likewise.
43806 * misc/ustat.c: Likewise.
43807 * misc/utimes.c: Likewise.
43808 * misc/vhangup.c: Likewise.
43809 * misc/writev.c: Likewise.
43810 * posix/_exit.c: Likewise.
43811 * posix/alarm.c: Likewise.
43812 * posix/execve.c: Likewise.
43813 * posix/fexecve.c: Likewise.
43814 * posix/fork.c: Likewise.
43815 * posix/fpathconf.c: Likewise.
43816 * posix/getaddrinfo.c: Likewise.
43817 * posix/getegid.c: Likewise.
43818 * posix/geteuid.c: Likewise.
43819 * posix/getgid.c: Likewise.
43820 * posix/getgroups.c: Likewise.
43821 * posix/getlogin.c: Likewise.
43822 * posix/getlogin_r.c: Likewise.
43823 * posix/getpgid.c: Likewise.
43824 * posix/getpid.c: Likewise.
43825 * posix/getppid.c: Likewise.
43826 * posix/getresgid.c: Likewise.
43827 * posix/getresuid.c: Likewise.
43828 * posix/getsid.c: Likewise.
43829 * posix/getuid.c: Likewise.
43830 * posix/glob64.c: Likewise.
43831 * posix/nanosleep.c: Likewise.
43832 * posix/pathconf.c: Likewise.
43833 * posix/pause.c: Likewise.
43834 * posix/posix_madvise.c: Likewise.
43835 * posix/pread.c: Likewise.
43836 * posix/pread64.c: Likewise.
43837 * posix/pwrite.c: Likewise.
43838 * posix/pwrite64.c: Likewise.
43839 * posix/sched_getaffinity.c: Likewise.
43840 * posix/sched_getp.c: Likewise.
43841 * posix/sched_gets.c: Likewise.
43842 * posix/sched_primax.c: Likewise.
43843 * posix/sched_primin.c: Likewise.
43844 * posix/sched_rr_gi.c: Likewise.
43845 * posix/sched_setaffinity.c: Likewise.
43846 * posix/sched_setp.c: Likewise.
43847 * posix/sched_sets.c: Likewise.
43848 * posix/sched_yield.c: Likewise.
43849 * posix/setgid.c: Likewise.
43850 * posix/setlogin.c: Likewise.
43851 * posix/setpgid.c: Likewise.
43852 * posix/setresgid.c: Likewise.
43853 * posix/setresuid.c: Likewise.
43854 * posix/setsid.c: Likewise.
43855 * posix/setuid.c: Likewise.
43856 * posix/sleep.c: Likewise.
43857 * posix/spawni.c: Likewise.
43858 * posix/sysconf.c: Likewise.
43859 * posix/times.c: Likewise.
43860 * posix/wait.c: Likewise.
43861 * posix/wait3.c: Likewise.
43862 * posix/wait4.c: Likewise.
43863 * posix/waitpid.c: Likewise.
43864 * resolv/gai_sigqueue.c: Likewise.
43865 * resource/getpriority.c: Likewise.
43866 * resource/getrlimit.c: Likewise.
43867 * resource/getrusage.c: Likewise.
43868 * resource/nice.c: Likewise.
43869 * resource/setpriority.c: Likewise.
43870 * resource/setrlimit.c: Likewise.
43871 * resource/ulimit.c: Likewise.
43872 * rt/aio_cancel.c: Likewise.
43873 * rt/aio_fsync.c: Likewise.
43874 * rt/aio_read.c: Likewise.
43875 * rt/aio_sigqueue.c: Likewise.
43876 * rt/aio_suspend.c: Likewise.
43877 * rt/aio_write.c: Likewise.
43878 * rt/clock_getres.c: Likewise.
43879 * rt/clock_gettime.c: Likewise.
43880 * rt/clock_nanosleep.c: Likewise.
43881 * rt/clock_settime.c: Likewise.
43882 * rt/lio_listio.c: Likewise.
43883 * rt/mq_close.c: Likewise.
43884 * rt/mq_getattr.c: Likewise.
43885 * rt/mq_notify.c: Likewise.
43886 * rt/mq_open.c: Likewise.
43887 * rt/mq_receive.c: Likewise.
43888 * rt/mq_send.c: Likewise.
43889 * rt/mq_setattr.c: Likewise.
43890 * rt/mq_timedreceive.c: Likewise.
43891 * rt/mq_timedsend.c: Likewise.
43892 * rt/mq_unlink.c: Likewise.
43893 * rt/shm_open.c: Likewise.
43894 * rt/shm_unlink.c: Likewise.
43895 * rt/timer_create.c: Likewise.
43896 * rt/timer_delete.c: Likewise.
43897 * rt/timer_getoverr.c: Likewise.
43898 * rt/timer_gettime.c: Likewise.
43899 * rt/timer_settime.c: Likewise.
43900 * setjmp/__longjmp.c: Likewise.
43901 * setjmp/setjmp.c: Likewise.
43902 * signal/kill.c: Likewise.
43903 * signal/killpg.c: Likewise.
43904 * signal/raise.c: Likewise.
43905 * signal/sigaction.c: Likewise.
43906 * signal/sigaltstack.c: Likewise.
43907 * signal/sigblock.c: Likewise.
43908 * signal/sigignore.c: Likewise.
43909 * signal/sigintr.c: Likewise.
43910 * signal/signal.c: Likewise.
43911 * signal/sigpause.c: Likewise.
43912 * signal/sigpending.c: Likewise.
43913 * signal/sigqueue.c: Likewise.
43914 * signal/sigreturn.c: Likewise.
43915 * signal/sigset.c: Likewise.
43916 * signal/sigsetmask.c: Likewise.
43917 * signal/sigstack.c: Likewise.
43918 * signal/sigsuspend.c: Likewise.
43919 * signal/sigtimedwait.c: Likewise.
43920 * signal/sigvec.c: Likewise.
43921 * signal/sigwait.c: Likewise.
43922 * signal/sigwaitinfo.c: Likewise.
43923 * signal/sysv_signal.c: Likewise.
43924 * socket/accept.c: Likewise.
43925 * socket/accept4.c: Likewise.
43926 * socket/bind.c: Likewise.
43927 * socket/connect.c: Likewise.
43928 * socket/getpeername.c: Likewise.
43929 * socket/getsockname.c: Likewise.
43930 * socket/getsockopt.c: Likewise.
43931 * socket/isfdtype.c: Likewise.
43932 * socket/listen.c: Likewise.
43933 * socket/recv.c: Likewise.
43934 * socket/recvfrom.c: Likewise.
43935 * socket/recvmsg.c: Likewise.
43936 * socket/send.c: Likewise.
43937 * socket/sendmsg.c: Likewise.
43938 * socket/sendto.c: Likewise.
43939 * socket/setsockopt.c: Likewise.
43940 * socket/shutdown.c: Likewise.
43941 * socket/sockatmark.c: Likewise.
43942 * socket/socket.c: Likewise.
43943 * socket/socketpair.c: Likewise.
43944 * stdio-common/ctermid.c: Likewise.
43945 * stdio-common/cuserid.c: Likewise.
43946 * stdio-common/remove.c: Likewise.
43947 * stdio-common/rename.c: Likewise.
43948 * stdio-common/renameat.c: Likewise.
43949 * stdio-common/tempname.c: Likewise.
43950 * stdlib/getcontext.c: Likewise.
43951 * stdlib/makecontext.c: Likewise.
43952 * stdlib/setcontext.c: Likewise.
43953 * stdlib/swapcontext.c: Likewise.
43954 * stdlib/system.c: Likewise.
43955 * streams/fattach.c: Likewise.
43956 * streams/fdetach.c: Likewise.
43957 * streams/getmsg.c: Likewise.
43958 * streams/getpmsg.c: Likewise.
43959 * streams/putmsg.c: Likewise.
43960 * streams/putpmsg.c: Likewise.
43961 * sysdeps/unix/bsd/getpt.c: Likewise.
43962 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43963 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43964 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43966 Likewise.
43967 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43968 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43969 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43970 * sysvipc/msgctl.c: Likewise.
43971 * sysvipc/msgget.c: Likewise.
43972 * sysvipc/msgrcv.c: Likewise.
43973 * sysvipc/msgsnd.c: Likewise.
43974 * sysvipc/semctl.c: Likewise.
43975 * sysvipc/semget.c: Likewise.
43976 * sysvipc/semop.c: Likewise.
43977 * sysvipc/semtimedop.c: Likewise.
43978 * sysvipc/shmat.c: Likewise.
43979 * sysvipc/shmctl.c: Likewise.
43980 * sysvipc/shmdt.c: Likewise.
43981 * sysvipc/shmget.c: Likewise.
43982 * termios/tcdrain.c: Likewise.
43983 * termios/tcflow.c: Likewise.
43984 * termios/tcflush.c: Likewise.
43985 * termios/tcgetattr.c: Likewise.
43986 * termios/tcgetpgrp.c: Likewise.
43987 * termios/tcsendbrk.c: Likewise.
43988 * termios/tcsetattr.c: Likewise.
43989 * termios/tcsetpgrp.c: Likewise.
43990 * time/adjtime.c: Likewise.
43991 * time/clock.c: Likewise.
43992 * time/getitimer.c: Likewise.
43993 * time/gettimeofday.c: Likewise.
43994 * time/setitimer.c: Likewise.
43995 * time/settimeofday.c: Likewise.
43996 * time/stime.c: Likewise.
43997 * time/time.c: Likewise.
43998
43999 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44000
44001 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44002 /usr/old/bin.
44003
44004 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44005 instead of spaces.
44006 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44007
44008 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44009
44010 [BZ #14796]
44011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44012 FE_TONEAREST before applying Dekker multiplication and Knuth
44013 addition. Clear inexact exceptions and check for exact zero
44014 results afterwards.
44015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44018 * math/libm-test.inc (fma_test): Add more tests.
44019 (fma_test_towardzero): Likewise.
44020 (fma_test_downward): Likewise.
44021 (fma_test_upward): Likewise.
44022 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44023 function.
44024 (libc_fesetround): New macro.
44025 (libc_fesetroundf): Likewise.
44026 (libc_fesetroundl): Likewise.
44027 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44028 function.
44029 (libc_fesetround_387): Likewise.
44030 (libc_fesetroundf): New macro.
44031 (libc_fesetround): Likewise.
44032 (libc_fesetroundl): Likewise.
44033 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44034 function.
44035 (libc_fesetroundf): New macro.
44036 (libc_fesetround): Likewise.
44037 (libc_fesetroundl): Likewise.
44038 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44039 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44040 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44041 libm_hidden_ver.
44042 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44043 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44044 libm_hidden_def.
44045 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44046 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44047 libm_hidden_ver.
44048 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44049 libm_hidden_def.
44050
44051 [BZ #3439]
44052 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44053 integer constant usable in #if and use that to give value to enum
44054 constant.
44055 (FE_DIVBYZERO): Likewise.
44056 (FE_UNDERFLOW): Likewise.
44057 (FE_OVERFLOW): Likewise.
44058 (FE_INVALID): Likewise.
44059 (FE_INVALID_SNAN): Likewise.
44060 (FE_INVALID_ISI): Likewise.
44061 (FE_INVALID_IDI): Likewise.
44062 (FE_INVALID_ZDZ): Likewise.
44063 (FE_INVALID_IMZ): Likewise.
44064 (FE_INVALID_COMPARE): Likewise.
44065 (FE_INVALID_SOFTWARE): Likewise.
44066 (FE_INVALID_SQRT): Likewise.
44067 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44068 (FE_TONEAREST): Likewise.
44069 (FE_TOWARDZERO): Likewise.
44070 (FE_UPWARD): Likewise.
44071 (FE_DOWNWARD): Likewise.
44072 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44073 (FE_DIVBYZERO): Likewise.
44074 (FE_OVERFLOW): Likewise.
44075 (FE_UNDERFLOW): Likewise.
44076 (FE_INEXACT): Likewise.
44077 (FE_TONEAREST): Likewise.
44078 (FE_DOWNWARD): Likewise.
44079 (FE_UPWARD): Likewise.
44080 (FE_TOWARDZERO): Likewise.
44081 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44082 (FE_UNDERFLOW): Likewise.
44083 (FE_OVERFLOW): Likewise.
44084 (FE_DIVBYZERO): Likewise.
44085 (FE_INVALID): Likewise.
44086 (FE_TONEAREST): Likewise.
44087 (FE_TOWARDZERO): Likewise.
44088 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44089 (FE_OVERFLOW): Likewise.
44090 (FE_UNDERFLOW): Likewise.
44091 (FE_DIVBYZERO): Likewise.
44092 (FE_INEXACT): Likewise.
44093 (FE_TONEAREST): Likewise.
44094 (FE_TOWARDZERO): Likewise.
44095 (FE_UPWARD): Likewise.
44096 (FE_DOWNWARD): Likewise.
44097 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44098 (FE_DIVBYZERO): Likewise.
44099 (FE_OVERFLOW): Likewise.
44100 (FE_UNDERFLOW): Likewise.
44101 (FE_INEXACT): Likewise.
44102 (FE_TONEAREST): Likewise.
44103 (FE_DOWNWARD): Likewise.
44104 (FE_UPWARD): Likewise.
44105 (FE_TOWARDZERO): Likewise.
44106
44107 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44108
44109 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44110
44111 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44112
44113 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44114 commands. Quote $PWD.
44115 (blacklist_exports): Don't use remove_newlines. Replace "declare
44116 -x" by "export".
44117 (remove_newlines): Remove.
44118
44119 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44120
44121 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44122 * stdlib/stdlib.h (atof): Moved to ...
44123 * include/bits/stdlib-float.h: Here. New file.
44124 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44125 * stdlib/bits/stdlib-float.h: New file.
44126 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44127 -mno-sse -mno-mmx.
44128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44129 <xmmintrin.h>.
44130
44131 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44132
44133 * conform/conformtest.pl (@headers): Add fenv.h.
44134 * conform/data/fenv.h-data: New file.
44135 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44136 include of <math/fenv.h>.
44137
44138 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44139 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44140 && !UNIX98]. Enables tests for XOPEN2K8.
44141 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44142 POSIX2008]: Likewise.
44143
44144 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44145 (struct rusage): Do not expect type or its members.
44146
44147 [BZ #3439]
44148 * math/math.h (FP_NAN): Define macro to integer constant usable in
44149 #if and use that to give value to enum constant.
44150 (FP_INFINITE): Likewise.
44151 (FP_ZERO): Likewise.
44152 (FP_SUBNORMAL): Likewise.
44153 (FP_NORMAL): Likewise.
44154
44155 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44156
44157 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44158 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44159 arguments.
44160
44161 2012-11-02 Roland McGrath <roland@hack.frob.com>
44162
44163 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44164 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44165 autoconf-time if not.
44166 * configure.in: Remove AC_PREREQ.
44167
44168 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44169
44170 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44171 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44172 of the internal implementation.
44173
44174 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44175
44176 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44177 except include of <misc/sys/syslog.h>.
44178
44179 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44180
44181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44182 function returns with a NULL context exit with zero.
44183
44184 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44185
44186 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44187
44188 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44189
44190 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44191 (run_program_cmd): This.
44192 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44193 (tst_langinfo): New variable. Use it.
44194
44195 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44196
44197 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44198 floating point opcodes.
44199
44200 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44201
44202 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44203 variable.
44204
44205 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44206
44207 * sysdeps/mach/hurd/powerpc: Remove directory.
44208 * sysdeps/mach/powerpc: Likewise.
44209
44210 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44211
44212 * scripts/check-local-headers.sh: Ignore c++ headers.
44213
44214 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44215
44216 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44217 __libc_cleanup_region_start argument.
44218
44219 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44220
44221 [BZ #14784]
44222 [BZ #14785]
44223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44224 x * y using scaling, not as x * y + z.
44225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44226 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44227 * math/libm-test.inc (fma_test): Add more tests.
44228 (fma_test_towardzero): Likewise.
44229 (fma_test_downward): Likewise.
44230 (fma_test_upward): Likewise.
44231
44232 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44233
44234 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44235
44236 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44237
44238 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44239 New variable.
44240
44241 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44242
44243 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44244
44245 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44246
44247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44248 Fix sort order.
44249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44250 Likewise.
44251
44252 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44253
44254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44255 Fix the order of the list for glibc 2.17.
44256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44257 Likewise.
44258
44259 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44260
44261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44262
44263 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44264
44265 [BZ #14610]
44266 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44267 for low part of x being zero before using __atanl (y).
44268 * math/libm-test.inc (atan2_test): Add another test.
44269
44270 * manual/install.texi (Configuring and compiling): Document
44271 general use of test-wrapper and test-wrapper-env.
44272 * INSTALL: Regenerated.
44273
44274 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44275 (__fma): Do not extract and scale down low bits on after-rounding
44276 systems when result rounded to normal precision would have normal
44277 exponent.
44278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44279 (__fmal): Do not extract and scale down low bits on after-rounding
44280 systems when result rounded to normal precision would have normal
44281 exponent.
44282 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44283 (__fmal): Do not extract and scale down low bits on after-rounding
44284 systems when result rounded to normal precision would have normal
44285 exponent.
44286 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44287 macro.
44288 (fma_test): Add more tests.
44289 (fma_test_towardzero): Likewise.
44290 (fma_test_downward): Likewise.
44291 (fma_test_upward): Likewise.
44292
44293 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44294
44295 * sysdeps/i386/tininess.h: Renamed to ...
44296 * sysdeps/x86/tininess.h: This.
44297 * sysdeps/x86_64/tininess.h: Removed.
44298
44299 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44300
44301 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44302 input. Use $(build-program-cmd).
44303 ($(objpfx)tst-array1-static.out): Likewise.
44304 ($(objpfx)tst-array2.out): Likewise.
44305 ($(objpfx)tst-array3.out): Likewise.
44306 ($(objpfx)tst-array4.out): Likewise.
44307 ($(objpfx)tst-array5.out): Likewise.
44308 ($(objpfx)tst-array5-static.out): Likewise.
44309
44310 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44311
44312 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44313 if defined.
44314
44315 * nss/nsswitch.h (nss_interface_function): Provide new
44316 macro for use with NSS functions.
44317 * grp/initgroups.c: Use new macro.
44318 * nss/getXXbyYY.c: Likewise.
44319 * nss/getXXbyYY_r.c: Likewise.
44320 * nss/getXXent.c: Likewise.
44321 * nss/getXXent_r.c: Likewise.
44322 * sysdeps/posix/getaddrinfo.c: Likewise.
44323
44324 2012-10-30 Andreas Jaeger <aj@suse.de>
44325
44326 * po/ru.po: Update Russion translation from translation project.
44327
44328 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44329
44330 [BZ #14152]
44331 [BZ #14783]
44332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44333 result and shift together with sticky bit instead of replicating
44334 round-to-nearest rounding.
44335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44337 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44338 missing underflow exceptions.
44339 (fma_test_towardzero): Add more tests.
44340 (fma_test_downward): Likewise.
44341 (fma_test_upward): Likewise.
44342
44343 [BZ #14047]
44344 * sysdeps/generic/tininess.h: New file.
44345 * sysdeps/i386/tininess.h: Likewise.
44346 * sysdeps/sh/tininess.h: Likewise.
44347 * sysdeps/x86_64/tininess.h: Likewise.
44348 * stdlib/tst-strtod-underflow.c: Likewise.
44349 * stdlib/tst-tininess.c: Likewise.
44350 * stdlib/strtod_l.c: Include <tininess.h>.
44351 (round_and_return): Do not set errno for exact underflow cases.
44352 Force an underflow exception when setting errno for underflow.
44353 Determine underflow based on rounding to normal precision if
44354 TININESS_AFTER_ROUNDING.
44355 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44356 ERANGE for exact underflow cases.
44357 * stdlib/Makefile (tests): Add tst-tininess and
44358 tst-strtod-underflow.
44359 ($(objpfx)tst-tininess): Use $(link-libm).
44360 ($(objpfx)tst-strtod-underflow): Likewise.
44361
44362 2012-10-30 Andreas Jaeger <aj@suse.de>
44363
44364 [BZ#14767]
44365 * elf/Makefile (tests): Remove conditional for have-initfini-array
44366 since this is now always required and the variable does not exist
44367 anymore.
44368 (tests-static): Likewise.
44369 (modules-names): Likewise.
44370
44371 * po/eo.po: Add Esperanto translation from translation project.
44372
44373 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44374 merged with constructor/destructor.
44375 (init_array): Likewise.
44376 * elf/tst-array2dep.c (fini_array): Likewise.
44377 (init_array): Likewise.
44378
44379 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44380
44381 * manual/message.texi: Delete @cartouche tags.
44382
44383 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44384
44385 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44386 EOPNOTSUPP.
44387 * sysdeps/mach/hurd/fsync.c: Likewise.
44388
44389 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44390 [_POSIX_REALTIME_SIGNALS]: Change condition to
44391 [_POSIX_REALTIME_SIGNALS > 0].
44392
44393 2012-10-27 Andreas Jaeger <aj@suse.de>
44394
44395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44396 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44398 [__WORDSIZE != 64]: Likewise.
44399
44400 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44401
44402 * iconvdata/tst-table.sh: Remove ${SHELL}.
44403 * iconvdata/tst-tables.sh: Likewise.
44404
44405 2012-10-25 David S. Miller <davem@davemloft.net>
44406
44407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44408 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44409 of strtoull.
44410
44411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44412 ifunc-impl-list.c
44413 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44414 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44415 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44416 file.
44417
44418 2012-10-25 Roland McGrath <roland@hack.frob.com>
44419
44420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44421 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44422 __getdirentries.
44423
44424 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44425 Jim Blandy <jimb@codesourcery.com>
44426
44427 * scripts/cross-test-ssh.sh: New file.
44428 * manual/install.texi (Configuring and compiling): Document use of
44429 cross-test-ssh.sh.
44430 * INSTALL: Regenerated.
44431
44432 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44433
44434 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44435 EOPNOTSUPP.
44436
44437 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44438
44439 * Makeconfig (run-program-prefix): Fix comment.
44440
44441 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44442 Jim Blandy <jimb@codesourcery.com>
44443
44444 * Makeconfig (test-wrapper): New variable,
44445 (test-wrapper-env): Likewise.
44446 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44447 (run-built-tests): Define to yes.
44448 (run-program-prefix): Use $(test-wrapper).
44449 (built-program-cmd): Likewise.
44450 * Rules (make-test-out): Use $(test-wrapper-env) and
44451 $(host-built-program-cmd).
44452 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44453 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44454 tst-pathopt.sh.
44455 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44456 $(test-wrapper-env) to tst-rtld-load-self.sh.
44457 ($(objpfx)order2.out): Use $(test-wrapper).
44458 ($(objpfx)tst-initorder.out): Likewise.
44459 ($(objpfx)tst-initorder2.out): Likewise.
44460 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44461 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44462 (test_wrapper_env): New variable. Use it to run ld.so.
44463 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44464 Use it to run ld.so.
44465 (test_wrapper_env): Likewise.
44466 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44467 $(test-wrapper) to run-iconv-test.sh.
44468 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44469 (ICONV): Use $test_wrapper.
44470 * posix/Makefile ($(objpfx)globtest.out): Pass
44471 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44472 globtest.sh, not $(run-program-prefix).
44473 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44474 (test_wrapper): Likewise.
44475 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44476 set together with run_via_rtld_prefix.
44477 (run_program_prefix): Define in terms of test_wrapper and
44478 run_via_rtld_prefix.
44479
44480 2012-10-24 Roland McGrath <roland@hack.frob.com>
44481
44482 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44483 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44484 Targets removed.
44485
44486 [BZ #14743]
44487 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44488 Declare __clock_getres, __clock_gettime, __clock_settime,
44489 __clock_nanosleep, and __clock_getcpuclockid.
44490 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44491 Remove librt_hidden_def (clock_gettime).
44492 * sysdeps/unix/clock_gettime.c: Likewise.
44493 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44494 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44495 * rt/clock_getres.c: Define __clock_getres as an alias.
44496 * sysdeps/posix/clock_getres.c: Likewise.
44497 * rt/clock_settime.c: Define __clock_settime as an alias.
44498 * sysdeps/unix/clock_settime.c: Likewise.
44499 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44500 * sysdeps/unix/clock_nanosleep.c: Likewise.
44501 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44502 * rt/clock-compat.c: New file.
44503 * rt/Makefile (librt-routines): Add clock-compat and move
44504 $(clock-routines) to ...
44505 (routines): ... here, new variable.
44506 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44507 Don't add get_clockfreq here.
44508 * rt/Versions (libc: GLIBC_2.17): New version set.
44509 Add clock_* symbols here.
44510 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44512 (GLIBC_2.17): Add clock_* symbols.
44513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44517 Likewise.
44518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44519 Likewise.
44520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44524 * NEWS: Mention the move.
44525
44526 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44527 Use __open, __read, __close rather than their public counterparts.
44528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44529 (__get_clockfreq_via_cpuinfo): Likewise.
44530 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44531 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44532
44533 * config.h.in (HAVE_IFUNC): New #undef.
44534 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44535 was successful.
44536 * configure: Regenerated.
44537
44538 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44539
44540 * configure.in: Move READELF check to start of file.
44541 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44542 libc_cv_asm_gnu_indirect_function in the process.
44543 * configure: Regenerated.
44544
44545 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44546
44547 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44548 send the output to /dev/null.
44549 (libc_cv_cc_with_libunwind): Likewise.
44550 (libc_cv_as_noexecstack): Likewise.
44551 * configure: Regenerate.
44552
44553 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44554
44555 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44556
44557 * posix/globtest.sh (TMPDIR): Do not set.
44558 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44559 (testout): Likewise.
44560
44561 2012-10-24 Andreas Jaeger <aj@suse.de>
44562
44563 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44564 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44565 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44566 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44567 posix_fadvise64, posix_fallocate64.
44568
44569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44570 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44571 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44572 Likewise.
44573 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44574 Likewise.
44575 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44576
44577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44578 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44579 <bits/fcntl-linux.h>.
44580 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44581
44582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44583 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44584 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44585 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44586 [__WORDSIZE != 64]: Likewise.
44587
44588 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44589
44590 * Makeconfig (run-built-tests): New variable.
44591 * Rules [$(cross-compiling) = yes]: Change condition to
44592 [$(run-built-tests) = no].
44593 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44594 to [$(run-built-tests) = yes].
44595 * elf/Makefile [$(cross-compiling) = no]: Likewise
44596 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44597 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44598 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44599 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44600 * io/Makefile [$(cross-compiling) = no]: Likewise.
44601 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44602 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44603 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44604 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44605 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44606 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44607 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44608 * string/Makefile [$(cross-compiling) = no]: Likewise.
44609
44610 * posix/Makefile ($(objpfx)globtest.out): Pass
44611 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44612 $(rtld-installed-name).
44613 * posix/globtest.sh (elf_objpfx): Remove variable.
44614 (rtld_installed_name): Likewise.
44615 (library_path): Likewise.
44616 (run_program_prefix): New variable. Use for running globtest
44617 binary.
44618
44619 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44620 Joseph Myers <joseph@codesourcery.com>
44621
44622 * Makeconfig (host-built-program-cmd): New variable.
44623 * elf/Makefile (tst-stackguard1-ARGS): Use
44624 $(host-built-program-cmd).
44625 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44626 (tst-spawn-ARGS): Likewise.
44627 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44628
44629 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44630 Jim Blandy <jimb@codesourcery.com>
44631
44632 * Makeconfig (run-via-rtld-prefix): New variable.
44633 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44634 (built-program-cmd): Likewise.
44635
44636 2012-10-22 Andreas Jaeger <aj@suse.de>
44637
44638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44639 __O_RSYNC if it exists, otherwise to O_SYNC.
44640
44641 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44642 Joseph Myers <joseph@codesourcery.com>
44643
44644 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44645 /dev/null.
44646 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44647 from /dev/null
44648 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44649 /dev/null.
44650
44651 2012-10-22 Andreas Jaeger <aj@suse.de>
44652
44653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44654 Define always.
44655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44656
44657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44658 bits/fcntl-linux.h.
44659
44660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44661 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44662
44663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44664 to __O_LARGEFILE.
44665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44666 to __O_LARGEFILE.
44667
44668 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44669 Joseph Myers <joseph@codesourcery.com>
44670
44671 * config.make.in (NM): New variable.
44672
44673 2012-10-21 Andreas Jaeger <aj@suse.de>
44674
44675 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44676 definitions and declarations that are provided by
44677 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44678
44679 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44680
44681 [BZ #14683]
44682 * elf/Makefile (tests-static): Add tst-leaks1-static.
44683 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44684 ($(objpfx)tst-leaks1-static): New rule.
44685 ($(objpfx)tst-leaks1-static-mem): Likewise.
44686 (tst-leaks1-static-ENV): New macro.
44687 * elf/dl-open.c (dl_open_worker): Check the main application
44688 only if SHARED is defined.
44689 * elf/tst-leaks1-static.c: New file.
44690
44691 2012-10-20 Andreas Jaeger <aj@suse.de>
44692
44693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44694 generic values for Linux.
44695 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44696 and declarations that are provided by <bits/fcntl-linux.h> and
44697 include <bits/fcntl-linux.h>.
44698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44700
44701 2012-10-20 Roland McGrath <roland@hack.frob.com>
44702
44703 * io/fcntl.h: Move include of <bits/types.h> to the top and
44704 include it unconditionally.
44705
44706 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44707
44708 * wcsmbs/Makefile (tests-ifunc): New variable.
44709 (tests): Add $(tests-ifunc).
44710 * wcsmbs/test-wcschr-ifunc.c: New file.
44711 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44712 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44713 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44714 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44715 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44716
44717 * string/Makefile (tests-ifunc): New variable.
44718 (tests): Add $(tests-ifunc).
44719 * string/test-memccpy.c (TEST_NAME): New macro.
44720 * string/test-memchr.c (TEST_NAME): Likewise.
44721 * string/test-memcmp.c (TEST_NAME): Likewise.
44722 * string/test-memcpy.c (TEST_NAME): Likewise.
44723 * string/test-memmem.c (TEST_NAME): Likewise.
44724 * string/test-memmove.c (TEST_NAME): Likewise.
44725 * string/test-memset.c (TEST_NAME): Likewise.
44726 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44727 * string/test-stpcpy.c (TEST_NAME): Likewise.
44728 * string/test-stpncpy.c (TEST_NAME): Likewise.
44729 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44730 * string/test-strcasestr.c (TEST_NAME): Likewise.
44731 * string/test-strcat.c (TEST_NAME): Likewise.
44732 * string/test-strchr.c (TEST_NAME): Likewise.
44733 * string/test-strcmp.c(TEST_NAME): Likewise.
44734 * string/test-strcpy.c (TEST_NAME): Likewise.
44735 * string/test-strcspn.c (TEST_NAME): Likewise.
44736 * string/test-strlen.c (TEST_NAME): Likewise.
44737 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44738 * string/test-strncmp.c (TEST_NAME): Likewise.
44739 * string/test-strncpy.c (TEST_NAME): Likewise.
44740 * string/test-strnlen.c (TEST_NAME): Likewise.
44741 * string/test-strpbrk.c (TEST_NAME): Likewise.
44742 * string/test-strrchr.c (TEST_NAME): Likewise.
44743 * string/test-strspn.c (TEST_NAME): Likewise.
44744 * string/test-strstr.c (TEST_NAME): Likewise.
44745 * string/test-bcopy-ifunc.c: New file.
44746 * string/test-bzero-ifunc.c: Likewise.
44747 * string/test-memccpy-ifunc.c: Likewise.
44748 * string/test-memchr-ifunc.c: Likewise.
44749 * string/test-memcmp-ifunc.c: Likewise.
44750 * string/test-memcpy-ifunc.c: Likewise.
44751 * string/test-memmem-ifunc.c: Likewise.
44752 * string/test-memmove-ifunc.c: Likewise.
44753 * string/test-mempcpy-ifunc.c: Likewise.
44754 * string/test-memset-ifunc.c: Likewise.
44755 * string/test-rawmemchr-ifunc.c: Likewise.
44756 * string/test-stpcpy-ifunc.c: Likewise.
44757 * string/test-stpncpy-ifunc.c: Likewise.
44758 * string/test-strcasecmp-ifunc.c: Likewise.
44759 * string/test-strcasestr-ifunc.c: Likewise.
44760 * string/test-strcat-ifunc.c: Likewise.
44761 * string/test-strchr-ifunc.c: Likewise.
44762 * string/test-strchrnul-ifunc.c: Likewise.
44763 * string/test-strcmp-ifunc.c: Likewise.
44764 * string/test-strcpy-ifunc.c: Likewise.
44765 * string/test-strcspn-ifunc.c: Likewise.
44766 * string/test-strlen-ifunc.c: Likewise.
44767 * string/test-strncasecmp-ifunc.c: Likewise.
44768 * string/test-strncat-ifunc.c: Likewise.
44769 * string/test-strncmp-ifunc.c: Likewise.
44770 * string/test-strncpy-ifunc.c: Likewise.
44771 * string/test-strnlen-ifunc.c: Likewise.
44772 * string/test-strpbrk-ifunc.c: Likewise.
44773 * string/test-strrchr-ifunc.c: Likewise.
44774 * string/test-strspn-ifunc.c: Likewise.
44775 * string/test-strstr-ifunc.c: Likewise.
44776
44777 * debug/Makefile (tests-ifunc): New variable.
44778 (tests): Add $(tests-ifunc).
44779 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44780 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44781 * debug/test-stpcpy_chk-ifunc.c: New file.
44782 * debug/test-strcpy_chk-ifunc.c: Likewise.
44783
44784 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44785
44786 [BZ #13601]
44787 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44788 header is not read in.
44789
44790 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44791
44792 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44793 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44794 directly. Pass built executable to script as
44795 $(built-program-cmd).
44796 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44797 $testprogram without using LD_LIBRARY_PATH and $ldso.
44798
44799 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44800 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44801 $(rtld-installed-name).
44802 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44803 (rtld_installed_name): Likewise.
44804 (library_path): Likewise.
44805 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44806 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44807 $(run-program-prefix) to tst-tables.sh.
44808 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44809 it to run tst-table-from and tst-table-to.
44810 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44811 Pass it to tst-table.sh.
44812 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44813 $(run-program-prefix) to tst-gettext.sh.
44814 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44815 tst-translit.sh.
44816 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44817 tst-gettext2.sh.
44818 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44819 to run tst-gettext.
44820 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44821 to run tst-gettext2.
44822 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44823 to run tst-translit.
44824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44825 $(run-program-prefix) to tst-mtrace.sh.
44826 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44827 to run tst-mtrace.
44828 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44829 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44830 $(rtld-installed-name).
44831 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44832 (rtld_installed_name): Likewise.
44833 (run_program_prefix): New variable. Use it to run wordexp-test.
44834
44835 * Makeconfig (ARCH): Remove all definitions.
44836 (machine): Likewise.
44837 [ARCH]: Remove conditional code.
44838 [!objdir]: Give error.
44839 [!objdir] (objpfx): Remove.
44840 [!objdir] (common-objpfx): Likewise.
44841 [!objdir] (common-objdir): Likewise.
44842 * configure.in (config_makefile): Remove. Hardcode Makefile in
44843 AC_CONFIG_FILES call.
44844 * configure: Regenerated.
44845
44846 [BZ #13888]
44847 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44848 or TMPDIR.
44849 (testout): Likewise.
44850
44851 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44852 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44853 $(rtld-installed-name).
44854 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44855 (rtld_installed_name): Likwise.
44856 (runit): Remove function.
44857 (run_getconf): New variable, Use it for running getconf binary.
44858
44859 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44860
44861 [BZ #14716]
44862 * string/test-memmem.c (check_result): New function.
44863 (do_one_test): Use it.
44864 (check1): New function.
44865 (test_main): Use it.
44866
44867 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44868
44869 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44870
44871 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44872
44873 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44874 (_G_LSEEK64): Likewise.
44875 (_G_MMAP64): Likewise.
44876 (_G_FSTAT64): Likewise.
44877 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44878 (_G_LSEEK64): Likewise.
44879 (_G_MMAP64): Likewise.
44880 (_G_FSTAT64): Likewise.
44881 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44882 unconditional. Call __mmap64 directly.
44883 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44884 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44885 __lseek64 directly.
44886 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44887 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44888 __mmap64 directly.
44889 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44890 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44891 __lseek64 directly.
44892 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44893 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44894 __lseek64 directly.
44895 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44896 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44897 __lseek64 directly.
44898 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44899 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44900 __fxstat64 directly.
44901 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44902 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44903 unconditional.
44904 (freopen64) [!_G_OPEN64]: Remove conditional code.
44905 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44906 unconditional.
44907 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44908 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44909 unconditional.
44910 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44911 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44912 unconditional.
44913 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44914 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44915 unconditional.
44916 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44917 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44918 unconditional.
44919 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44920 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44921 unconditional.
44922 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44923 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44924 unconditional.
44925 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44926
44927 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44928
44929 [BZ #12140]
44930 * manual/memory.texi (Malloc Tunable Parameters): Add note
44931 about free list pointers overwriting some perturb bytes.
44932 Wording suggested by Roland McGrath.
44933
44934 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44935
44936 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44937 (lgamma_test): Likewise.
44938 (tgamma_test): Likewise.
44939
44940 2012-10-16 Florian Weimer <fweimer@redhat.com>
44941
44942 [BZ #14700]
44943 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44944 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44945
44946 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44947
44948 * NEWS: Mention BZ #14716.
44949 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44950 when removing AVAILABLE1_USES_J macro.
44951
44952 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44953
44954 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44955 (__bswap_64): __uint64_t for unsigned 64-bit int.
44956
44957 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44958
44959 * include/string.h (memmem): Declare libc hidden alias.
44960 * string/memmem.c (memmem): Define libc hidden alias.
44961 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44962 __read, __close instead of open, read, close.
44963
44964 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44965
44966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44967 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44968 global and hidden.
44969 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44970 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44971 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44972 Likewise.
44973 (__rawmemchr_sse2): Likewise.
44974 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44975 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44976 (__strchr_sse2): Likewise.
44977 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44978 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44979 (__strcasecmp_sse2): Likewise.
44980 (__strncasecmp_sse2): Likewise.
44981 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44982 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44983 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44984 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44985 (__strrchr_sse2): Likewise.
44986 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44987 ifunc-impl-list.c.
44988 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44989 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44990 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44991 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44992 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44993 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44994 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44995 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44996 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44997 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44998 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44999 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45000 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45001 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45002 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45003 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45004 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45005 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45006 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45007 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45008 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45009 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45010 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45011 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45012 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45013 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45014 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45015 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45016 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45017 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45018
45019 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45020 global and hidden.
45021 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45022 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45023 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45024 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45025 Likewise.
45026 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45027 Likewise.
45028 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45029 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45030 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45031 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45032 ifunc-impl-list.c.
45033 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45034 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45035 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45036 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45037 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45038 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45039 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45040 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45042 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45043 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45044 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45045 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45046 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45047 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45048 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45049 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45050 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45051 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45052 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45053 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45054 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45055 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45056 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45058 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45059 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45060 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45061 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45062 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45063 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45064 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45065 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45066 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45067 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45068 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45069 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45070 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45071 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45073 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45074
45075 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45076 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45077 * include/ifunc-impl-list.h: New file.
45078 * misc/ifunc-impl-list.c: Likewise.
45079 * misc/Makefile (routines): Add ifunc-impl-list.
45080 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45081 * string/test-string.h: Include <ifunc-impl-list.h>.
45082 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45083 TEST_NAME]: New variables.
45084 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45085 are defined.
45086 (test_init): Call __libc_ifunc_impl_list to initialize
45087 func_list if TEST_IFUNC and TEST_NAME are defined.
45088
45089 * string/Makefile (strop-tests): Add bcopy and bzero.
45090 * string/test-bcopy.c: New file.
45091 * string/test-bzero.c: Likewise.
45092 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45093 defined.
45094 * string/test-memset.c: Support bzero test if TEST_BZERO is
45095 defined.
45096 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45097 __libc_memmove.
45098 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45099 __libc_memset.
45100 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45101 of memset.
45102
45103 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45104
45105 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45106 * configure: Regenerated.
45107
45108 * Makeconfig (+link-static-before-libc): Don't include
45109 $(link-static-libc).
45110
45111 * libio/libio.h (_IO_pos_t): Remove.
45112
45113 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45114
45115 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45116 McGrath.
45117
45118 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45119
45120 * crypt/crypt-entry.c: Include fips-private.h.
45121 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45122 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45123 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45124 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45125
45126 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45127
45128 * crypt/crypt-private.h: Include stdbool.h.
45129 (_ufc_setup_salt_r): Return bool.
45130 * crypt/crypt-entry.c: Include errno.h.
45131 (__crypt_r): Return NULL with EINVAL for bad salt.
45132 * crypt/crypt_util.c (bad_for_salt): New.
45133 (_ufc_setup_salt_r): Check that salt is long enough and within
45134 the specified alphabet.
45135 * crypt/badsalttest.c: New file.
45136 * crypt/Makefile (tests): Add it.
45137 ($(objpfx)badsalttest): New.
45138
45139 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45140
45141 * NEWS: Add entry for BZ #14602.
45142
45143 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45144
45145 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45146 type-generic.
45147 * math/libm-test.inc: Update comment listing what functions and
45148 macros are tested.
45149 (isgreater_test): New function.
45150 (isgreaterequal_test): Likewise.
45151 (isless_test): Likewise.
45152 (islessequal_test): Likewise.
45153 (islessgreater_test): Likewise.
45154 (isunordered_test): Likewise.
45155 (main): Call the new functions.
45156
45157 2012-10-09 Roland McGrath <roland@hack.frob.com>
45158
45159 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45160 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45161 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45162 * sysdeps/i386/configure: Regenerated.
45163 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45164 * sysdeps/mach/configure: Regenerated.
45165 * sysdeps/mach/hurd/configure: Regenerated.
45166 * sysdeps/powerpc/configure: Regenerated.
45167 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45168 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45169 * sysdeps/s390/s390-32/configure: Regenerated.
45170 * sysdeps/s390/s390-64/configure: Regenerated.
45171 * sysdeps/sh/configure: Regenerated.
45172 * sysdeps/sparc/configure: Regenerated.
45173 * sysdeps/unix/sysv/linux/configure: Regenerated.
45174 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45175 * sysdeps/x86_64/configure: Regenerated.
45176
45177 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45178 defined. Don't check if MAP is NULL.
45179
45180 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45181
45182 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45183 (_G_stat64): Likewise.
45184 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45185 (_G_stat64): Likewise.
45186 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45187 instead of struct _G_stat64.
45188 * libio/fileops.c (mmap_remap_check): Likewise.
45189 (decide_maybe_mmap): Likewise.
45190 (_IO_new_file_seekoff): Likewise.
45191 (_IO_file_stat): Likewise.
45192 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45193 _G_off64_t.
45194 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45195 instead of struct _G_stat64.
45196 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45197
45198 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45199
45200 [BZ #14602]
45201 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45202 Replace with ...
45203 (CHECK_EOL): New macro.
45204 (two_way_short_needle): Check beginning of haystack for EOL. Use
45205 CHECK_EOL.
45206 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45207 Replace with CHECK_EOL.
45208 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45209 Replace with CHECK_EOL.
45210
45211 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45212
45213 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45214 type-generic.
45215 * math/libm-test.inc: Update comment listing what functions and
45216 macros are tested.
45217 (finite_test): New function.
45218 (isinf_test): Likewise.
45219 (isnan_test): Likewise.
45220 (fpclassify_test): Test subnormal input.
45221 (isfinite_test): Likewise.
45222 (isnormal_test): Likewise.
45223 (main): Call the new functions.
45224
45225 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45226
45227 [BZ #14660]
45228 * Makerules (%.dynsym): Force C locale when running
45229 $(OBJDUMP) --dynamic-syms.
45230
45231 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45232
45233 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45234 <stdint.h>.
45235
45236 2012-10-06 David S. Miller <davem@davemloft.net>
45237
45238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45239 upper 32-bits of the length value in %o2 since we use branch-on-register
45240 tests which consider the entire 64-bit register.
45241
45242 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45243
45244 * string/test-strstr.c (check2): Add a test for page boundary.
45245
45246 2012-10-05 David S. Miller <davem@davemloft.net>
45247
45248 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45249 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45250 file.
45251 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45252 sysdep_routines.
45253 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45254 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45255 and bzero when HWCAP_SPARC_CRYPTO is present.
45256
45257 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45258
45259 [BZ #14602]
45260 * string/test-strstr.c (check2): New function.
45261 (test_main): Call check2.
45262
45263 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45264 and bug-strchr1.
45265 * string/bug-strcasestr1.c (do_test): Moved to ...
45266 * string/test-strcasestr.c (check1): Here. New function.
45267 (do_one_test): Break out result checking code into ...
45268 (check_result): This. New function.
45269 (do_one_test): Call check_result.
45270 (test_main): Call check1.
45271 * string/bug-strchr1.c (do_test): Moved to ...
45272 * string/test-strchr.c (check1): Here. New function.
45273 (do_one_test): Break out result checking code into ...
45274 (check_result): This. New function.
45275 (do_one_test): Call check_result.
45276 (test_main): Call check1.
45277 * string/bug-strstr1.c (main): Moved to ...
45278 * string/test-strstr.c (check1): Here. New function.
45279 (do_one_test): Break out result checking code into ...
45280 (check_result): This. New function.
45281 (do_one_test): Call check_result.
45282 (test_main): Call check1.
45283 * string/bug-strcasestr1.c: Removed.
45284 * string/bug-strchr1.c: Likewise.
45285 * string/bug-strstr1.c: Likewise.
45286
45287 * elf/Makefile (dl-routines): Add hwcaps.
45288 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45289 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45290 (_dl_important_hwcaps): Moved to ...
45291 * elf/dl-hwcaps.c: Here. New file.
45292 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45293
45294 [BZ #14557]
45295 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45296 if IS_IN_rtld isn't defined.
45297
45298 * elf/dl-support.c (_dl_sysinfo_map): New.
45299 Include "get-dynamic-info.h" and "setup-vdso.h".
45300 (_dl_non_dynamic_init): Call setup_vdso.
45301 * elf/dynamic-link.h: Don't include <assert.h>.
45302 (elf_get_dynamic_info): Moved to ...
45303 * elf/get-dynamic-info.h: Here. New file.
45304 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45305 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45306 * elf/setup-vdso.h: Here. New file.
45307 * elf/rtld.c: Include "setup-vdso.h".
45308 (dl_main): Call setup_vdso.
45309
45310 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45311
45312 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45313 creal in comment listing functions tested. List finite, isinf,
45314 isnan, isless, islessequal, isgreater, isgreaterequal,
45315 islessgreater, isunordered, lgamma_r and pow10 as functions and
45316 macros not tested. Mention which functions not tested are aliases
45317 for other functions. Fix typo. Note that signs of NaNs are not
45318 tested.
45319
45320 * scripts/config.guess: Update from config.git.
45321 * scripts/config.sub: Likewise.
45322
45323 2012-10-04 Roland McGrath <roland@hack.frob.com>
45324
45325 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45326 * misc/madvise.c (madvise): Renamed to __madvise.
45327 Make madvise a weak alias.
45328 * include/sys/mman.h: Declare __madvise.
45329 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45330 * sysdeps/unix/syscalls.list
45331 (madvise): Make __madvise the strong name, and madvise a weak alias.
45332 * sysdeps/unix/sysv/linux/syscalls.list
45333 (madvise, mmap): Remove redundant entries.
45334 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45335 * malloc/malloc.c (mtrim): Likewise.
45336 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45337
45338 2012-10-03 Roland McGrath <roland@hack.frob.com>
45339
45340 * sysdeps/mach/hurd/dl-cache.c: File removed.
45341 * config.h.in (USE_LDCONFIG): New #undef.
45342 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45343 * configure: Regenerated.
45344 * elf/Makefile (dl-routines): Add dl-cache only under
45345 [$(use-ldconfig) = yes].
45346 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45347 cache on [USE_LDCONFIG].
45348 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45349 [USE_LDCONFIG].
45350 * elf/rtld.c (dl_main): Likewise.
45351
45352 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45353
45354 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45355 _SC_LEVEL4_CACHE_LINESIZE.
45356
45357 2012-10-03 Roland McGrath <roland@hack.frob.com>
45358
45359 * sysdeps/unix/bsd/confstr.h: File removed.
45360
45361 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45362
45363 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45364 sys/sdt-config.h.
45365
45366 2012-10-02 Roland McGrath <roland@hack.frob.com>
45367
45368 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45369 Make 'mapoff' field ElfW(Off) rather than off_t.
45370
45371 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45372
45373 * nscd/Makefile: Remove nscd-cflags and all its users.
45374 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45375 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45376
45377 [BZ #10631]
45378 * malloc.c (malloc_printerr): Clarify error message.
45379
45380 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45381
45382 [BZ #14648]
45383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45384 Set bit_FMA_Usable if FMA is supported.
45385 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45386 macro.
45387 (bit_FMA4_Usable): Updated.
45388 (index_FMA_Usable): New macro.
45389 (CPUID_FMA): Likewise
45390 (HAS_FMA): Defined with bit_FMA_Usable.
45391
45392 2012-10-01 Roland McGrath <roland@hack.frob.com>
45393
45394 * bits/types.h (__swblk_t): Type removed.
45395 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45396 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45398 (__SWBLK_T_TYPE): Likewise.
45399 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45400 (__SWBLK_T_TYPE): Likewise.
45401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45402 (__SWBLK_T_TYPE): Likewise.
45403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45404 (__SWBLK_T_TYPE): Likewise.
45405
45406 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45407 Honza Horak <hhorak@redhat.com>
45408
45409 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45410 (xdr_mapname): Use YPMAXMAP as maxsize.
45411 (xdr_peername): Use YPMAXPEER as maxsize.
45412 (xdr_keydat): Use YPAXRECORD as maxsize.
45413 (xdr_valdat): Use YPMAXRECORD as maxsize.
45414
45415 2012-10-01 Roland McGrath <roland@hack.frob.com>
45416
45417 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45418
45419 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45420 * csu/init-first.c: ... here.
45421 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45422 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45424 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45425 * sysdeps/i386/init-first.c: File removed.
45426 * sysdeps/sh/init-first.c: File removed.
45427
45428 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45429
45430 [BZ #14645]
45431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45432 if x * y might underflow to zero and z is zero.
45433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45435 * math/libm-test.inc (min_subnorm_value): New variable.
45436 (fma_test): Add more tests.
45437 (fma_test_towardzero): Likewise.
45438 (fma_test_downward): Likewise
45439 (fma_test_upward): Likewise.
45440 (initialize): Set min_subnorm_value.
45441
45442 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45443
45444 [BZ #14638]
45445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45446 0 + 0.
45447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45448 mode for addition resulting in exact zero.
45449 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45451 exact 0 + 0.
45452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45454 * math/libm-test.inc (fma_test): Add more tests.
45455 (fma_test_towardzero): New function.
45456 (fma_test_downward): Likewise.
45457 (fma_test_upward): Likewise.
45458 (main): Call the new functions.
45459
45460 2012-09-28 David S. Miller <davem@davemloft.net>
45461
45462 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45463
45464 2012-09-28 Roland McGrath <roland@hack.frob.com>
45465
45466 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45467 instead of SIGALRM.
45468
45469 * sysdeps/gnu/_G_config.h: Moved to ...
45470 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45471 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45472 * sysdeps/generic/_G_config.h: ... here.
45473
45474 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45475
45476 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45477
45478 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45479 Conditionalize target on [libnss_test1.so-version].
45480
45481 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45482
45483 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45484 (elfobjdir): Move out of conditionals.
45485
45486 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45487 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45488 (__nss_lookup_function): Conditionalize label remove_from_tree on
45489 [!DO_STATIC_NSS || SHARED], matching its only use.
45490
45491 2012-09-28 David S. Miller <davem@davemloft.net>
45492
45493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45494 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45495 file.
45496 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45497 sysdep_routines.
45498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45500 when HWCAP_SPARC_CRYPTO is present.
45501
45502 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45503
45504 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45505
45506 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45507
45508 [BZ #6530]
45509 * stdio-common/vfprintf.c (process_string_arg): Revert
45510 2000-07-22 change.
45511
45512 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45513
45514 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45515 for testcase.
45516 * stdio-common/tst-sprintf.c: Include <locale.h>
45517 (main): Test sprintf's handling of incomplete multibyte
45518 characters.
45519
45520 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45521
45522 * elf/dl-runtime.c (VERSYMIDX): Removed.
45523 * elf/dl-version.c (VERSYMIDX): Likewise.
45524 * elf/do-rel.h (VERSYMIDX): Likewise.
45525 (VALIDX): Likewise.
45526 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45527 * elf/rtld.c (VALIDX): Likewise.
45528 (ADDRIDX): Likewise.
45529 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45530 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45531 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45532 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45533 (VALIDX): Likewise.
45534 (ADDRIDX): Likewise.
45535
45536 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45537
45538 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45539
45540 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45541
45542 [BZ #11438]
45543 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45544 to global scope.
45545 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45546 addresses are in the same scope as 192.0.2/24.
45547 * posix/gai.conf: Document new scope table defaults.
45548
45549 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45550
45551 [BZ #5298]
45552 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45553 for ftell. Compute offsets from write pointers instead.
45554 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45555
45556 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45557
45558 [BZ #14543]
45559 * libio/Makefile (tests): New test case tst-fseek.
45560 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45561 combination works in wide mode.
45562 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45563 state when the external buffer state changes.
45564
45565 2012-09-27 David S. Miller <davem@davemloft.net>
45566
45567 [BZ #14376]
45568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45569 pass reloc->r_addend in as the 'high' argument to
45570 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45571
45572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45573
45574 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45575
45576 * rt/tst-aio2.c: Include <pthread.h>.
45577 * rt/tst-aio3.c: Likewise.
45578
45579 2012-09-27 Steve Ellcey <sellcey@mips.com>
45580
45581 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45582
45583 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45584
45585 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45586 contents on [SHARED].
45587
45588 2012-09-26 Marek Polacek <polacek@redhat.com>
45589
45590 [BZ #14530]
45591 [BZ #13741]
45592 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45593 for C++ and GCC <4.3 as well as for non GCC compilers.
45594
45595 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45596
45597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45598
45599 2012-09-25 Roland McGrath <roland@hack.frob.com>
45600
45601 * Makefile.in (all, install): Declare with .PHONY.
45602 Reported by Michael Hope <michael.hope@linaro.org>.
45603
45604 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45605
45606 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45607 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45608 system header.
45609 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45610 Likewise.
45611 (sydep_routines): Add the new and the internal functions.
45612 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45613 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45615 (GLIBC_2.17): Add the new function.
45616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45617 (GLIBC_2.17): Likewise.
45618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45619 (GLIBC_2.17): Likewise.
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45621 (GLIBC_2.17): Likewise.
45622 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45623
45624 2012-09-25 Alan Modra <amodra@gmail.com>
45625
45626 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45627 Add release barrier before setting once_control to say
45628 initialisation is done. Add hints on lwarx. Use macro in
45629 place of isync.
45630 (clear_once_control): Add release barrier.
45631
45632 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45633
45634 [BZ #13629]
45635 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45636 specially.
45637 * math/s_clog10.c (__clog10): Likewise.
45638 * math/s_clog10f.c (__clog10f): Likewise.
45639 * math/s_clog10l.c (__clog10l): Likewise.
45640 * math/s_clogf.c (__clogf): Likewise.
45641 * math/s_clogl.c (__clogl): Likewise.
45642 * math/Makefile (libm-calls): Add x2y2m1.
45643 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45644 (__x2y2m1): Likewise.
45645 (__x2y2m1l): Likewise.
45646 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45647 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45648 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45649 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45650 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45651 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45652 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45653 * sysdeps/i386/fpu/libm-test-ulps: Update.
45654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45655
45656 [BZ #14621]
45657 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45658 int as type of variable DEPTH.
45659 (glob): Use size_t instead of int as type of variables NEWCOUNT
45660 and OLD_PATHC.
45661
45662 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45663
45664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45665 Add s_sincosf-sse2.
45666 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45667 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45668 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45669 macros for using routine as __sincosf_ia32.
45670 Use macro for function declaration and weak_alias.
45671 * sysdeps/i386/fpu/libm-test-ulps: Update.
45672
45673 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45675
45676 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45677 subnormal argument.
45678 * math/s_cexpf.c (__cexpf): Likewise.
45679 * math/s_csinf.c (__csinf): Likewise.
45680 * math/s_csinhf.c (__csinhf): Likewise.
45681 * math/s_ctanf.c (__ctanf): Likewise.
45682 * math/s_ctanhf.c (__ctanhf): Likewise.
45683 * math/s_ccosh.c (__ccoshf): Likewise.
45684 * math/s_cexp.c (__cexpl): Likewise.
45685 * math/s_csin.c (__csin): Likewise.
45686 * math/s_csinh.c (__csinh): Likewise.
45687 * math/s_ctan.c (__ctan): Likewise.
45688 * math/s_ctanh.c (ctanh): Likewise.
45689 * math/s_ccoshl.c (__ccoshl): Likewise.
45690 * math/s_cexpl.c (__cexpl): Likewise.
45691 * math/s_csinl.c (__csinl): Likewise.
45692 * math/s_csinhl.c (__csinhl): Likewise.
45693 * math/s_ctanl.c (__ctanl): Likewise.
45694 * math/s_ctanhl.c (__ctanhl): Likewise.
45695
45696 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45697
45698 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45699 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45700 (_IO_off_t): Define to __off_t, not _G_off_t.
45701 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45702 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45703 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45704 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45705 type of __dummy and __dummy2 fields.
45706 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45707 (_G_ssize_t): Likewise.
45708 (_G_off_t): Likewise.
45709 (_G_pid_t): Likewise.
45710 (_G_uid_t): Likewise.
45711 (_G_wchar_t): Likewise.
45712 (_G_wint_t): Likewise.
45713 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45714 (_G_ssize_t): Likewise.
45715 (_G_off_t): Likewise.
45716 (_G_pid_t): Likewise.
45717 (_G_uid_t): Likewise.
45718 (_G_wchar_t): Likewise.
45719 (_G_wint_t): Likewise.
45720 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45721 (_G_ssize_t): Likewise.
45722 (_G_off_t): Likewise.
45723 (_G_pid_t): Likewise.
45724 (_G_uid_t): Likewise.
45725 (_G_wchar_t): Likewise.
45726 (_G_wint_t): Likewise.
45727
45728 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45729
45730 * malloc/arena.c: Include malloc-sysdep.h.
45731 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45732 is sufficient to shrink the heap or an unmap is needed.
45733 * sysdeps/generic/malloc-sysdep.h: New file. Define
45734 new function check_may_shrink_heap.
45735 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45736 new function check_may_shrink_heap.
45737
45738 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45739
45740 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45741 comments.
45742
45743 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45744
45745 * catgets/test-gencat.sh: Add "set -e".
45746 * elf/tst-pathopt.sh: Likewise.
45747 * grp/tst_fgetgrent.sh: Likewise.
45748 * iconvdata/run-iconv-test.sh: Likewise.
45749 * intl/tst-gettext.sh: Likewise.
45750 * intl/tst-gettext2.sh: Likewise.
45751 * intl/tst-gettext4.sh: Likewise.
45752 * intl/tst-gettext6.sh: Likewise.
45753 * intl/tst-translit.sh: Likewise.
45754 * io/ftwtest-sh: Likewise.
45755 * libio/test-freopen.sh: Likewise.
45756 * malloc/tst-mtrace.sh: Likewise.
45757 * posix/globtest.sh: Likewise.
45758 * posix/tst-getconf.sh: Likewise.
45759 * posix/wordexp-tst.sh: Likewise.
45760 * stdio-common/tst-printf.sh: Likewise.
45761 * stdio-common/tst-unbputc.sh: Likewise.
45762 * stdlib/tst-fmtmsg.sh: Likewise.
45763 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45764 * catgets/Makefile: Do not specify -e option when running
45765 testsuite shell scripts.
45766 * elf/Makefile: Likewise.
45767 * grp/Makefile: Likewise.
45768 * iconvdata/Makefile: Likewise.
45769 * intl/Makefile: Likewise.
45770 * io/Makefile: Likewise.
45771 * libio/Makefile: Likewise.
45772 * malloc/Makefile: Likewise.
45773 * posix/Makefile: Likewise.
45774 * stdio-common/Makefile: Likewise.
45775 * stdlib/Makefile: Likewise.
45776 * sysdeps/x86_64/Makefile: Likewise.
45777
45778 * io/ftwtest-sh: Add copyright header.
45779 * posix/globtest.sh: Likewise.
45780 * posix/tst-getconf.sh: Likewise.
45781 * posix/wordexp-tst.sh: Likewise.
45782 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45783
45784 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45785
45786 [BZ #13679]
45787 * Makeconfig (+link): Defined as $(+link-static) if
45788 $(build-shared) isn't yes.
45789 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45790 isn't yes.
45791 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45792
45793 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45794
45795 [BZ #14562]
45796 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45797 new chunk size with MALLOC_ALIGN_MASK.
45798
45799 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45800
45801 [BZ #5044]
45802 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45803 <rounding-mode.h>.
45804 (__printf_fphex): Determine rounding using get_rounding_mode and
45805 round_away.
45806 * stdio-common/tst-printf-round.c (struct hex_test): New
45807 structure.
45808 (hex_tests): New variable.
45809 (test_hex_in_one_mode): New function.
45810 (do_test): Also run tests for hex float output.
45811
45812 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45813
45814 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45815 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45816 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45817 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45818 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45819 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45820 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45822
45823 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45824
45825 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45826 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45827 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45828 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45829
45830 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45831
45832 [BZ #14579]
45833 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45834 mode only.
45835 * elf/tst-rtld-load-self.sh: New test.
45836 * elf/Makefile: Run it.
45837
45838 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45839
45840 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45841 (tst-writev-ENV): Remove.
45842 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45843
45844 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45845
45846 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45847
45848 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45849
45850 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45851 unconditional.
45852 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45853 Likewise.
45854 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45855 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45856 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45857 Likewise.
45858
45859 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45860
45861 [BZ #14587]
45862 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45863 * config.make.in (have-cpp-asm-debuginfo): Removed.
45864 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45865 * configure: Regenerated.
45866
45867 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45868
45869 [BZ #5044]
45870 * stdio-common/printf_fp.c: Include <stdbool.h> and
45871 <rounding-mode.h>.
45872 (___printf_fp): Determine rounding using get_rounding_mode and
45873 round_away.
45874 * stdio-common/tst-printf-round.c: New file.
45875 * stdio-common/Makefile (tests): Add tst-printf-round.
45876 (link-libm): New variable.
45877 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45878
45879 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45880
45881 [BZ #14576]
45882 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45883 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45884 Likewise.
45885 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45886 Likewise.
45887
45888 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45889
45890 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45891 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45892 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45894
45895 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45896
45897 [BZ #14518]
45898 * include/rounding-mode.h: New file.
45899 * sysdeps/generic/get-rounding-mode.h: Likewise.
45900 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45901 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45902 (MAX_VALUE): New macro.
45903 (MIN_VALUE): Likewise.
45904 (overflow_value): New function.
45905 (underflow_value): Likewise.
45906 (round_and_return): Use overflow_value and underflow_value to
45907 determine return values in overflow and underflow cases. Use
45908 round_away to determine rounding depending on rounding mode.
45909 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45910 determine return values in overflow and underflow cases.
45911 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45912 (struct test_results): New structure.
45913 (struct test): Use struct test_results to store expected results
45914 for all rounding modes.
45915 (TEST): Include expected results for all rounding modes.
45916 (test_in_one_mode): New function.
45917 (do_test): Use test_in_one_mode to compute and check results.
45918 Check results for all rounding modes.
45919 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45920 $(link-libm).
45921
45922 2012-12-09 Allan McRae <allan@archlinux.org>
45923
45924 * sysdeps/i386/fpu/libm-test-ulps: Update
45925
45926 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45927
45928 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45929 (_G_int32_t): Likewise.
45930 (_G_uint16_t): Likewise.
45931 (_G_uint32_t): Likewise.
45932 (_G_HAVE_BOOL): Likewise.
45933 (_G_HAVE_ATEXIT): Likewise.
45934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45935 (_G_HAVE_IO_FILE_OPEN): Likewise.
45936 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45937 (_G_int32_t): Likewise.
45938 (_G_uint16_t): Likewise.
45939 (_G_uint32_t): Likewise.
45940 (_G_HAVE_BOOL): Likewise.
45941 (_G_HAVE_ATEXIT): Likewise.
45942 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45943 (_G_HAVE_IO_FILE_OPEN): Likewise.
45944 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45945 (_G_int32_t): Likewise.
45946 (_G_uint16_t): Likewise.
45947 (_G_uint32_t): Likewise.
45948 (_G_HAVE_BOOL): Likewise.
45949 (_G_HAVE_ATEXIT): Likewise.
45950 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45951 (_G_HAVE_IO_FILE_OPEN): Likewise.
45952
45953 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45954
45955 * csu/libc-tls.c: Update copyright years.
45956
45957 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45958
45959 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45960 [!_G_USING_THUNKS]: Remove conditional code.
45961 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45962 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45963
45964 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45965 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45966 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45967 (_G_VTABLE_LABEL_PREFIX): Likewise.
45968 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45969 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45970 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45971 (_G_VTABLE_LABEL_PREFIX): Likewise.
45972 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45973 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45974 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45975 (_G_VTABLE_LABEL_PREFIX): Likewise.
45976 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45977
45978 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45979
45980 * libio/Makefile: Include ../Makeconfig before tests.
45981 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45982 only if $(build-shared) is yes.
45983
45984 * iconv/gconv_db.c: Update copyright years.
45985
45986 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45987
45988 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45989 unwind info if defined PIC. Fix special cases description.
45990 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45991
45992 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45993 DP_HI_MASK entry.
45994 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45995
45996 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45997
45998 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45999
46000 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46001 is NULL.
46002
46003 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46004 (LDLIBS-tst-chk4): This.
46005 (LDFLAGS-tst-chk5): Renamed to ...
46006 (LDLIBS-tst-chk5): This.
46007 (LDFLAGS-tst-chk6): Renamed to ...
46008 (LDLIBS-tst-chk6): This.
46009 (LDFLAGS-tst-lfschk4): Renamed to ...
46010 (LDLIBS-tst-lfschk4): This.
46011 (LDFLAGS-tst-lfschk5): Renamed to ...
46012 (LDLIBS-tst-lfschk5): This.
46013 (LDFLAGS-tst-lfschk6): Renamed to ...
46014 (LDLIBS-tst-lfschk6): This.
46015
46016 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46017 on $(common-objpfx)soversions.mk.
46018
46019 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46020
46021 [BZ #10014]
46022 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46023 example host name.
46024
46025 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46026
46027 * malloc/arena.c (arena_get_retry): New function that gets
46028 another arena for the caller to try its request on.
46029 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46030 current arena cannot fulfill the request.
46031 (__libc_memalign): Likewise.
46032 (__libc_memalign): Likewise.
46033 (__libc_pvalloc): Likewise.
46034 (__libc_calloc): Likewise.
46035
46036 2012-09-05 John Tobey <john.tobey@gmail.com>
46037
46038 [BZ #13542]
46039 * manual/arith.texi (Operations on Complex): Fix description
46040 of carg branch cut.
46041
46042 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46043
46044 [BZ #10014]
46045 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46046 host name.
46047
46048 [BZ #10038]
46049 * manual/memory.texi (Memory): Make order of menu items match
46050 order of sections.
46051
46052 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46053
46054 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46055 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46056 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46057
46058 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46059
46060 * csu/libc-tls.c (static_dtv): Renamed to ...
46061 (_dl_static_dtv): This. Make it global.
46062 (_dl_initial_dtv): Removed.
46063 (__libc_setup_tls): Updated.
46064 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46065 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46066 DL_INITIAL_DTV.
46067
46068 2012-09-06 Petr Machata <pmachata@redhat.com>
46069
46070 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46071 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46072 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46073 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46074
46075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46076
46077 [BZ #14545]
46078 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46079 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46080 freeing dtv[-1].
46081
46082 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46083
46084 [BZ #14544]
46085 * Makeconfig (link-static-before-libc): Replace $(+prector)
46086 with $(+prectorT).
46087 (link-static-after-libc): Replace $(+postctor) with
46088 $(+postctorT).
46089 (link-bounded): Replace $(+prector)/$(+postctor) with
46090 $(+prectorT)/$(+postctorT).
46091 (+prectorT): New macro.
46092 (+postctorT): Likewise.
46093
46094 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46095
46096 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46097 (round_str): Handle values above the maximum for IBM long double
46098 as inexact.
46099 * stdlib/tst-strtod-round.c (tests): Regenerated.
46100
46101 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46102
46103 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46104 assembler flag.
46105 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46106 zarch_nohighgprs around the zarch optimized routines.
46107 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46108 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46110 for zarch.
46111
46112 2012-09-05 David S. Miller <davem@davemloft.net>
46113
46114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46115
46116 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46117 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46118 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46119 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46120 entries.
46121
46122 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46123
46124 * malloc/arena.c: Fold copyright years.
46125 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46126
46127 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46128
46129 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46130
46131 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46132
46133 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46134
46135 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46136
46137 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46138 change internal state upon failure.
46139
46140 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46141
46142 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46143 * malloc/memusage.c (mmap): Likewise.
46144 (mmap64, mremap): Likewise. Adjust name in comment.
46145
46146 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46147
46148 * libio/fileops.c: Fix typos in comments.
46149 * libio/oldfileops.c: Likewise.
46150 * libio/wfileops.c: Likewise.
46151
46152 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46153
46154 [BZ #1349]
46155 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46156 (tst-malloc-usable-ENV): Set environment for test case.
46157 * malloc/hooks.c (malloc_check_get_size): New function to get
46158 requested size.
46159 * malloc/malloc.c (musable): Use malloc_check_get_size.
46160 * malloc/tst-malloc-usable.c: New test case.
46161
46162 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46163
46164 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46165
46166 2012-09-05 Allan McRae <allan@archlinux.org>
46167
46168 [BZ #13966]
46169 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46170 determine header location.
46171 * configure: Regenerated.
46172
46173 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46174
46175 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46176 float format.
46177 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46178 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46179 format.
46180 (test): Regenerate.
46181
46182 2012-09-04 David S. Miller <davem@davemloft.net>
46183
46184 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46185 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46186 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46187
46188 2012-09-04 Florian Weimer <fweimer@redhat.com>
46189
46190 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46191 failures.
46192
46193 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46194
46195 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46196
46197 [BZ #9914]
46198 * libio/iogetdelim.c: Include <limits.h>.
46199 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46200 + len + 1 would overflow.
46201
46202 2012-09-03 Andreas Jaeger <aj@suse.de>
46203
46204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46205 * sysdeps/i386/fpu/libm-test-ulps: Update.
46206
46207 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46208
46209 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46210 Add s_sinf-sse2, s_conf-sse2.
46211
46212 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46213 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46214 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46215 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46216
46217 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46218 for using routine as __sinf_ia32.
46219 Use macro for function declaration and weak_alias.
46220 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46221 for using routine as __cosf_ia32.
46222 Use macro for function declaration and weak_alias.
46223
46224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46225 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46226
46227 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46228 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46230
46231 * math/libm-test.inc (cos_test): Add more test cases.
46232 (sin_test): Likewise.
46233 (sincos_test): Likewise.
46234
46235 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46236
46237 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46238 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46239 hidden.
46240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46241
46242 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46243
46244 [BZ #14538]
46245 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46246 first element of the GOT.
46247 (elf_machine_load_address): Return the difference between
46248 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46249
46250 2012-09-01 Allan McRae <allan@archlinux.org>
46251
46252 [BZ #13412]
46253 * configure.in (AWK): Require gawk version 3.0 or later.
46254 * configure: Regenerated.
46255
46256 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46257
46258 * sysdeps/unix/sysv/linux/kernel-features.h
46259 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46261 [__NR_clock_getres]: Make code unconditional.
46262 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46263 (clock_getcpuclockid): Remove code left unreachable by removal of
46264 conditionals.
46265 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46266 code unconditional.
46267 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46268 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46269 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46270 Make code unconditional.
46271 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46272 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46273 * sysdeps/unix/sysv/linux/clock_settime.c
46274 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46275 conditional code.
46276 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46278
46279 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46280
46281 [BZ #14476]
46282 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46283 scripts/test-installation.pl.
46284
46285 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46286 and $ld_so_version if it is set.
46287
46288 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46289
46290 [BZ #14516]
46291 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46292 failure if reading from procfs failed.
46293 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46294
46295 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46296
46297 * sysdeps/unix/sysv/linux/kernel-features.h
46298 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46299 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46300 Remove conditional code.
46301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46302 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46303 Remove conditional code.
46304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46305 * sysdeps/unix/sysv/linux/i386/fxstat.c
46306 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46308 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46309 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46311 * sysdeps/unix/sysv/linux/i386/lxstat.c
46312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46314 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46315 Remove conditional code.
46316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46317 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46318 Remove conditional code.
46319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46320 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46321 <kernel-features.h>.
46322 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46323 Remove.
46324 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46325 Remove conditional code.
46326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46327 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46328 Remove conditional.
46329
46330 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46331
46332 [BZ #5400]
46333 * NEWS: Add fixed bug number.
46334
46335 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46336
46337 [BZ #14519]
46338 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46339 underflowing exponent in case of negative sign.
46340 * stdlib/tst-strtod-round-data: Add more tests.
46341 * stdlib/tst-strtod-round.c (tests): Regenerated.
46342
46343 [BZ #3479]
46344 * stdlib/strtod_l.c (NDIG): Remove.
46345 (HEXNDIG): Likewise.
46346 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46347 smallest representable value.
46348 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46349 lie within an exact representation of 1/2 ulp of the result.
46350 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46351 unconditionally.
46352 (TENS_P9_IDX): Define unconditionally.
46353 (TENS_P9_SIZE): Likewise.
46354 (TENS_P10_IDX): Likewise.
46355 (TENS_P10_SIZE): Likewise.
46356 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46357 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46358 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46359 entries for 10^2^13 and 10^2^14.
46360 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46361 (TENS_P13_IDX): Define.
46362 (TENS_P13_SIZE): Likewise.
46363 (TENS_P14_IDX): Likewise.
46364 (TENS_P14_SIZE): Likewise.
46365 (_fpioconst_pow10): Change array size to
46366 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46367 unconditional.
46368 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46369 1024]: Add entries for 10^2^13 and 10^2^14.
46370 [LAST_POW10 > _LAST_POW10]: Remove #error.
46371 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46372 (_fpioconst_pow10): Change array size to
46373 FPIOCONST_POW10_ARRAY_SIZE.
46374 * stdlib/gen-fpioconst.c: New file.
46375 * stdlib/gen-tst-strtod-round.c: Likewise.
46376 * stdlib/tst-strtod-round-data: Likewise.
46377 * stdlib/tst-strtod-round.c: Likewise.
46378 * stdlib/Makefile (tests): Add tst-strtod-round.
46379
46380 [BZ #14459]
46381 * stdlib/strtod_l.c: Include <stdint.h>.
46382 (NDEBUG): Do not define.
46383 (round_and_return): Change EXPONENT parameter to type intmax_t.
46384 Rearrange calculations to avoid internal overflow possibilities.
46385 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46386 Rearrange calculations to avoid internal overflow possibilities.
46387 Assert that number fits inside MPNSIZE limbs.
46388 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46389 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46390 calculations and add assertions to avoid internal overflow
46391 possibilities. Add casts to avoid signed/unsigned operations.
46392 * stdlib/tst-strtod-overflow.c: New file.
46393 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46394
46395 2012-08-25 Marek Polacek <polacek@redhat.com>
46396
46397 * time/time.h: Fix some typos in comments.
46398
46399 2012-08-23 Roland McGrath <roland@hack.frob.com>
46400
46401 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46402 * posix/tst-rfc3484-2.c: Likewise.
46403 * posix/tst-rfc3484-3.c: Likewise.
46404
46405 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46406
46407 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46408 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46409
46410 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46411
46412 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46413 #include of fxstatat64.c.
46414
46415 2012-08-22 Roland McGrath <roland@hack.frob.com>
46416
46417 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46418 * shadow/getspent_r.c: Likewise.
46419 * shadow/getspnam.c: Likewise.
46420 * shadow/getspnam_r.c: Likewise.
46421 * gshadow/getsgent.c: Likewise.
46422 * gshadow/getsgent_r.c: Likewise.
46423 * gshadow/getsgnam.c: Likewise.
46424 * gshadow/getsgnam_r.c: Likewise.
46425 * inet/getnetbyad.c: Likewise.
46426 * inet/getnetbyad_r.c: Likewise.
46427 * inet/getnetbynm.c: Likewise.
46428 * inet/getnetbynm_r.c: Likewise.
46429 * inet/getnetent.c: Likewise.
46430 * inet/getnetent_r.c: Likewise.
46431 * inet/getproto.c: Likewise.
46432 * inet/getproto_r.c: Likewise.
46433 * inet/getprtent.c: Likewise.
46434 * inet/getprtent_r.c: Likewise.
46435 * inet/getprtname.c: Likewise.
46436 * inet/getprtname_r.c: Likewise.
46437 * inet/getrpcbyname.c: Likewise.
46438 * inet/getrpcbyname_r.c: Likewise.
46439 * inet/getrpcbynumber.c: Likewise.
46440 * inet/getrpcbynumber_r.c: Likewise.
46441 * inet/getrpcent.c: Likewise.
46442 * inet/getrpcent_r.c: Likewise.
46443 * inet/getaliasent.c: Likewise.
46444 * inet/getaliasent_r.c: Likewise.
46445 * inet/getaliasname.c: Likewise.
46446 * inet/getaliasname_r.c: Likewise.
46447 * nscd/getgrgid_r.c: Likewise.
46448 * nscd/getgrnam_r.c: Likewise.
46449 * nscd/gethstbyad_r.c: Likewise.
46450 * nscd/gethstbynm3_r.c: Likewise.
46451 * nscd/getpwnam_r.c: Likewise.
46452 * nscd/getpwuid_r.c: Likewise.
46453 * nscd/getsrvbynm_r.c: Likewise.
46454 * nscd/getsrvbypt_r.c: Likewise.
46455 * nscd/gai.c: Likewise.
46456
46457 * configure.in (build_nscd): New substituted variable, set
46458 by --disable-build-nscd and defaults to $use_nscd.
46459 * configure: Regenerated.
46460 * config.make.in (build-nscd): New substituted variable.
46461 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46462 Change conditional to require [$(build-nscd) = yes] as well.
46463 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46464
46465 [BZ# 13696]
46466 * configure.in (use_nscd): New substituted variable, set by
46467 --disable-nscd. If enabled, define USE_NSCD.
46468 * configure: Regenerated.
46469 * config.h.in: Add USE_NSCD.
46470 * config.make.in (use-nscd): New substituted variable.
46471 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46472 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46473 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46474 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46475 (CFLAGS-getgrnam_r.c): Likewise.
46476 (CFLAGS-initgroups.c): Likewise.
46477 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46478 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46479 Variables removed.
46480 * inet/getnetgrent_r.c
46481 (nscd_setnetgrent): New function, broken out of ...
46482 (setnetgrent): ... here. Call it.
46483 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46484 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46485 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46486 * nscd/Makefile (routines, aux): Move definitions after include of
46487 Makeconfig. Conditionalize on [$(use-nscd) != no].
46488 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46489 Conditionalize on [USE_NSCD].
46490 (is_nscd, nscd_init_cb): Likewise.
46491 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46492 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46493 * nss/nss_db/db-init.c: Likewise.
46494 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46495 [USE_NSCD].
46496 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46497 (make_request): Use it.
46498 (cache_valid_p): New function.
46499 (__check_pf): Use it.
46500 * NEWS: Add item for --disable-nscd.
46501
46502 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46503
46504 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46505 to support sed >= 4.2.1-20-ga9bf076.
46506 * configure: Regenerated.
46507
46508 2012-08-22 Roland McGrath <roland@hack.frob.com>
46509
46510 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46511 Conditionalize whole body on [IREL].
46512
46513 2012-08-22 Jeff Law <law@redhat.com>
46514
46515 [BZ #14505]
46516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46517 if the family is PF_UNSPEC.
46518
46519 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46520
46521 * Makerules (lib-version): Rename from V.
46522 (install-lib-nosubdir): Change V to lib-version.
46523
46524 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46525
46526 [BZ #14252]
46527 * powerpc32/power6/wcschr.c: New file.
46528 * powerpc32/power6/wcscpy.c: New file.
46529 * powerpc32/power6/wcsrchr.c: New file.
46530 * powerpc64/power6/wcschr.c: New file.
46531 * powerpc64/power6/wcscpy.c: New file.
46532 * powerpc64/power6/wcsrchr.c: New file.
46533
46534 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46535
46536 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46537 (two_way_short_needle): Use it.
46538 * string/strstr.c (AVAILABLE1_USES_J): Define.
46539 * string/strcasestr.c: Likewise.
46540
46541 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46542 array references.
46543 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46544
46545 [BZ #11607]
46546 * NEWS: Add an entry.
46547 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46548 define their defaults.
46549 (two_way_short_needle): Detect end-of-string on-the-fly.
46550 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46551 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46552 * string/bug-strcasestr1.c: New test.
46553 * string/Makefile: Run it.
46554
46555 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46556
46557 [BZ #11607]
46558 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46559 the first character.
46560
46561 2012-08-21 Roland McGrath <roland@hack.frob.com>
46562
46563 * csu/elf-init.c (__libc_csu_irel): Function removed.
46564 * csu/libc-start.c (apply_irel): New function.
46565 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46566
46567 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46568
46569 * sysdeps/unix/sysv/linux/kernel-features.h
46570 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46571 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46572 <kernel-features.h>.
46573 [__NR_fadvise64_64]: Make code unconditional.
46574 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46575 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46576 !__NR_fadvise64_64)]: Likewise.
46577 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46578 !__NR_fadvise64_64))]: Likewise.
46579 [__NR_fadvise64]: Make code unconditional.
46580 [!__NR_fadvise64]: Remove conditional code.
46581 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46582 <kernel-features.h>.
46583 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46584 unconditional.
46585 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46586 conditional code.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46588 not include <kernel-features.h>.
46589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46590 unconditional.
46591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46592 conditional code.
46593 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46594 include <kernel-features.h>.
46595 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46596 unconditional.
46597 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46598 conditional code.
46599
46600 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46601
46602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46603 slight instruction rearrangements per scrollpipe analysis.
46604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46605
46606 2012-08-20 Roland McGrath <roland@hack.frob.com>
46607
46608 * manual/syslog.texi (syslog; vsyslog, closelog):
46609 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46610 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46611
46612 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46613 DSOCAPS to match condition on defining it.
46614
46615 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46616
46617 * sysdeps/unix/sysv/linux/kernel-features.h
46618 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46620 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46621 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46623 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46624 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46628
46629 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46630 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46631
46632 * sysdeps/unix/sysv/linux/kernel-features.h
46633 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46634 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46635 unconditional.
46636 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46637 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46640 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46641 Make code unconditional.
46642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46643 (__mmap64) [!__NR_mmap2]: Likewise.
46644 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46645 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46646 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46647 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46648 [__NR_mmap2]: Make code unconditional.
46649 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46650 (__mmap64) [!__NR_mmap2]: Likewise.
46651
46652 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46653
46654 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46655
46656 2012-08-18 Andreas Jaeger <aj@suse.de>
46657
46658 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46659
46660 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46661
46662 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46663 * include/unistd.h (__have_sock_cloexec): Likewise.
46664 (__have_pipe2): Likewise.
46665 (__have_dup3): Likewise.
46666
46667 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46668
46669 [BZ #9685]
46670 * include/unistd.h (__have_pipe2): Change define into an extern int.
46671 (__have_dup3): Likewise.
46672 * socket/have_sock_cloexec.c: Include fcntl.h.
46673 (__have_pipe2): New variable.
46674 (__have_dup3): Likewise.
46675
46676 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46677
46678 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46679
46680 2012-08-17 Marek Polacek <polacek@redhat.com>
46681
46682 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46683 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46684
46685 2012-08-17 Roland McGrath <roland@hack.frob.com>
46686
46687 * configure.in: Add AC_SUBST for sysheaders.
46688 * configure: Regenerated.
46689 * config.make.in (sysheaders): New substituted variable.
46690
46691 * sysdeps/unix/mkfifo.c: Moved ...
46692 * sysdeps/posix/mkfifo.c: ... here.
46693 * sysdeps/unix/mkfifoat.c: Moved ...
46694 * sysdeps/posix/mkfifoat.c: ... here.
46695
46696 * sysdeps/unix/utime.c: Moved ...
46697 * sysdeps/posix/utime.c: ... here.
46698
46699 * sysdeps/unix/time.c: Moved ...
46700 * sysdeps/posix/time.c: ... here.
46701 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46702 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46703
46704 * sysdeps/unix/nice.c: Moved ...
46705 * sysdeps/posix/nice.c: ... here.
46706
46707 * sysdeps/unix/alarm.c: Moved ...
46708 * sysdeps/posix/alarm.c: ... here.
46709
46710 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46711
46712 2012-08-17 Jeff Law <law@redhat.com>
46713
46714 * intl/Makefile (codeset_mo): New variable.
46715 ($(codeset_mo)): New target.
46716 (tst-codeset.out): Depend on that. Remove explicit rule.
46717 (tst-gettext3.out, tst-gettext5.out): Likewise.
46718 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46719 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46720 * intl/tst-codeset.sh: Remove.
46721 * intl/tst-gettext3.sh: Likewise.
46722 * intl/tst-gettext5.sh: Likewise.
46723
46724 2012-08-17 Roland McGrath <roland@hack.frob.com>
46725
46726 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46727 * sysdeps/unix/syscalls.list: ... here.
46728
46729 * sysdeps/posix/getaddrinfo.c
46730 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46731 (gaiconf_init, gaiconf_reload): Use them.
46732 [!_STATBUF_ST_NSEC]
46733 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46734 Define using time_t rather than struct timespec.
46735
46736 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46737 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46738 Macros removed.
46739 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46740 [!NO_THREADS].
46741 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46742 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46743 Likewise.
46744
46745 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46746 __libc_cleanup_push argument.
46747
46748 * bits/param.h: New file.
46749 * misc/sys/param.h: New file.
46750 * include/sys/param.h: New file.
46751 * misc/Makefile (headers): Add bits/param.h.
46752 * sysdeps/generic/sys/param.h: File removed.
46753 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46754 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46755 * sysdeps/mach/hurd/bits/param.h: New file.
46756 * sysdeps/mach/hurd/sys/param.h: File removed.
46757
46758 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46759 last change.
46760
46761 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46762 [_IO_MTSAFE_IO].
46763 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46764 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46765 New macros.
46766
46767 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46768 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46769 rather than -D_IO_MTSAFE_IO conditionally.
46770 * stdio-common/Makefile (CPPFLAGS): Likewise.
46771 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46772 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46773 Use $(libio-mtsafe).
46774 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46775 of -D_IO_MTSAFE_IO.
46776 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46777 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46778 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46779 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46780 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46781 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46782 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46783 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46784 (CFLAGS-fread_u_chk.c): Likewise.
46785 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46786 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46787 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46788 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46789 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46790 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46791 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46792 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46793 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46794
46795 * libio/Makefile: Test [$(libc-reentrant) = yes]
46796 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46797
46798 * Makeconfig
46799 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46800 * sysdeps/pthread/configure: File removed.
46801 * sysdeps/pthread/Makeconfig: New file.
46802 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46803 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46804
46805 2012-08-16 Gary Benson <gbenson@redhat.com>
46806
46807 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46808 unmapping the first object in a namespace.
46809
46810 2012-08-16 Roland McGrath <roland@hack.frob.com>
46811
46812 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46813 (__internal_setnetgrent): ... this. Add internal_function to
46814 definition. Add libc_hidden_def.
46815 (setnetgrent): Update caller.
46816 (internal_endnetgrent): Renamed to ...
46817 (__internal_endnetgrent): ... this. Add internal_function to
46818 definition. Add libc_hidden_def.
46819 (endnetgrent): Update caller.
46820 (internal_getnetgrent_r): Renamed to ...
46821 (__internal_getnetgrent_r): ... this. Add internal_function to
46822 definition. Add libc_hidden_def.
46823 (__getnetgrent_r): Update caller.
46824 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46825
46826 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46827
46828 * stdlib/longlong.h: Update from GCC.
46829
46830 2012-08-16 Roland McGrath <roland@hack.frob.com>
46831
46832 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46833 on _QL, which is set by umul_ppmm but never used.
46834 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46835 variables, which are set by GMP macros but never used.
46836 * stdio-common/_itowa.c (_itowa): Likewise.
46837 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46838 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46839
46840 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46841
46842 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46843 struct La_sh_regs is not constant.
46844 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46845 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46846 and struct La_sparc64_regs are not constant.
46847
46848 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46849
46850 * sysdeps/unix/sysv/linux/kernel-features.h
46851 (__ASSUME_POSIX_TIMERS): Remove.
46852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46853 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46854 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46855 Make code unconditional.
46856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46857 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46858 Make code unconditional.
46859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46860 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46861 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46863 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46864 Make code unconditional.
46865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46867 (__libc_missing_posix_timers): Remove.
46868
46869 2012-08-15 Roland McGrath <roland@hack.frob.com>
46870
46871 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46872 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46873
46874 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46875
46876 * elf/dl-sym.c: Include <stdlib.h>.
46877
46878 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46879 constants, which avoids warnings in 32-bit builds.
46880
46881 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46882 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46883
46884 * misc/lseek.c: File moved to ...
46885 * io/lseek.c: ... here.
46886
46887 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46888
46889 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46890 shifting LEN more than 31 bits at once.
46891
46892 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46893
46894 [BZ #14195]
46895 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46896 segmentation fault for a case of two empty input strings.
46897 * string/test-strncasecmp.c (check1): Renamed to...
46898 (bz12205): ...this.
46899 (bz14195): Add new testcase for two empty input strings and N > 0.
46900 (test_main): Call new testcase, adapt for renamed function.
46901
46902 2012-08-15 Andreas Jaeger <aj@suse.de>
46903
46904 [BZ #14090]
46905 * crypt/md5test2.c: New test, based on test supplied by Serge
46906 Belyshev <belyshev@depni.sinp.msu.ru>.
46907 * crypt/Makefile (xtests): Add md5test-giant..
46908 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46909
46910 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46911
46912 [BZ #14090]
46913 * crypt/md5.c (md5_process_block): Don't assume the buffer
46914 length is less than 2**32.
46915 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46916 length is less than 2**64.
46917
46918 2012-08-15 Roland McGrath <roland@hack.frob.com>
46919
46920 * string/str-two-way.h: Include <sys/param.h>.
46921 (MAX): Macro removed.
46922
46923 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46924 Move #define and #undef of memmove to just before and after
46925 including <string.h>.
46926
46927 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46928 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46929 and after including <string.h>. Move declarations of
46930 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46931 to before #include "string/memmove.c".
46932
46933 * include/dirent.h: Declare __getdirentries.
46934
46935 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46936 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46937
46938 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46939
46940 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46941 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46942 * sysdeps/i386/configure: Regenerated.
46943 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46944 STABS_CURRENT_FILE, and STABS_FUN.
46945 (END): Remove call to STABS_FUN_END.
46946 (STABS_CURRENT_FILE1): Delete.
46947 (STABS_CURRENT_FILE): Likewise.
46948 (STABS_FUN): Likewise.
46949 (STABS_FUN_END): Likewise.
46950 (STABS_FUN2): Likewise.
46951 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46952 * sysdeps/x86_64/configure: Regenerated.
46953
46954 2012-08-14 Roland McGrath <roland@hack.frob.com>
46955
46956 * elf/dl-open.c: Include <atomic.h>.
46957 * elf/dl-lookup.c: Likewise.
46958
46959 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46960
46961 * sysdeps/unix/sysv/linux/kernel-features.h
46962 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46963 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46964 unconditionally.
46965 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46966 unconditionally.
46967 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46968 condition on __ASSUME_CLONE_THREAD_FLAGS.
46969
46970 2012-08-14 Andreas Jaeger <aj@suse.de>
46971
46972 * sysdeps/i386/fpu/libm-test-ulps: Update.
46973
46974 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46975
46976 * include/atomic.h (atomic_exchange_and_add): Split into ...
46977 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46978 New atomic macros.
46979
46980 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46981
46982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46983
46984 2012-08-13 Jeff Law <law@redhat.com>
46985
46986 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46987 null byte in the output string.
46988
46989 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46990
46991 * sysdeps/unix/sysv/linux/kernel-features.h
46992 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46993 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46994 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46995 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46996 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46997 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46998 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46999
47000 2012-08-09 Jeff Law <law@redhat.com>
47001
47002 [BZ #13939]
47003 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47004 When avoid_arena is set, don't retry in the that arena. Pick the
47005 next one, whatever it might be.
47006 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47007 (arena_lock): Pass in new parameter to arena_get2.
47008 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47009 arena_get2.
47010 (__libc_malloc): Unify retrying after main arena failure with
47011 __libc_memalign version.
47012 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47013
47014 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47015
47016 [BZ #14166]
47017 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47018 to __redirect_strstr.
47019 (__strstr_sse42): Use typeof __redirect_strstr.
47020 (__strstr_ia32): Likewise.
47021 (__libc_strstr): New prototype.
47022 (strstr): Renamed to ...
47023 (__libc_strstr): This.
47024 (strstr): New strong alias of __libc_strstr.
47025 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47026 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47027 __redirect_time.
47028 Include <time.h>.
47029 (__libc_time): New prototype.
47030 (time_ifunc): Replace time with __libc_time.
47031 (time): New strong alias and hidden definition of __libc_time.
47032 (__GI_time): Remove strong alias.
47033 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47034 Include <stddef.h>.
47035 (memmove): Redefined to __redirect_memmove.
47036 (__memmove_sse2): Use typeof __redirect_memmove.
47037 (__memmove_ssse3): Likewise.
47038 (__memmove_ssse3_back): Likewise.
47039 (__libc_memmove): New prototype.
47040 (memmove): Renamed to ...
47041 (__libc_memmove): This.
47042 (memmove): New strong alias of __libc_memmove.
47043
47044 2012-08-08 Mark Salter <msalter@redhat.com>
47045
47046 * elf/elf.h
47047 (R_MN10300_TLS_GD): Define.
47048 (R_MN10300_TLS_LD): Likewise.
47049 (R_MN10300_TLS_LDO): Likewise.
47050 (R_MN10300_TLS_GOTIE): Likewise.
47051 (R_MN10300_TLS_IE): Likewise.
47052 (R_MN10300_TLS_LE): Likewise.
47053 (R_MN10300_TLS_DTPMOD): Likewise.
47054 (R_MN10300_TLS_DTPOFF): Likewise.
47055 (R_MN10300_TLS_TPOFF): Likewise.
47056 (R_MN10300_SYM_DIFF): Likewise.
47057 (R_MN10300_ALIGN): Likewise.
47058 (R_MN10300_NUM): Update.
47059
47060 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47061
47062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47063 Remove.
47064
47065 2012-08-08 Roland McGrath <roland@hack.frob.com>
47066
47067 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47068
47069 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47070 sysdeps/unix -> sysdeps/posix move.
47071 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47072
47073 2012-08-07 Allan McRae <allan@archlinux.org>
47074
47075 [BZ #14303]
47076 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47077 (SUNOS_CPP): Likewise.
47078 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47079 not found.
47080 (open_input): Call CPP using execvp.
47081
47082 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47083
47084 * sysdeps/unix/sysv/linux/kernel-features.h
47085 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47086 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47087 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47088 (__ASSUME_WAITID_SYSCALL): Likewise.
47089 * sysdeps/unix/sysv/linux/dl-execstack.c
47090 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47091 code unconditional.
47092 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47093 conditional code.
47094 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47095 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47096 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47097 code.
47098 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47099 unconditional.
47100 [__ASSUME_WAITID_SYSCALL]: Likewise.
47101 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47102
47103 2012-08-07 Roland McGrath <roland@hack.frob.com>
47104
47105 * sysdeps/unix/closedir.c: Renamed to ...
47106 * sysdeps/posix/closedir.c: ... here.
47107 * sysdeps/unix/dirfd.c: Renamed to ...
47108 * sysdeps/posix/dirfd.c: ... here.
47109 * sysdeps/unix/dirstream.h: Renamed to ...
47110 * sysdeps/posix/dirstream.h: ... here.
47111 * sysdeps/unix/fdopendir.c: Renamed to ...
47112 * sysdeps/posix/fdopendir.c: ... here.
47113 * sysdeps/unix/opendir.c: Renamed to ...
47114 * sysdeps/posix/opendir.c: ... here.
47115 * sysdeps/unix/readdir.c: Renamed to ...
47116 * sysdeps/posix/readdir.c: ... here.
47117 * sysdeps/unix/readdir_r.c: Renamed to ...
47118 * sysdeps/posix/readdir_r.c: ... here.
47119 * sysdeps/unix/rewinddir.c: Renamed to ...
47120 * sysdeps/posix/rewinddir.c: ... here.
47121 * sysdeps/unix/seekdir.c: Renamed to ...
47122 * sysdeps/posix/seekdir.c: ... here.
47123 * sysdeps/unix/telldir.c: Renamed to ...
47124 * sysdeps/posix/telldir.c: ... here.
47125 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47126 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47127 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47128 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47129
47130 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47131 * bits/fcntl.h: ... here.
47132
47133 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47134 not 0.
47135 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47136 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47137 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47138 (struct flock): Move l_start, l_len to the beginning.
47139 Use __pid_t for l_pid.
47140 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47141 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47142 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47143 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47144 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47145 [__USE_LARGEFILE64] (struct flock64): New type.
47146 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47147
47148 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47149 * bits/dirent.h: ... here.
47150
47151 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47152 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47153
47154 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47155
47156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47157 Change from 2.6.0 to 2.6.16.
47158 * sysdeps/unix/sysv/linux/configure: Regenerated.
47159 * sysdeps/unix/sysv/linux/kernel-features.h
47160 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47161 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47162 version.
47163 (__ASSUME_UTIMES): Likewise.
47164 (__ASSUME_CLONE_STOPPED): Remove.
47165 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47166 architectures, not kernel version.
47167 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47168 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47169 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47170 (__ASSUME_WAITID_SYSCALL): Likewise.
47171 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47172 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47173 * README: State 2.6.16 as minimum Linux kernel version. Do not
47174 refer to older versions.
47175
47176 2012-08-06 Roland McGrath <roland@hack.frob.com>
47177
47178 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47179 Define alphasort64 as an alias.
47180 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47181 Define versionsort64 as an alias.
47182 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47183 Define scandir64 as an alias.
47184 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47185 Define scandirat64 as an alias.
47186 * dirent/alphasort64.c (alphasort64):
47187 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47188 * dirent/versionsort64.c: Likewise.
47189 * dirent/scandir64.c: Likewise.
47190 * dirent/scandirat64.c: Likewise.
47191 * sysdeps/wordsize-64/alphasort.c: File removed.
47192 * sysdeps/wordsize-64/alphasort64.c: File removed.
47193 * sysdeps/wordsize-64/scandir.c: File removed.
47194 * sysdeps/wordsize-64/scandir64.c: File removed.
47195 * sysdeps/wordsize-64/scandirat.c: File removed.
47196 * sysdeps/wordsize-64/scandirat64.c: File removed.
47197 * sysdeps/wordsize-64/versionsort.c: File removed.
47198 * sysdeps/wordsize-64/versionsort64.c: File removed.
47199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47207
47208 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47210 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47212 [defined __arch64__ || defined __sparcv9]
47213 (__INO_T_MATCHES_INO64_T): New macro.
47214 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47215 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47216 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47217 * sysdeps/unix/sysv/linux/bits/dirent.h
47218 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47219 (_DIRENT_MATCHES_DIRENT64): New macro.
47220
47221 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47222 Define lockf64 as an alias.
47223 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47224 Define fseeko64 as an alias.
47225 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47226 Define ftello64 as an alias.
47227 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47228 Define _IO_fgetpos64 and fgetpos64 as aliases.
47229 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47230 Define _IO_fsetpos64 and fsetpos64 as aliases.
47231 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47232 Conditionalize body on this.
47233 * libio/fseeko64.c: Likewise.
47234 * libio/ftello64.c: Likewise.
47235 * libio/iofgetpos64.c: Likewise.
47236 * libio/iofsetpos64.c: Likewise.
47237 * sysdeps/wordsize-64/lockf.c: File removed.
47238 * sysdeps/wordsize-64/lockf64.c: File removed.
47239 * sysdeps/wordsize-64/fseeko.c: File removed.
47240 * sysdeps/wordsize-64/fseeko64.c: File removed.
47241 * sysdeps/wordsize-64/ftello.c: File removed.
47242 * sysdeps/wordsize-64/ftello64.c: File removed.
47243 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47244 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47245 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47246 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47257
47258 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47259 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47260 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47262 [defined __arch64__ || defined __sparcv9]
47263 (__OFF_T_MATCHES_OFF64_T): New macro.
47264 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47265 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47267 (__OFF_T_MATCHES_OFF64_T): New macro.
47268
47269 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47270
47271 * stdlib/secure-getenv.c (__secure_getenv): Replace
47272 GLIBC_2_16 with GLIBC_2_17.
47273
47274 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47275
47276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47278
47279 2012-08-03 David S. Miller <davem@davemloft.net>
47280
47281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47282
47283 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47284
47285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47286 Remove.
47287 (__ASSUME_CORRECT_SI_PID): Likewise.
47288 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47289 (__ASSUME_TMPFS_NAME): Likewise.
47290 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47291 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47292 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47293 (HAVE_AUX_SECURE): Make definition unconditional.
47294 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47295 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47296
47297 2012-08-03 Roland McGrath <roland@hack.frob.com>
47298
47299 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47300 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47301 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47302 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47303 __eloop_threshold instead of SYMLOOP_MAX.
47304
47305 * sysdeps/generic/eloop-threshold.h: New file.
47306 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47307 of MAXSYMLINKS.
47308 * elf/chroot_canon.c (chroot_canon): Likewise.
47309
47310 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47311
47312 [BZ #13717]
47313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47314 Change to 2.6.0 everywhere.
47315 * sysdeps/unix/sysv/linux/configure: Regenerated.
47316 * sysdeps/unix/sysv/linux/kernel-features.h
47317 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47318 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47319 kernel versions.
47320 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47321 (__ASSUME_FUTEX_REQUEUE): Remove.
47322 (__ASSUME_STATFS64): Define unconditionally.
47323 (__ASSUME_AT_SECURE): Likewise.
47324 (__ASSUME_CORRECT_SI_PID): Likewise.
47325 (__ASSUME_TGKILL): Define without depending on kernel version for
47326 i386.
47327 (__ASSUME_UTIMES): Likewise.
47328 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47329 kernel version.
47330 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47331 (__ASSUME_TMPFS_NAME): Likewise.
47332 * README: Update reference to Linux kernel versions.
47333
47334 2012-08-02 Marek Polacek <polacek@redhat.com>
47335
47336 [BZ# 14150]
47337 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47338 libc_cv_asm_type_prefix with %.
47339 * configure: Regenerated.
47340 * include/libc-symbols.h: Remove comment about
47341 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47342 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47343 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47344 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47345 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47346 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47347 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47349 * elf/tst-unique2mod1.c: Likewise.
47350 * elf/tst-unique1mod2.c: Likewise.
47351 * elf/tst-unique1mod1.c: Likewise.
47352 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47353 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47354 Replace ASM_TYPE_DIRECTIVE with .type.
47355 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47356 * sysdeps/i386/sysdep.h: Likewise.
47357 * sysdeps/x86_64/sysdep.h: Likewise.
47358 * sysdeps/sh/sysdep.h: Likewise.
47359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47360 Do not define ASM_TYPE_DIRECTIVE.
47361 * sysdeps/powerpc/sysdep.h: Likewise.
47362 * sysdeps/powerpc/powerpc32/sysdep.h:
47363 Replace ASM_TYPE_DIRECTIVE with .type.
47364 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47365 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47366 * sysdeps/i386/fpu/e_powf.S: Likewise.
47367 * sysdeps/i386/fpu/e_expl.S: Likewise.
47368 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47369 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47370 * sysdeps/i386/fpu/e_pow.S: Likewise.
47371 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47373 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47374 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47375 * sysdeps/i386/fpu/e_log2.S: Likewise.
47376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47377 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47378 * sysdeps/i386/fpu/e_powl.S: Likewise.
47379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47380 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47381 * sysdeps/i386/fpu/e_logl.S: Likewise.
47382 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47383 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47384 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47387 * sysdeps/i386/fpu/e_log.S: Likewise.
47388 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47389 * sysdeps/i386/fpu/e_logf.S: Likewise.
47390 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47391 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47393 * sysdeps/i386/fpu/e_log10.S: Likewise.
47394 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47395 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47396 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47397 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47398 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47401 * sysdeps/i386/i686/strtok.S: Likewise.
47402 * sysdeps/i386/i386-mcount.S: Likewise.
47403 * sysdeps/i386/strtok.S: Likewise.
47404 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47406 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47407 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47408 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47409 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47410 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47411 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47412 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47413 * sysdeps/x86_64/_mcount.S: Likewise.
47414 * sysdeps/x86_64/strtok.S: Likewise.
47415 * sysdeps/sh/_mcount.S: Likewise.
47416
47417 2012-08-01 Roland McGrath <roland@hack.frob.com>
47418
47419 * libio/iofopen.c: Include <fcntl.h>.
47420 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47421 (_IO_fopen64, fopen64): Define as aliases.
47422 * libio/iofopen64.c: Include <fcntl.h>.
47423 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47424 Conditionalize body on this.
47425 * sysdeps/wordsize-64/iofopen.c: File removed.
47426 * sysdeps/wordsize-64/iofopen64.c: File removed.
47427
47428 2012-08-01 Marek Polacek <polacek@redhat.com>
47429
47430 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47431 Use dlfcn directly instead of a variable.
47432 (binfmt-subdir): Do not define.
47433 (dlfcn): Likewise.
47434
47435 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47436
47437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47438 Remove all definitions.
47439 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47440 <kernel-features.h>.
47441 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47442 (miss_F_GETOWN_EX): Remove all definitions.
47443 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47444 macro definition.
47445 [!__ASSUME_FCNTL64]: Remove conditional code.
47446 [__ASSUME_FCNTL64]: Make code unconditional.
47447 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47448 <kernel-features.h>.
47449 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47450 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47451 (lockf64) [__NR_fcntl64]: Make code unconditional.
47452 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47453
47454 * sysdeps/unix/sysv/linux/kernel-features.h
47455 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47456 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47457 Make code unconditional.
47458 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47459 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47461 [__NR_vfork]: Make code unconditional.
47462 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47463 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47465 [__NR_vfork]: Make code unconditional.
47466 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47467 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47468
47469 2012-08-01 Roland McGrath <roland@hack.frob.com>
47470
47471 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47472 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47473
47474 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47475 Define mkstemp64 as an alias.
47476 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47477 Define mkstemps64 as an alias.
47478 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47479 Define mkostemp64 as an alias.
47480 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47481 Define mkostemps64 as an alias.
47482 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47483 Conditionalize body on this.
47484 * misc/mkostemp64.c: Likewise.
47485 * misc/mkostemps64.c: Likewise.
47486 * misc/mkstemps64.c: Likewise.
47487 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47488 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47489 * sysdeps/wordsize-64/mkostemp.c: File removed.
47490 * sysdeps/wordsize-64/mkstemp.c: File removed.
47491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47495
47496 [BZ #14138]
47497 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47499 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47500 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47501
47502 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47503 compat_symbol macros from <shlib-compat.h> rather than the underlying
47504 default_symbol_version and symbol_version macros, so that DEFAULT
47505 lines in shlib-versions are respected.
47506 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47507
47508 2012-08-01 Florian Weimer <fweimer@redhat.com>
47509
47510 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47511 Declare with warn_unused_result.
47512 (setgid, setregid, setegid, setresgid): Likewise.
47513 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47514 Likewise.
47515 * WUR-REPORT: Remove set*id functions.
47516
47517 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47518
47519 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47520
47521 2012-07-31 Roland McGrath <roland@hack.frob.com>
47522
47523 [BZ #10191]
47524 * include/sys/socket.h (__libc_accept, __libc_accept4):
47525 Add attribute_hidden.
47526 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47527
47528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47529 use of PTR_MANGLE.
47530 * inet/getnetgrent_r.c (setup): Likewise.
47531
47532 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47533
47534 2012-07-31 David S. Miller <davem@davemloft.net>
47535
47536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47537
47538 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47539
47540 [BZ #13629]
47541 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47542 value between 1.0 and 2.0 and smaller part has absolute value less
47543 than 1.0.
47544 * math/s_clog10.c (__clog10): Likewise.
47545 * math/s_clog10f.c (__clog10f): Likewise.
47546 * math/s_clog10l.c (__clog10l): Likewise.
47547 * math/s_clogf.c (__clogf): Likewise.
47548 * math/s_clogl.c (__clogl): Likewise.
47549 * math/libm-test.inc (clog_test): Add more tests.
47550 (clog10_test): Likewise.
47551 * sysdeps/i386/fpu/libm-test-ulps: Update.
47552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47553
47554 2012-07-31 Florian Weimer <fweimer@redhat.com>
47555
47556 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47557 Exit with zero in case no suitable GID is found, and write a
47558 message to standard error.
47559
47560 2012-07-30 Roland McGrath <roland@hack.frob.com>
47561
47562 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47563 rather than to 1.
47564 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47565 (MAXPATHLEN): Removed.
47566 (NOGROUP, NODEV): New macros.
47567 (setbit, clrbit, isset, isclr): New macros.
47568 (howmany, roundup, powerof2): New macros.
47569 (DEV_BSIZE): New macro.
47570
47571 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47572 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47573
47574 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47575 definition on [!__NO_LONG_DOUBLE_MATH].
47576
47577 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47578 PTR_MANGLE and PTR_DEMANGLE.
47579
47580 * socket/accept4.c (accept4): Rename to __libc_accept4.
47581 Define accept4 as a weak alias.
47582
47583 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47584 on [_DIRENT_HAVE_D_TYPE].
47585 * io/ftw.c (ftw_dir): Likewise.
47586
47587 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47588
47589 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47590
47591 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47592 Use the BSD numbers rather than the arbitrary ones we had.
47593 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47594 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47595 (SIGXCPU, SIGXFSZ): New macros.
47596 (_NSIG): Now 32.
47597
47598 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47599 initializer on [_LIBC_REENTRANT].
47600
47601 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47602 definitions inside [_POSIX_MAPPED_FILES].
47603
47604 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47605
47606 * dirent/opendir.c: Include <fcntl.h>.
47607
47608 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47609 (__libc_getspecific): Likewise.
47610 (__libc_key_create): Likewise.
47611
47612 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47613 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47614 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47615 (tmpfile64): Define as alias.
47616 * sysdeps/wordsize-64/tmpfile.c: File removed.
47617 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47620
47621 * stdio-common/vfscanf.c: Include <stdbool.h>.
47622 * nss/makedb.c: Likewise.
47623 * stdio-common/_i18n_number.h: Likewise.
47624 * argp/argp-help.c: Likewise.
47625 * posix/wordexp.c: Likewise.
47626 * sysdeps/posix/spawni.c: Likewise.
47627 * nss/nss_files/files-initgroups.c: Likewise.
47628 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47629 * nss/nss_files/files-initgroups.c: Likewise.
47630 * nss/nss_db/db-netgrp.c: Likewise.
47631 * nss/nss_db/db-initgroups.c: Likewise.
47632 * io/fchmodat.c: Include <sys/stat.h>.
47633
47634 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47635 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47636
47637 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47638 [HAVE_MMAP].
47639
47640 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47641 Add multiple inclusion protection.
47642
47643 2012-07-27 David S. Miller <davem@davemloft.net>
47644
47645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47646
47647 2012-07-27 Gary Benson <gbenson@redhat.com>
47648
47649 [BZ #14298]
47650 * elf/rtld.c: Include <stap-probe.h>.
47651 (dl_main): Added static probes "init_start" and "init_complete".
47652 * elf/dl-load.c: Include <stap-probe.h>.
47653 (lose): Take new parameter "nsid".
47654 Added static probe "map_failed".
47655 (_dl_map_object_from_fd): Pass namespace id to lose.
47656 Added static probe "map_start".
47657 (open_verify): Pass namespace id to lose.
47658 * elf/dl-open.c: Include <stap-probe.h>.
47659 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47660 and "reloc_complete".
47661 * elf/dl-close.c: Include <stap-probe.h>.
47662 (_dl_close_worker): Added static probes "unmap_start" and
47663 "unmap_complete".
47664 * elf/rtld-debugger-interface.txt: New file documenting the above.
47665
47666 2012-07-26 Roland McGrath <roland@hack.frob.com>
47667
47668 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47669 rather than a string variable.
47670 * sunrpc/rpc_main.c (h_output): Likewise.
47671 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47672
47673 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47674
47675 * inet/check_native.c: New file.
47676
47677 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47678
47679 [BZ #13629]
47680 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47681 if larger part has absolute value 1.0.
47682 * math/s_clog10.c (__clog10): Likewise.
47683 * math/s_clog10f.c (__clog10f): Likewise.
47684 * math/s_clog10l.c (__clog10l): Likewise.
47685 * math/s_clogf.c (__clogf): Likewise.
47686 * math/s_clogl.c (__clogl): Likewise.
47687 * math/libm-test.inc (clog_test): Add more tests.
47688 (clog10_test): Likewise.
47689 * sysdeps/i386/fpu/libm-test-ulps: Update.
47690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47691
47692 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47693 (pltexit): Likewise.
47694 (La_regs): Likewise.
47695 (La_retval): Likewise.
47696 (int_retval): Likewise.
47697 Update #error for removed macros to refer only to definitions in
47698 tst-audit.h.
47699 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47700 macro.
47701 (pltexit): Likewise.
47702 (La_regs): Likewise.
47703 (La_retval): Likewise.
47704 (int_retval): Likewise.
47705 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47706 macro.
47707 (pltexit): Likewise.
47708 (La_regs): Likewise.
47709 (La_retval): Likewise.
47710 (int_retval): Likewise.
47711 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47712 macro.
47713 (pltexit): Likewise.
47714 (La_regs): Likewise.
47715 (La_retval): Likewise.
47716 (int_retval): Likewise.
47717 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47718 macro.
47719 (pltexit): Likewise.
47720 (La_regs): Likewise.
47721 (La_retval): Likewise.
47722 (int_retval): Likewise.
47723 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47724 macro.
47725 (pltexit): Likewise.
47726 (La_regs): Likewise.
47727 (La_retval): Likewise.
47728 (int_retval): Likewise.
47729 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47730 macro.
47731 (pltexit): Likewise.
47732 (La_regs): Likewise.
47733 (La_retval): Likewise.
47734 (int_retval): Likewise.
47735 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47736 macro definitions in tst-audit.h.
47737 * sysdeps/i386/tst-audit.h: New file.
47738 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47739 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47740 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47741 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47742 * sysdeps/sh/tst-audit.h: Likewise.
47743 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47744 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47745 * sysdeps/x86_64/tst-audit.h: Likewise.
47746
47747 2012-07-26 Andreas Jaeger <aj@suse.de>
47748
47749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47750 ptrace.
47751
47752 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47753 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47754 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47755 PTRACE_O_MASK.
47756 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47757 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47758 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47759
47760 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47761 value.
47762
47763 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47764 _sigsys.
47765 (si_call_addr, si_syscall, si_arch): Define new macro.
47766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47767 _sigsys.
47768 (si_call_addr, si_syscall, si_arch): Define new marcro.
47769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47770 _sigsys.
47771 (si_call_addr, si_syscall, si_arch): Define new macro.
47772 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47773 _sigsys.
47774 (si_call_addr, si_syscall, si_arch): Define new macro.
47775
47776 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47777
47778 [BZ #13717]
47779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47780 Change to 2.4.21 where previously 2.4.1.
47781 * sysdeps/unix/sysv/linux/configure: Regenerated.
47782 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47783 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47784 Linux kernel version.
47785 (__ASSUME_STD_AUXV): Remove.
47786 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47787 kernel version.
47788 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47789 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47790 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47791 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47792 (__ASSUME_NETLINK_SUPPORT): Likewise.
47793 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47794 (__no_netlink_support): Remove conditional definition.
47795 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47796 Remove.
47797 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47798 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47799 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47800 (if_nameindex_ioctl): Remove.
47801 (if_nameindex_netlink): Do not handle __no_netlink_support.
47802 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47803 code.
47804 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47805 Remove conditional code.
47806 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47807 code.
47808 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47809 unconditional.
47810 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47811 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47812 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47813 Remove.
47814 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47815 [!__ASSUME_STD_AUXV]: Remove conditional code.
47816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47817 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47818 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47820 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47821 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47822 code.
47823 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47825 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47826 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47827 conditional code.
47828 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47831 code.
47832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47833 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47834 conditional code.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47836 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47837 code unconditional.
47838 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47839 conditional code.
47840 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47841 unconditional.
47842 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47843 conditional code.
47844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47845 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47846 unconditional.
47847 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47848 conditional code.
47849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47850 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47851 code unconditional.
47852 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47853 conditional code.
47854 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47855 unconditional.
47856 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47857 conditional code.
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47859 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47860 code unconditional.
47861 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47862 conditional code.
47863 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47864 unconditional.
47865 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47866 conditional code.
47867
47868 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47869
47870 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47871 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47872 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47873 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47874 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47875 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47877 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47878 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47879 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47880 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47881 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47882 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47883 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47884 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47886 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47888 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47890 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47891 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47892 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47893
47894 2012-07-25 Florian Weimer <fweimer@redhat.com>
47895
47896 * Versions.def: Add GLIBC_2.17.
47897 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47898 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47899 Introduce __libc_secure_getenv.
47900 * stdlib/Versions (2.17): Add secure_getenv
47901 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47902 * stdlib/secure-getenv.c: Rename __secure_getenv to
47903 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47904 symbol __secure_getenv for GLIBC_2.0.
47905 * stdlib/tst-secure-getenv.c: New.
47906 * stdlib/Makefile (tests): Add testcase.
47907 * manual/startup.texi (Environment Access): Document
47908 secure_getenv.
47909 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47910 __libc_secure_getenv.
47911 * inet/ruserpass.c (ruserpass): Likewise.
47912 * malloc/mtrace.c (mtrace): Likewise.
47913 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47914 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47915 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47916 * sysdeps/posix/tempname.c: Likewise. Evaluate
47917 HAVE_SECURE_GETENV.
47918 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47919 __secure_getenv to __libc_secure_getenv.
47920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47922 Likewise.
47923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47924 Likewise.
47925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47932
47933 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47934
47935 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47936 (struct La_i86_retval): Likewise.
47937 (struct La_x86_64_regs): Likewise.
47938 (struct La_x86_64_retval): Likewise.
47939 (struct La_x32_regs): Likewise.
47940 (struct La_x32_retval): Likewise.
47941 (struct La_ppc32_regs): Likewise.
47942 (struct La_ppc32_retval): Likewise.
47943 (struct La_ppc64_regs): Likewise.
47944 (struct La_ppc64_retval): Likewise.
47945 (struct La_sh_regs): Likewise.
47946 (struct La_sh_retval): Likewise.
47947 (struct La_s390_32_regs): Likewise.
47948 (struct La_s390_32_retval): Likewise.
47949 (struct La_s390_64_regs): Likewise.
47950 (struct La_s390_64_retval): Likewise.
47951 (struct La_sparc32_regs): Likewise.
47952 (struct La_sparc32_retval): Likewise.
47953 (struct La_sparc64_regs): Likewise.
47954 (struct La_sparc64_retval): Likewise.
47955 (struct audit_ifaces): Remove architecture-specific pltenter and
47956 pltexit members.
47957 * sysdeps/i386/ldsodefs.h: New file.
47958 * sysdeps/powerpc/ldsodefs.h: Likewise.
47959 * sysdeps/s390/ldsodefs.h: Likewise.
47960 * sysdeps/sh/ldsodefs.h: Likewise.
47961 * sysdeps/sparc/ldsodefs.h: Likewise.
47962 * sysdeps/x86_64/ldsodefs.h: Likewise.
47963
47964 2012-07-25 Marek Polacek <polacek@redhat.com>
47965
47966 [BZ #6808]
47967 * math/libm-test.inc (yn_test): Add another test.
47968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47969 to ERANGE when the result is +-Inf.
47970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47971 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47972 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47974
47975 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47976
47977 * conform/data/time.h-data (NULL): Use macro-constant. Require
47978 equal to 0.
47979 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47980 clock_t.
47981 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47982
47983 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47984
47985 * configure.in <sysdeps resolving>: Correct printing
47986 Implies_before.
47987 * configure: Regenerate.
47988
47989 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47990
47991 * math/w_ilogb.c: Include <limits.h>.
47992 * math/w_ilogbl.c: Likewise.
47993
47994 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47995
47996 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47997 va_copy. Document allowing for unavailable va_copy only as
47998 pre-C99 compatibility.
47999 * manual/string.texi (Copying and Concatenation): Use va_copy
48000 instead of __va_copy in concat example.
48001
48002 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48003
48004 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48005 (__sendto): Use create_address_port. Initialize APORT and deallocate
48006 it if not null.
48007
48008 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48009 with O_NOLINK passed to __file_name_lookup.
48010
48011 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48012 with O_NOLINK passed to __file_name_lookup.
48013
48014 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48015 negative N or less than NGIDS.
48016
48017 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48018 type to string_t. Set ERANGE as errno and return it if NAME is not big
48019 enough. Use memcpy instead of strncpy.
48020
48021 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48022
48023 * elf/Makefile (check-data): Remove.
48024 (localplt.data): New vpath directive.
48025 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48026 instead of $(check-data).
48027 * scripts/data/localplt-generic.data: Move to ...
48028 * sysdeps/generic/localplt.data: ... here.
48029 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48030 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48031 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48033 ... here.
48034 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48036 ... here.
48037 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48039 ... here.
48040 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48042 ... here.
48043 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48045 ... here.
48046 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48048 ... here.
48049
48050 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48051
48052 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48053 PPC32 and PPC64 files.
48054 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48055 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48056
48057 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48058
48059 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48060 __makecontext_ret to ...
48061 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48062 ... here and call exit if uc_link is NULL. New file.
48063 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48064 __makecontext_ret.S.
48065 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48066 __makecontext_ret to ...
48067 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48068 ... here and call exit if uc_link is NULL. New file.
48069 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48070 __makecontext_ret.S.
48071
48072 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48073
48074 * elf/elf.h (R_390_IRELATIVE): New definition.
48075 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48076 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48077 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48078 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48079 (elf_machine_lazy_rel): Likewise.
48080 * sysdeps/s390/dl-irel.h: New file.
48081 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48082 * sysdeps/s390/s390-64/memset.S: New asm code.
48083 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48084 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48086 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48087 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48088 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48090 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48091 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48092 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48093 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48094 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48095 * sysdeps/s390/s390-32/memset.S: New asm code.
48096 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48097
48098 2012-07-17 Marek Polacek <polacek@redhat.com>
48099
48100 [BZ #14349]
48101 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48102 * sysdeps/s390/s390-64/configure.in: Likewise.
48103 * sysdeps/sparc/configure.in: Likewise.
48104 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48105 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48106 * sysdeps/i386/configure.in: Likewise.
48107 * sysdeps/x86_64/configure.in: Likewise.
48108 * sysdeps/sh/configure.in: Likewise.
48109 * sysdeps/s390/s390-32/configure: Regenerated.
48110 * sysdeps/s390/s390-64/configure: Likewise.
48111 * sysdeps/x86_64/configure: Likewise.
48112 * sysdeps/sh/configure: Likewise.
48113 * sysdeps/powerpc/powerpc64/configure: Likewise.
48114 * sysdeps/powerpc/powerpc32/configure: Likewise.
48115 * sysdeps/sparc/configure: Likwise.
48116 * sysdeps/i386/configure: Likewise.
48117
48118 * elf/dl-open.c: Comment fixes.
48119
48120 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48121
48122 * Makefile [CXX] (check-data): Remove.
48123 [CXX] (c++-types.data): New vpath directive.
48124 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48125 vpath. Do not allow for C++ type data being missing.
48126 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48127 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48128 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48129 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48130 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48131 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48132 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48134 ... here.
48135 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48137 ... here.
48138 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48140 ... here.
48141 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48143 ... here.
48144 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48146 ... here.
48147 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48149 ... here.
48150 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48152 ... here.
48153 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48155
48156 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48157 definitions to architecture-specific files.
48158 (TLS_IE): Likewise.
48159 (TLS_LD): Likewise.
48160 (TLS_GD): Likewise.
48161 * sysdeps/i386/tls-macros.h: New file.
48162 * sysdeps/powerpc/tls-macros.h: Likewise.
48163 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48164 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48165 * sysdeps/sh/tls-macros.h: Likewise.
48166 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48167 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48168 * sysdeps/x86_64/tls-macros.h: Likewise.
48169
48170 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48171
48172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48173 zero value for regular exit case.
48174
48175 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48176 (__start_context): Preserve zero value for regular exit case.
48177
48178 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48179 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48180
48181 * manual/setjmp.texi (setcontext): Clarify normal process
48182 termination when uc_link is the null pointer.
48183 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48184 exit call.
48185
48186 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48187
48188 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48189 preprocessor. Test for each exception mask separately.
48190
48191 2012-07-16 Andreas Jaeger <aj@suse.de>
48192
48193 * po/ru.po: Update from translation team.
48194
48195 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48196
48197 * conform/data/string.h-data (NULL): Use macro-constant. Require
48198 equal to 0.
48199 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48200 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48201 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48202 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48204
48205 2012-07-13 Andreas Jaeger <aj@suse.de>
48206
48207 * po/fr.po: Update from translation team.
48208
48209 2012-07-12 Marek Polacek <polacek@redhat.com>
48210
48211 [BZ #14173]
48212 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48214 loop condition.
48215
48216 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48217
48218 [BZ #13717]
48219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48220 Change to 2.4.1 where previously 2.4.0.
48221 * sysdeps/unix/sysv/linux/configure: Regenerated.
48222 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48223 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48224 version.
48225 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48226 (__ASSUME_AT_CLKTCK): Remove.
48227 (__ASSUME_AT_PAGESIZE): Likewise.
48228 (__ASSUME_AT_XID): Likewise.
48229 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48230 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48231 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48232 unconditionally.
48233 (HAVE_AUX_PAGESIZE): Likewise.
48234 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48235 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48236 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48237
48238 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48239
48240 [BZ #14307]
48241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48242 the temporary buffer used to invoke __gethostbyname2_r,
48243 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48244 host_data / struct gaih_addrtuple.
48245 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48246 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48247 header file nss/nsswitch.h.
48248 * nss/nsswitch.h (global scope): Add definition of implementation
48249 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48250 resolv/nss_dns/dns-host.c).
48251
48252 2012-07-11 Andreas Jaeger <aj@suse.de>
48253
48254 * po/fr.po: Update from translation team.
48255
48256 * po/sv.po: Update from translation team
48257 * po/fr.po: Another update from translation team.
48258
48259 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48260
48261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48262 for subnormals or multiply small sinh result by itself.
48263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48265
48266 2012-07-11 David S. Miller <davem@davemloft.net>
48267
48268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48269
48270 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48271
48272 [BZ #14347]
48273 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48274 (INTERNAL_MARK): Shift it here.
48275
48276 2012-07-10 Marek Polacek <polacek@redhat.com>
48277
48278 [BZ #14151]
48279 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48280 libc_cv_asm_global_directive with .globl.
48281 * configure: Regenerated.
48282 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48283 with .globl.
48284 * sysdeps/i386/configure: Regenerated.
48285 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48286 with .globl.
48287 * sysdeps/x86_64/configure: Regenerated.
48288 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48289 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48290 * elf/tst-unique2mod2.c: Likewise.
48291 * elf/tst-unique2mod1.c: Likewise.
48292 * elf/tst-unique1mod2.c: Likewise.
48293 * elf/tst-unique1mod1.c: Likewise.
48294 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48295 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48297 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48298 * sysdeps/mach/sysdep.h: Likewise.
48299 * sysdeps/i386/sysdep.h: Likewise.
48300 * sysdeps/i386/i386-mcount.S: Likewise.
48301 * sysdeps/x86_64/_mcount.S: Likewise.
48302 * sysdeps/x86_64/sysdep.h: Likewise.
48303 * sysdeps/sh/_mcount.S: Likewise.
48304 * sysdeps/sh/sysdep.h: Likewise.
48305 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48306 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48307 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48308 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48309 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48310 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48311 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48312 * locale/localeinfo.h: Likewise.
48313 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48314 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48315
48316 2012-07-09 Roland McGrath <roland@hack.frob.com>
48317
48318 [BZ #14336]
48319 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48320 system".
48321 * manual/message.texi (The Uniforum approach): Likewise.
48322 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48323 (glibc iconv Implementation): Likewise.
48324
48325 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48326
48327 [BZ #14337]
48328 * math/s_clog.c (__clog): Avoid scaling a value down where that
48329 could result in underflow.
48330 * math/s_clog10.c (__clog10): Likewise.
48331 * math/s_clog10f.c (__clog10f): Likewise.
48332 * math/s_clog10l.c (__clog10l): Likewise.
48333 * math/s_clogf.c (__clogf): Likewise.
48334 * math/s_clogl.c (__clogl): Likewise.
48335 * math/libm-test.inc (clog_test): Add more tests.
48336 (clog10_test): Likewise.
48337 * sysdeps/i386/fpu/libm-test-ulps: Update.
48338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48339
48340 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48341
48342 [BZ #14283]
48343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48344 by 7 not 8 to examine high bit of fractional part.
48345
48346 [BZ #14042]
48347 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48348 for call to __mcount_internal.
48349 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48350 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48351 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48352
48353 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48354
48355 [BZ #14154]
48356 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48357 approximation for values within 0x1p-13f of an odd multiple of
48358 pi/4.
48359 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48360 exception. Add more tests.
48361 * sysdeps/i386/fpu/libm-test-ulps: Update.
48362
48363 [BZ #6778]
48364 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48365 inputs and return -1 for them. Do not check for +Inf in case not
48366 reachable for +Inf.
48367 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48368 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48370 and return -1 for them. Do not check for +Inf in case not
48371 reachable for +Inf.
48372 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48373 define.
48374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48375 and return -1 for them. Do not check for +Inf in case not
48376 reachable for +Inf.
48377 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48378 spurious underflow.
48379 * sysdeps/i386/fpu/libm-test-ulps: Update.
48380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48381
48382 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48383
48384 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48385
48386 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48387
48388 [BZ #14157]
48389 [BZ #14331]
48390 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48391 could result in spurious underflow. Scale down values above
48392 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48393 * math/s_csqrtf.c (__csqrtf): Likewise.
48394 * math/s_csqrtl.c (__csqrtl): Likewise.
48395 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48396 spurious underflow.
48397 * sysdeps/i386/fpu/libm-test-ulps: Update.
48398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48399
48400 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48401
48402 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48403 xopen-msg.sed.
48404 * catgets/xopen-msg.awk: New file.
48405 * catgets/xopen-msg.sed: Removed.
48406
48407 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48408 po2text.sed.
48409 * intl/po2test.awk: New file.
48410 * intl/po2test.sed: Removed.
48411
48412 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48413
48414 [BZ #14328]
48415 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48416 or multiply small sinh result by itself.
48417 * math/s_ctanf.c (__ctanf): Likewise.
48418 * math/s_ctanh.c (__ctanh): Likewise.
48419 * math/s_ctanhf.c (__ctanhf): Likewise.
48420 * math/s_ctanhl.c (__ctanhl): Likewise.
48421 * math/s_ctanl.c (__ctanl): Likewise.
48422 * math/libm-test.inc (ctan_test_tonearest): New function.
48423 (ctan_test_towardzero): Likewise.
48424 (ctan_test_downward): Likewise.
48425 (ctan_test_upward): Likewise.
48426 (ctanh_test_tonearest): Likewise.
48427 (ctanh_test_towardzero): Likewise.
48428 (ctanh_test_downward): Likewise.
48429 (ctanh_test_upward): Likewise.
48430 (main): Call these new functions.
48431 * sysdeps/i386/fpu/libm-test-ulps: Update.
48432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48433
48434 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48435
48436 * .gitignore: Delete /ports entry.
48437
48438 2012-07-03 Andreas Jaeger <aj@suse.de>
48439
48440 * po/bg.po: Update from translation team.
48441 * po/cs.po: Likewise.
48442 * po/de.po: Likewise.
48443 * po/hr.po: Likewise.
48444 * po/nl.pl: Likewise.
48445 * po/pl.po: Likewise.
48446 * po/vi.po: Likewise.
48447
48448 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48449
48450 * Makeconfig [!+link] (+link-before-libc): New variable.
48451 [!+link] (+link-after-libc): Likewise.
48452 [!+link] (+link-tests): Likewise.
48453 [!+link] (+link): Define in terms of $(+link-before-libc) and
48454 $(+link-after-libc).
48455 [!+link-static] (+link-static-before-libc): New variable.
48456 [!+link-static] (+link-static-after-libc): Likewise.
48457 [!+link-static] (+link-static-tests): Likewise.
48458 [!+link-static] (+link-static): Define in terms of
48459 $(+link-static-before-libc) and $(+link-static-after-libc).
48460 [build-shared] (link-libc-before-gnulib): New variable.
48461 [build-shared] (link-libc-tests): Likewise.
48462 [build-shared] (link-libc): Define in terms of
48463 $(link-libc-before-gnulib).
48464 [!build-shared] (link-libc-tests): New variable.
48465 (link-libc-static-tests): New variable.
48466 [!gnulib] (gnulib-arch): New variable.
48467 [!gnulib] (gnulib-tests): Likewise.
48468 [!gnulib] (static-gnulib-arch): Likewise.
48469 [!gnulib] (static-gnulib-tests): Likewise.
48470 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48471 Define with "=" instead of ":=".
48472 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48473 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48474 * Rules (binaries-all-notests): New variable.
48475 (binaries-all-tests): Likewise.
48476 (binaries-static-notests): Likewise.
48477 (binaries-static-tests): Likewise.
48478 (binaries-all): Define using $(binaries-all-notests) and
48479 $(binaries-all-tests).
48480 (binaries-static): Define using $(binaries-static-notests) and
48481 $(binaries-static-tests).
48482 (binaries-shared-tests): New variable.
48483 (binaries-shared-notests): Likewise.
48484 (binaries-shared): Remove variable.
48485 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48486 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48487 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48488 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48489 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48490 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48491 * elf/Makefile (sln-modules): New variable.
48492 (extra-objs): Add $(sln-modules:=.o).
48493 (ldconfig-modules): Add static-stubs.
48494 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48495 * elf/static-stubs.c: New file.
48496
48497 [BZ #14283]
48498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48499 by 7 not 8 to examine high bit of fractional part. Use volatile
48500 variables when splitting into final array of floats if
48501 __FLT_EVAL_METHOD__ != 0.
48502 * math/libm-test.inc (cos_test): Add another test.
48503 (sin_test): Likewise.
48504 * sysdeps/i386/fpu/libm-test-ulps: Update.
48505
48506 [BZ #14273]
48507 * math/libm-test.inc (cosh_test): Add more tests.
48508
48509 * version.h (RELEASE): Set to "development".
48510 (VERSION): Set to "2.16.90".
48511
48512 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48513
48514 * NEWS: Update copyright. Remove last-updated date.
48515 Mention math library bug fixes and timezone data changes.
48516 * README: Mention GNU/Hurd, x32, and HPPA support status.
48517
48518 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48519
48520 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48521
48522 2012-06-27 Andreas Jaeger <aj@suse.de>
48523
48524 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48525
48526 2012-06-25 Andreas Jaeger <aj@suse.de>
48527
48528 * sysdeps/s390/fpu/libm-test-ulps: Update.
48529
48530 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48531 Thomas Schwinge <thomas@codesourcery.com>
48532
48533 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48534 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48535 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48536 fanotify_mark.
48537
48538 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48539
48540 * sysdeps/mach/start.c: Remove file.
48541 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48542 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48543 * sysdeps/sh/init-first.c: Likewise.
48544
48545 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48546 registers for frame unwinding purposes, add CFI directives.
48547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48549 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48550 Likewise.
48551
48552 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48553 __fortify_fail returning.
48554 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48555
48556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48557 sysdeps/sh/____longjmp_chk.S.
48558 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48559 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48560 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48561 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48562
48563 * sysdeps/sh/abort-instr.h: New file.
48564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48565 process in case exit returns.
48566
48567 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48568 initialize the GOT register before use.
48569
48570 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48571 calculation of ARGC > 4.
48572
48573 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48574 meaningful names to some local labels.
48575
48576 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48577 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48578
48579 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48580 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48581 (__arch_compare_and_exchange_val_16_acq): Likewise.
48582 (__arch_compare_and_exchange_val_32_acq): Likewise.
48583 (atomic_exchange_and_add): Fix gUSA sequence.
48584 (atomic_add): Likewise.
48585 (atomic_add_negative): Likewise.
48586 (atomic_add_zero): Likewise.
48587 (atomic_bit_test_set): Likewise.
48588
48589 2012-06-22 Andreas Schwab <schwab@redhat.com>
48590
48591 [BZ #13579]
48592 * include/link.h (struct link_map): Add l_free_initfini.
48593 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48594 l_initfini.
48595 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48596 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48597 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48598 set.
48599
48600 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48601
48602 * configure.in: Use AC_LANG_SOURCE.
48603 * configure: Regenerate.
48604
48605 2012-06-22 Roland McGrath <roland@hack.frob.com>
48606
48607 * configure.in (libc_cv_localstatedir): New substituted variable.
48608 * configure: Regenerated.
48609 * config.make.in (localstatedir): New variable, substituted from
48610 libc_cv_localstatedir.
48611 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48612 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48613 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48614 * sysdeps/gnu/configure: Regenerated.
48615
48616 2012-06-21 Jeff Law <law@redhat.com>
48617
48618 [BZ #14277]
48619 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48620 free. Simplify list management for _LIBC case.
48621
48622 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48623
48624 [BZ #14273]
48625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48626 Clear sign bit of 64-bit integer value before comparing against
48627 overflow value.
48628
48629 * sysdeps/mach/configure: Regenerated.
48630
48631 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48632
48633 [BZ #14278]
48634 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48635
48636 2012-06-21 Jeff Law <law@redhat.com>
48637
48638 [BZ #13882]
48639 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48640 uint16_t for elements in the "seen" array to avoid char overflows.
48641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48642 * elf/dl-open.c (dl_open_worker): Likewise.
48643
48644 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48645
48646 * scripts/list-sources.sh: Scan PORTS for translations.
48647 * po/libc.pot: Regenerated.
48648
48649 2012-06-21 Andreas Jaeger <aj@suse.de>
48650
48651 [BZ #12194]
48652 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48653 warning.
48654 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48655 * bits/byteswap-16.h (__bswap_16): Likewise.
48656 * bits/byteswap.h (__bswap_constant_16): Likewise.
48657
48658 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48659
48660 [BZ #14117]
48661 * sysdeps/i386/fpu_control.h: Removed.
48662 * sysdeps/x86_64/fpu_control.h: Moved to ...
48663 * sysdeps/x86/fpu_control.h: Here.
48664
48665 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48666 (_FPU_SETCW): Likewise.
48667
48668 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48669
48670 [BZ #14117]
48671 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48672 * sysdeps/x86/fpu/bits/mathinline.h: This.
48673 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48674
48675 [BZ #14050]
48676 [BZ #14117]
48677 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48678 functions if __x86_64__ is defined.
48679
48680 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48681
48682 * string/endian.h: Add !__ASSEMBLER__ condition for including
48683 conversion interfaces.
48684
48685 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48686
48687 [BZ #14241]
48688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48689 of ABS(x) in calculating zero to negative powers other than odd
48690 integers.
48691 * math/libm-test.inc (pow_test): Add more tests.
48692
48693 2012-06-15 Andreas Jaeger <aj@suse.de>
48694
48695 * manual/contrib.texi (Contributors): Update entry of Liubov
48696 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48697 Machado Filho.
48698
48699 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48700
48701 * string/string.h: Add __wur to GNU version of strerror_r.
48702
48703 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48704
48705 [BZ #14229]
48706 * string/Makefile (tests): Add tst-strtok_r.
48707 * string/tst-strtok_r.c: New file.
48708 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48709 RAX_LP/RDX_LP on SAVE_PTR.
48710
48711 2012-06-14 Roland McGrath <roland@hack.frob.com>
48712
48713 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48714
48715 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48716
48717 * libm_test.inc (csqrt_test): Allow more spurious underflow
48718 exceptions.
48719 (j0_test): Likewise.
48720 (j1_test): Likewise.
48721 (y0_test): Likewise.
48722 (y1_test): Likewise.
48723
48724 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48725
48726 * po/Makefile (libc.pot): Use UTF-8 charset.
48727
48728 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48729
48730 [BZ #14210]
48731 Suppress sign-conversion warning from FD_SET.
48732 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48733 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48734 not unsigned long int.
48735 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48736
48737 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48738
48739 [BZ #14050]
48740 [BZ #14117]
48741 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48742 __extern_always_inline instead of __extern_inline.
48743 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48744 (__signbit): Likewise.
48745 (__signbitl): Support C++ namespace.
48746 (lrintf): New inline function.
48747 (lrint): Likewise.
48748 (llrintf): Likewise.
48749 (llrint): Likewise.
48750 (fmaxf): Likewise.
48751 (fmax): Likewise.
48752 (fminf): Likewise.
48753 (fmin): Likewise.
48754 (rint): Likewise.
48755 (rintf): Likewise.
48756 (ceil): Likewise.
48757 (ceilf): Likewise.
48758 (floor): Likewise.
48759 (floorf): Likewise.
48760 (nearbyint): Likewise.
48761 (nearbyintf): Likewise.
48762
48763 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48764
48765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48766 non-default versions.
48767
48768 2012-06-11 Roland McGrath <roland@hack.frob.com>
48769
48770 [BZ #14218]
48771 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48772
48773 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48774
48775 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48776 (FE_UPWARD, FE_DOWNWARD): Don't define.
48777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48779
48780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48781 reading it.
48782 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48783 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48784
48785 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48786
48787 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48789 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48790 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48791
48792 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48793
48794 [BZ #14117]
48795 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48796 * sysdeps/i386/fpu/Implies: New file.
48797 * sysdeps/x86_64/fpu/Implies: Likewise.
48798 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48799 * sysdeps/x86/fpu/bits/fenv.h: This.
48800
48801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48802 __SSE_MATH__.
48803
48804 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48805
48806 [BZ #14134]
48807 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48808 character 0xffff that matches the last element of the
48809 conversion table.
48810
48811 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48812
48813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48814 fmodl commit.
48815
48816 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48817
48818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48819 values higher than 25.6283.
48820
48821 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48822
48823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48824 subnormal exponent extraction and add some __builtin_expect.
48825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48826 Fix for subnormal mantissa calculation.
48827
48828 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48829
48830 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48831 cpu2 is -1 and errno is not ENOSYS.
48832
48833 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48834
48835 [BZ #14117]
48836 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48837 * sysdeps/x86/bits/string.h: This.
48838 * sysdeps/x86_64/bits/string.h: Removed.
48839
48840 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48841 if not compiling for x86-64, but compiling for >= i486.
48842
48843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48844 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48845
48846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48847 New macro from Linux kernel 3.4.0.
48848 (FP_XSTATE_MAGIC2): Likewise.
48849 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48850 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48851 (struct _fpx_sw_bytes): New struct.
48852 (struct _xsave_hdr): Likewise.
48853 (struct _ymmh_state): Likewise.
48854 (struct _xstate): Likewise.
48855
48856 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48857 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48859 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48860 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48861 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48862
48863 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48864 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48865 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48866 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48867 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48868 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48869
48870 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48871
48872 [BZ #13743]
48873 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48874 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48875 (sysdep_headers): Include sys/platform/ppc.h.
48876 * sysdeps/powerpc/test-gettimebase.c: Test for
48877 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48878 * manual/Makefile (appendices): Include platform.texi.
48879 * manual/contrib.texi (Contributors): Update @node pointers.
48880 * manual/maint.texi (Maintenance): Likewise.
48881 (Platform): New node.
48882 * manual/platform.texi: New file. Document the new features.
48883
48884 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48885 Jakub Jelinek <jakub@redhat.com>
48886
48887 [BZ #14188]
48888 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48889 where __builtin_expect is unavailable.
48890
48891 2012-06-03 David S. Miller <davem@davemloft.net>
48892
48893 * stdlib/longlong.h: Updated from GCC.
48894
48895 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48896
48897 [BZ #14042]
48898 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48899 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48900 __mcount_internal.
48901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48902 (GLIBC_2.16): Likewise.
48903
48904 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48905
48906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48907
48908 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48909
48910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48911 (default-abi): New variable.
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48913 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48914 variable.
48915 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48916 Likewise.
48917 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48918 Likewise.
48919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48920 Likewise.
48921
48922 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48923 definition. Document in comment.
48924
48925 2012-06-01 David S. Miller <davem@davemloft.net>
48926
48927 * stdlib/longlong.h: Updated from GCC.
48928
48929 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48930
48931 [BZ #14117]
48932 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48933 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48934 sys/debugreg.h sys/io.h here.
48935 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48936 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48937 sys/io.h.
48938 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48939 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48940 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48941 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48942 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48943 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48944
48945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48946 Define only if __x86_64__ is defined.
48947
48948 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48949
48950 [BZ #14048]
48951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48952 Use int64_t for variable i.
48953 * math/libm-test.inc (fmod_test): Add more tests.
48954
48955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48956 z computation is not scheduled after fetestexcept.
48957 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48958 Use math_force_eval instead of asm to ensure calculation scheduled
48959 before exception test.
48960 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48961 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48962
48963 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48964
48965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48966 computation is not scheduled after fetestexcept.
48967
48968 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48969
48970 [BZ #14117]
48971 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48972 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48973
48974 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48975
48976 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48977 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48978
48979 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48980
48981 [BZ #14117]
48982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48983 <bits/wordsize.h>.
48984 (__WCHAR_MIN): Support __WORDSIZE == 64.
48985 (__WCHAR_MAX): Likewise.
48986
48987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48989
48990 [BZ #14183]
48991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48992 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48993
48994 [BZ #14117]
48995 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48997
48998 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48999 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49000
49001 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49002 Defined to 1 if __x86_64__ isn't defined.
49003 (_STAT_VER_LINUX_OLD): New.
49004 (st_atime): Remove duplicate.
49005 (st_mtime): Likewise.
49006 (st_ctime): Likewise.
49007
49008 2012-05-31 David S. Miller <davem@davemloft.net>
49009
49010 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49011 entries.
49012
49013 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49014
49015 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49016 gen-libm-test.pl.
49017
49018 [BZ #14132]
49019 * elf/dl-reloc.c: Include <_itoa.h>.
49020 (_dl_reloc_bad_type): Remove use of INTUSE.
49021 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49022 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49023 * stdio-common/psiginfo.c (psiginfo): Likewise.
49024 * stdio-common/psignal.c (psignal): Likewise.
49025 * string/strsignal.c (strsignal): Likewise.
49026 * include/signal.h (_sys_siglist): Declare hidden proto.
49027 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49028 INTVARDEF with libc_hidden_data_def.
49029 * stdio-common/itoa-udigits.c: Likewise.
49030 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49031 (_itoa_lower_digits_internal): Remove declaration.
49032 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49033 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49034 (_sys_sigabbrev_internal): Remove aliases.
49035 (_sys_siglist): Define hidden alias.
49036
49037 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49038
49039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49040 bits/sysctl.h.
49041
49042 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49043
49044 [BZ #14117]
49045 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49046 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49047
49048 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49049 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49050 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49051 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49053 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49054
49055 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49056 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49058
49059 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49060 with __addr.
49061 (insw): Likewise.
49062 (insl): Likewise.
49063 (outsb): Likewise.
49064 (outsw): Likewise.
49065 (outsl): Likewise.
49066
49067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49069 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49070
49071 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49074 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49075 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49076 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49077
49078 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49079 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49080
49081 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49082 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49083
49084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49087
49088 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49089 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49090 to ...
49091 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49092
49093 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49094 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49095 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49096
49097 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49098 for x86-64.
49099 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49100
49101 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49102
49103 * math/math.h (M_El): Use two more decimal places.
49104 (M_LOG2El): Likewise.
49105 (M_LOG10El): Likewise.
49106 (M_LN2l): Likewise.
49107 (M_LN10l): Likewise.
49108 (M_PIl): Likewise.
49109 (M_PI_2l): Likewise.
49110 (M_PI_4l): Likewise.
49111 (M_1_PIl): Likewise.
49112 (M_2_PIl): Likewise.
49113 (M_2_SQRTPIl): Likewise.
49114 (M_SQRT2l): Likewise.
49115 (M_SQRT1_2l): Likewise.
49116
49117 2012-05-31 David S. Miller <davem@davemloft.net>
49118
49119 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49120 values between float registers.
49121 * sysdeps/sparc/sparc64/memset.S: Likewise.
49122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49123
49124 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49125
49126 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49127 -D_FORTIFY_SOURCE=1.
49128 (CPPFLAGS-tst-longjmp_chk.c): Define.
49129 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49130 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49131 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49132 CFLAGS-tst-wchar-h.c.
49133
49134 2012-05-31 Marek Polacek <polacek@redhat.com>
49135
49136 [BZ #14132]
49137 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49138 __endmntent_internal): Remove declaration.
49139 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49140 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49141 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49142
49143 2012-05-30 David S. Miller <davem@davemloft.net>
49144
49145 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49146 (___Q_simulate_exceptions): Use real FP ops rather than writing
49147 into the %fsr.
49148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49149 Likewise.
49150
49151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49152
49153 [BZ #14117]
49154 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49155 * sysdeps/x86/bits/xtitypes.h: This.
49156
49157 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49158 * sysdeps/x86/bits/wordsize.h: This.
49159
49160 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49161 * sysdeps/x86/bits/huge_vall.h: This.
49162
49163 * sysdeps/i386/bits/select.h: Removed.
49164 * sysdeps/x86_64/bits/select.h: Renamed to ...
49165 * sysdeps/x86/bits/select.h: This.
49166
49167 * sysdeps/i386/bits/setjmp.h: Removed.
49168 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49169 * sysdeps/x86/bits/setjmp.h: This.
49170
49171 * sysdeps/i386/bits/mathdef.h: Removed.
49172 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49173 * sysdeps/x86/bits/mathdef.h: This.
49174
49175 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49176
49177 [BZ #14132]
49178 * include/sys/socket.h (__connect_internal)
49179 (__libc_sa_len_internal): Remove declaration.
49180 (__connect, __libc_sa_len): Declare hidden_proto.
49181 (SA_LEN): Remove use of INTUSE.
49182 * socket/connect.c: Add libc_hidden_def.
49183 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49184 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49185 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49186 alias.
49187 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49189 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49190 of adding _internal alias.
49191
49192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49193
49194 [BZ #14117]
49195 * sysdeps/i386/bits/link.h: Removed.
49196 * sysdeps/i386/bits/linkmap.h: Likewise.
49197 * sysdeps/x86_64/bits/link.h: Renamed to ...
49198 * sysdeps/x86/bits/link.h: This.
49199 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49200 * sysdeps/x86/bits/linkmap.h: This.
49201
49202 * sysdeps/i386/bits/endian.h: Removed.
49203 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49204 * sysdeps/x86/bits/endian.h: This.
49205
49206 * sysdeps/i386/bits/byteswap.h: Removed.
49207 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49208 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49209 * sysdeps/x86/bits/byteswap.h: This.
49210 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49211 * sysdeps/x86/bits/byteswap-16.h: This.
49212 * sysdeps/i386/Implies: Add x86.
49213 * sysdeps/x86_64/Implies: Likewise.
49214
49215 2012-05-30 David S. Miller <davem@davemloft.net>
49216
49217 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49218 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49220 (FP_TRAPPING_EXCEPTIONS): Define.
49221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49222 (FP_TRAPPING_EXCEPTIONS): Define.
49223 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49224 subnormals only when inexact has been signalled or underflow
49225 exceptions are enabled.
49226 (_FP_PACK_CANONICAL): Likewise.
49227
49228 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49229
49230 [BZ #14183]
49231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49232 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49233
49234 2012-05-30 Richard Henderson <rth@twiddle.net>
49235
49236 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49237 with #ifndef NOT_IN_libc.
49238
49239 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49240 marked to avoid plt entry.
49241
49242 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49243
49244 [BZ #14112]
49245 * Makeconfig (default-abi): New macro.
49246 (abi-includes): Likewise.
49247 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49248 $(abi-$(default-abi)-lib-soname) for soname if defined.
49249 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49250 abi-variants.
49251 * Makefile (installed-stubs): Likewise.
49252 * include/stubs-biarch.h: Removed.
49253 * scripts/lib-names.awk: Only handle one library at a time.
49254 * scripts/soversions.awk: Remove WORDSIZE support.
49255 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49256 entries.
49257 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49258 Removed.
49259 (syscall-list-default-condition): Likewise.
49260 (syscall-list-default-condition): Likewise.
49261 (syscall-list-includes): Likewise.
49262 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49263 syscall-list-* with abi-*. Handle undefined abi-variants.
49264 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49265 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49266 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49267 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49268 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49269 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49270 Removed.
49271 (syscall-list-32-options): Likewise.
49272 (syscall-list-32-condition): Likewise.
49273 (syscall-list-64-options): Likewise.
49274 (syscall-list-64-condition): Likewise.
49275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49276 macro.
49277 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49278 Renamed to ...
49279 (abi-*): This.
49280 (abi-64-ld-soname): New macro.
49281 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49282 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49283 Renamed to ...
49284 (abi-*): This.
49285 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49286 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49287
49288 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49289
49290 * sysdeps/unix/sysv/linux/kernel-features.h
49291 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49292 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49293 include <kernel-features.h>.
49294 [!__NR_ftruncate64]: Remove conditional code.
49295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49296 [__NR_ftruncate64]: Make code unconditional.
49297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49298 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49299 include <kernel-features.h>.
49300 [!__NR_ftruncate64]: Remove conditional code.
49301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49302 [__NR_ftruncate64]: Make code unconditional.
49303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49305 include <kernel-features.h>.
49306 [!__NR_ftruncate64]: Remove conditional code.
49307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49308 [__NR_ftruncate64]: Make code unconditional.
49309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49311 include <kernel-features.h>.
49312 [!__NR_ftruncate64]: Remove conditional code.
49313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49314 [__NR_ftruncate64]: Make code unconditional.
49315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49316
49317 * configure.in (libc_cv_fpie): Weaken to a compile test using
49318 LIBC_TRY_CC_OPTION.
49319 * configure: Regenerated.
49320
49321 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49322
49323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49327 Refreshed.
49328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49334 Refreshed.
49335
49336 2012-05-27 David S. Miller <davem@davemloft.net>
49337
49338 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49339 (___Q_zero): New.
49340 (__Q_simulate_exceptions): Return void. Change to simulate
49341 exceptions by writing into the %fsr.
49342 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49343 (__Qp_handle_exceptions): Likewise.
49344 (numbers): Delete.
49345 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49346 __Qp_handle_exceptions.
49347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49348 __Qp_handle_exceptions.
49349 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49350 as unused and give dummy FP_RND_NEAREST initializer.
49351 (FP_INHIBIT_RESULTS): Define.
49352 (___Q_simulate_exceptions): Update declaration.
49353 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49354 formatting.
49355 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49356 as unused and give dummy FP_RND_NEAREST initializer.
49357 (__Qp_handle_exceptions): Update declaration.
49358 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49359 formatting.
49360
49361 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49362
49363 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49364 the temporary FPU control word.
49365 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49366 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49367 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49371 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49372 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49373 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49374 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49376
49377 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49378
49379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49380 fields.
49381
49382 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49383
49384 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49385 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49386 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49387 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49388 Likewise.
49389 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49390 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49391 Likewise.
49392
49393 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49394
49395 * po/h.po: Update from translation team.
49396
49397 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49398
49399 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49400
49401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49402 handling of denormals.
49403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49404 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49405 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49410 Likewise.
49411
49412 2012-05-26 Marek Polacek <polacek@redhat.com>
49413
49414 [BZ #14152]
49415 * math/libm-test.inc (fma_test): Don't always expect underflow
49416 exception.
49417
49418 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49419
49420 [BZ #12416]
49421 * elf/tst-execstack.c: Include stackinfo.h.
49422 (do_test): Adjust test case to ensure that pthread_getattr_np
49423 behaviour remains the same after marking stack executable.
49424
49425 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49426
49427 * sysdeps/unix/sysv/linux/kernel-features.h
49428 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49429 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49430 kernel-features.h.
49431 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49432 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49433 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49434 kernel-features.h.
49435 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49436 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49437
49438 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49439
49440 * configure.in: Define the default includes to being none.
49441 * configure: Regenerated.
49442
49443 2012-05-25 Roland McGrath <roland@hack.frob.com>
49444
49445 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49446 * sysdeps/x86_64/setjmp.S: Likewise.
49447 * sysdeps/i386/bsd-setjmp.S: Likewise.
49448 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49449 * sysdeps/i386/setjmp.S: Likewise.
49450 * sysdeps/i386/__longjmp.S: Likewise.
49451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49452 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49453
49454 * include/stap-probe.h: New file.
49455 * configure.in: Handle --enable-systemtap.
49456 * configure: Regenerated.
49457 * config.h.in (USE_STAP_PROBE): New #undef.
49458 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49459 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49460 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49461
49462 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49463
49464 [BZ #13717]
49465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49466 to 2.4.0 where earlier.
49467 * sysdeps/unix/sysv/linux/configure: Regenerated.
49468 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49469 <kernel-features.h>.
49470 [__ASSUME_32BITUIDS]: Make code unconditional.
49471 [!__ASSUME_32BITUIDS]: Remove conditional code.
49472 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49473 <kernel-features.h>.
49474 [__ASSUME_32BITUIDS]: Make code unconditional.
49475 [!__ASSUME_32BITUIDS]: Remove conditional code.
49476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49477 [__ASSUME_32BITUIDS]: Make code unconditional.
49478 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49479 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
49496 <kernel-features.h>.
49497 [__ASSUME_32BITUIDS]: Make code unconditional.
49498 [!__ASSUME_32BITUIDS]: Remove conditional code.
49499 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49500 <kernel-features.h>.
49501 [__ASSUME_32BITUIDS]: Make code unconditional.
49502 [!__ASSUME_32BITUIDS]: Remove conditional code.
49503 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49504 <kernel-features.h>.
49505 [__ASSUME_32BITUIDS]: Make code unconditional.
49506 [!__ASSUME_32BITUIDS]: Remove conditional code.
49507 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49508 <kernel-features.h>.
49509 [__ASSUME_32BITUIDS]: Make code unconditional.
49510 [!__ASSUME_32BITUIDS]: Remove conditional code.
49511 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49512 <kernel-features.h>.
49513 [__ASSUME_32BITUIDS]: Make code unconditional.
49514 [!__ASSUME_32BITUIDS]: Remove conditional code.
49515 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49516 <kernel-features.h>.
49517 [__ASSUME_32BITUIDS]: Make code unconditional.
49518 [!__ASSUME_32BITUIDS]: Remove conditional code.
49519 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49520 <kernel-features.h>.
49521 [__NR_setresgid] (__setresgid): Do not declare.
49522 [__ASSUME_32BITUIDS]: Make code unconditional.
49523 [!__ASSUME_32BITUIDS]: Remove conditional code.
49524 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49525 <kernel-features.h>.
49526 [__NR_setresuid] (__setresuid): Do not declare.
49527 [__ASSUME_32BITUIDS]: Make code unconditional.
49528 [!__ASSUME_32BITUIDS]: Remove conditional code.
49529 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49530 <kernel-features.h>.
49531 [__ASSUME_32BITUIDS]: Make code unconditional.
49532 [!__ASSUME_32BITUIDS]: Remove conditional code.
49533 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49534 <kernel-features.h>.
49535 [__ASSUME_32BITUIDS]: Make code unconditional.
49536 [!__ASSUME_32BITUIDS]: Remove conditional code.
49537 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49538 <kernel-features.h>.
49539 [__ASSUME_32BITUIDS]: Make code unconditional.
49540 [!__ASSUME_32BITUIDS]: Remove conditional code.
49541 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49542 <kernel-features.h>.
49543 [__ASSUME_32BITUIDS]: Make code unconditional.
49544 [!__ASSUME_32BITUIDS]: Remove conditional code.
49545 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49546 <kernel-features.h>.
49547 [__ASSUME_32BITUIDS]: Make code unconditional.
49548 [!__ASSUME_32BITUIDS]: Remove conditional code.
49549 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49550 <kernel-features.h>.
49551 [__ASSUME_32BITUIDS]: Make code unconditional.
49552 [!__ASSUME_32BITUIDS]: Remove conditional code.
49553 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49554 <kernel-features.h>.
49555 [__ASSUME_32BITUIDS]: Make code unconditional.
49556 [!__ASSUME_32BITUIDS]: Remove conditional code.
49557 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49558 <kernel-features.h>.
49559 [__ASSUME_32BITUIDS]: Make code unconditional.
49560 [!__ASSUME_32BITUIDS]: Remove conditional code.
49561 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49562 <kernel-features.h>.
49563 [__ASSUME_32BITUIDS]: Make code unconditional.
49564 [!__ASSUME_32BITUIDS]: Remove conditional code.
49565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49566 <kernel-features.h>.
49567 [__ASSUME_32BITUIDS]: Make code unconditional.
49568 [!__ASSUME_32BITUIDS]: Remove conditional code.
49569 * sysdeps/unix/sysv/linux/kernel-features.h
49570 (__ASSUME_SETRESUID_SYSCALL): Remove.
49571 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49572 (__ASSUME_32BITUIDS): Likewise.
49573 (__ASSUME_LDT_WORKS): Likewise.
49574 (__ASSUME_O_DIRECTORY): Likewise.
49575 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49576 architecture but not kernel version.
49577 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49578 (__ASSUME_MMAP2_SYSCALL): Likewise.
49579 (__ASSUME_STAT64_SYSCALL): Likewise.
49580 (__ASSUME_IPC64): Likewise.
49581 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49582 <kernel-features.h>.
49583 [__ASSUME_32BITUIDS]: Make code unconditional.
49584 [!__ASSUME_32BITUIDS]: Remove conditional code.
49585 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49586 <kernel-features.h>.
49587 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49588 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49589 132096]: Remove conditional code.
49590 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49591 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49592 <kernel-features.h>.
49593 [__ASSUME_32BITUIDS]: Make code unconditional.
49594 [!__ASSUME_32BITUIDS]: Remove conditional code.
49595 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49596 <kernel-features.h>.
49597 [__ASSUME_32BITUIDS]: Make code unconditional.
49598 [!__ASSUME_32BITUIDS]: Remove conditional code.
49599 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49600 <kernel-features.h>.
49601 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49602 unconditional.
49603 (__setresgid): Do not declare.
49604 [__ASSUME_32BITUIDS]: Make code unconditional.
49605 [!__ASSUME_32BITUIDS]: Remove conditional code.
49606 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49607 <kernel-features.h>.
49608 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49609 unconditional.
49610 (__setresuid): Do not declare.
49611 [__ASSUME_32BITUIDS]: Make code unconditional.
49612 [!__ASSUME_32BITUIDS]: Remove conditional code.
49613 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49614 <kernel-features.h>.
49615 [__ASSUME_32BITUIDS]: Make code unconditional.
49616 [!__ASSUME_32BITUIDS]: Remove conditional code.
49617 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49618 <kernel-features.h>.
49619 [__ASSUME_32BITUIDS]: Make code unconditional.
49620 [!__ASSUME_32BITUIDS]: Remove conditional code.
49621
49622 2012-05-25 Richard Henderson <rth@twiddle.net>
49623
49624 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49625 dl_hwcap to ifunc resolver.
49626 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49627 elf_ifunc_invoke.
49628 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49629 dl_hwcap to ifunc resolver.
49630 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49631
49632 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49633
49634 [BZ #14153]
49635 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49636 for |x| <= 2**-26, not 2**-57.
49637 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49638 exception.
49639
49640 2012-05-24 Jeff Law <law@redhat.com>
49641
49642 * stdio-common/Makefile (tests): Add bug25.
49643 * stdio-common/bug25.c: New test.
49644
49645 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49646
49647 [BZ #13576]
49648 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49649 multiple of MALLOC_ALIGNMENT in size.
49650 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49651
49652 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49653
49654 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49655 Require >= 256.
49656 (FILENAME_MAX): Use macro-int-constant.
49657 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49658 (_IOFBF): Use macro-int-constant.
49659 (_IOLBF): Likewise.
49660 (_IONBF): Likewise.
49661 (SEEK_CUR): Likewise.
49662 (SEEK_END): Likewise.
49663 (SEEK_SET): Likewise.
49664 (TMP_MAX): Likewise.
49665 (EOF): Use macro-int-constant. Require < 0.
49666 (NULL): Use macro-constant. Require == 0.
49667 (stdin): Require type to be FILE *.
49668 (stdout): Likewise.
49669 (stderr): Likewise.
49670 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49671 macro-int-constant.
49672 (EXIT_SUCCESS): Likewise.
49673 (NULL): Use macro-constant. Require == 0.
49674 (RAND_MAX): Use macro-int-constant.
49675 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49676 [C99-based standards] (strtof): Require function.
49677 [C99-based standards] (strtold): Likewise.
49678 [C99-based standards] (strtoll): Likewise.
49679 [C99-based standards] (strtoull): Likewise.
49680 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49681 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49682 [ISO || ISO99 || ISO11] (math.h): Likewise.
49683 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49684 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49686
49687 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49688
49689 [BZ #14132]
49690 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49691 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49692 * intl/dgettext.c (DCGETTEXT): Likewise.
49693 * intl/gettext.c (DCGETTEXT): Likewise.
49694 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49695 * posix/regex_internal.h (gettext): Likewise.
49696 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49697 Remove declaration.
49698 * include/argz.h (__argz_count_internal)
49699 (__argz_stringify_internal): Remove declaration.
49700 (__argz_count, __argz_stringify): Declare hidden proto.
49701 * intl/dcgettext.c: Remove use of INTDEF.
49702 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49703 * string/argz-stringify.c: Likewise.
49704 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49705 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49706 Declare hidden proto.
49707 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49708 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49709 Declare hidden proto.
49710 * include/stdio.h (__asprintf_internal): Don't declare.
49711 (__asprintf): Don't define as macro. Declare hidden proto.
49712 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49713 (__fsetlocking): Declare hidden proto.
49714 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49715 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49716 hidden proto.
49717 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49718 (_IO_setlinebuf): Remove use of INTUSE.
49719 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49720 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49721 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49722 Remove declaration.
49723 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49724 (_IO_do_flush): Remove use of INTUSE.
49725 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49726 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49727 (_IO_adjust_column, _IO_least_wmarker)
49728 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49729 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49730 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49731 (_IO_default_doallocate, _IO_wdefault_doallocate)
49732 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49733 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49734 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49735 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49736 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49737 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49738 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49739 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49740 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49741 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49742 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49743 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49744 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49745 proto.
49746 (_IO_flush_all_internal, _IO_adjust_column_internal)
49747 (_IO_default_uflow_internal, _IO_default_finish_internal)
49748 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49749 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49750 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49751 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49752 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49753 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49754 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49755 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49756 (_IO_file_close_internal, _IO_file_close_it_internal)
49757 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49758 (_IO_file_init_internal, _IO_file_attach_internal)
49759 (_IO_file_fopen_internal, _IO_file_read_internal)
49760 (_IO_file_sync_internal, _IO_file_seek_internal)
49761 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49762 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49763 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49764 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49765 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49766 (_IO_list_all_internal, _IO_link_in_internal)
49767 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49768 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49769 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49770 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49771 (_IO_do_write_internal, _IO_padn_internal)
49772 (_IO_getline_info_internal, _IO_getline_internal)
49773 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49774 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49775 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49776 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49777 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49778 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49779 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49780 with libc_hidden_ver, remove use of INTUSE.
49781 * libio/genops.c: Likewise.
49782 * libio/freopen.c: Likewise.
49783 * libio/freopen64.c: Likewise.
49784 * libio/iofclose.c: Likewise.
49785 * libio/iofdopen.c: Likewise.
49786 * libio/iofflush.c: Likewise.
49787 * libio/iofflush_u.c: Likewise.
49788 * libio/iofgets.c: Likewise.
49789 * libio/iofgets_u.c: Likewise.
49790 * libio/iofopen.c: Likewise.
49791 * libio/iofopncook.c: Likewise.
49792 * libio/iofread.c: Likewise.
49793 * libio/iofread_u.c: Likewise.
49794 * libio/ioftell.c: Likewise.
49795 * libio/iofwrite.c: Likewise.
49796 * libio/iogetline.c: Likewise.
49797 * libio/iogets.c: Likewise.
49798 * libio/iogetwline.c: Likewise.
49799 * libio/iopadn.c: Likewise.
49800 * libio/iopopen.c: Likewise.
49801 * libio/ioseekoff.c: Likewise.
49802 * libio/ioseekpos.c: Likewise.
49803 * libio/iosetbuffer.c: Likewise.
49804 * libio/iosetvbuf.c: Likewise.
49805 * libio/ioungetc.c: Likewise.
49806 * libio/ioungetwc.c: Likewise.
49807 * libio/iovdprintf.c: Likewise.
49808 * libio/iovsprintf.c: Likewise.
49809 * libio/iovsscanf.c: Likewise.
49810 * libio/memstream.c: Likewise.
49811 * libio/obprintf.c: Likewise.
49812 * libio/oldfileops.c: Likewise.
49813 * libio/oldiofclose.c: Likewise.
49814 * libio/oldiofdopen.c: Likewise.
49815 * libio/oldiofopen.c: Likewise.
49816 * libio/oldiopopen.c: Likewise.
49817 * libio/oldstdfiles.c: Likewise.
49818 * libio/putc.c: Likewise.
49819 * libio/setbuf.c: Likewise.
49820 * libio/setlinebuf.c: Likewise.
49821 * libio/stdfiles.c: Likewise.
49822 * libio/strops.c: Likewise.
49823 * libio/vasprintf.c: Likewise.
49824 * libio/vscanf.c: Likewise.
49825 * libio/vsnprintf.c: Likewise.
49826 * libio/vswprintf.c: Likewise.
49827 * libio/wfiledoalloc.c: Likewise.
49828 * libio/wfileops.c: Likewise.
49829 * libio/wgenops.c: Likewise.
49830 * libio/wmemstream.c: Likewise.
49831 * libio/wstrops.c: Likewise.
49832 * libio/__fpurge.c: Likewise.
49833 * libio/__fsetlocking.c: Likewise.
49834 * assert/assert.c: Likewise.
49835 * debug/fgets_chk.c: Likewise.
49836 * debug/fgets_u_chk.c: Likewise.
49837 * debug/fread_chk.c: Likewise.
49838 * debug/fread_u_chk.c: Likewise.
49839 * debug/gets_chk.c: Likewise.
49840 * debug/obprintf_chk.c: Likewise.
49841 * debug/vasprintf_chk.c: Likewise.
49842 * debug/vdprintf_chk.c: Likewise.
49843 * debug/vsnprintf_chk.c: Likewise.
49844 * debug/vsprintf_chk.c: Likewise.
49845 * malloc/mtrace.c: Likewise.
49846 * misc/error.c: Likewise.
49847 * misc/syslog.c: Likewise.
49848 * stdio-common/asprintf.c: Likewise.
49849 * stdio-common/fxprintf.c: Likewise.
49850 * stdio-common/getw.c: Likewise.
49851 * stdio-common/isoc99_fscanf.c: Likewise.
49852 * stdio-common/isoc99_scanf.c: Likewise.
49853 * stdio-common/isoc99_vfscanf.c: Likewise.
49854 * stdio-common/isoc99_vscanf.c: Likewise.
49855 * stdio-common/isoc99_vsscanf.c: Likewise.
49856 * stdio-common/printf-prs.c: Likewise.
49857 * stdio-common/printf_fp.c: Likewise.
49858 * stdio-common/printf_fphex.c: Likewise.
49859 * stdio-common/printf_size.c: Likewise.
49860 * stdio-common/putw.c: Likewise.
49861 * stdio-common/scanf.c: Likewise.
49862 * stdio-common/sprintf.c: Likewise.
49863 * stdio-common/tmpfile.c: Likewise.
49864 * stdio-common/vfprintf.c: Likewise.
49865 * stdio-common/vfscanf.c: Likewise.
49866 * stdlib/strfmon_l.c: Likewise.
49867 * sunrpc/openchild.c: Likewise.
49868 * sunrpc/xdr_stdio.c: Likewise.
49869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49870 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49871
49872 2012-05-24 Roland McGrath <roland@hack.frob.com>
49873
49874 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49875
49876 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49877 in the third column, to generate for the shared library an IFUNC
49878 that uses _dl_vdso_vsym.
49879 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49880 * Makeconfig (object-suffixes-noshared): New variable.
49881
49882 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49883 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49884 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49885 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49886
49887 [BZ #14132]
49888 * include/sys/time.h (__gettimeofday): Remove macro.
49889 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49890 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49891 Remove INTDEF.
49892 (__gettimeofday): Add libc_hidden_def.
49893 (gettimeofday): Add libc_hidden_weak.
49894 * sysdeps/mach/gettimeofday.c: Likewise.
49895 * sysdeps/posix/gettimeofday.c: Likewise.
49896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49897 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49899 (__gettimeofday_internal): Remove strong_alias.
49900 (__gettimeofday): Add libc_hidden_def.
49901 (gettimeofday): Add libc_hidden_weak.
49902 * sysdeps/unix/syscalls.list (gettimeofday):
49903 Remove __gettimeofday_internal alias.
49904
49905 2012-05-24 Daniel Jacobowitz <drow@false.org>
49906 H.J. Lu <hongjiu.lu@intel.com>
49907
49908 [BZ #12495]
49909 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49910 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49911 (largebin_index_32_big): New.
49912 (largebin_index): Use it for 16-byte alignment.
49913 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49914 correction with front_misalign.
49915
49916 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49917
49918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49920 Likewise.
49921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49922 Likewise.
49923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49924 Likewise.
49925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49926 Likewise.
49927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49928 Likewise.
49929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49930 Likewise.
49931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49932 Likewise.
49933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49934 Likewise.
49935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49936 Likewise.
49937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49938 Likewise.
49939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49940 Likewise.
49941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49942 Likewise.
49943
49944 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49945 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49946
49947 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49948
49949 [BZ #10846]
49950 [BZ #14036]
49951 * math/libm-test.inc (exp_test): Add test from bug 14036.
49952 (pow_test): Add test from bug 10846.
49953
49954 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49955 and other flags.
49956 (special_function): Do not include flags in test name.
49957 (parse_args): Likewise.
49958 * sysdeps/i386/fpu/libm-test-ulps: Update.
49959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49963
49964 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49965 exceptions.
49966 * math/libm-test.inc ("Philosophy"): Update comment about
49967 exception testing.
49968 (UNDERFLOW_EXCEPTION): New macro.
49969 (UNDERFLOW_EXCEPTION_OK): Likewise.
49970 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49971 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49972 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49973 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49974 (INVALID_EXCEPTION_OK): Update value.
49975 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49976 (OVERFLOW_EXCEPTION_OK): Likewise.
49977 (IGNORE_ZERO_INF_SIGN): Likewise.
49978 (test_exceptions): Handle underflow exceptions.
49979 (acos_test): Update for underflow exception expectations.
49980 (cexp_test): Likewise.
49981 (clog_test): Likewise.
49982 (clog10_test): Likewise.
49983 (csqrt_test): Likewise.
49984 (ctan_test): Likewise.
49985 (ctanh_test): Likewise.
49986 (exp_test): Likewise.
49987 (exp10_test): Likewise.
49988 (exp2_test): Likewise.
49989 (expm1_test): Likewise.
49990 (fma_test): Likewise.
49991 (j0_test): Likewise.
49992 (jn_test): Likewise.
49993 (nexttoward_test): Likewise.
49994 (pow_test): Likewise.
49995 (scalbn_test): Likewise.
49996 (scalbln_test): Likewise.
49997 (tan_test): Likewise.
49998 (y1_test): Likewise.
49999 * sysdeps/i386/fpu/libm-test-ulps: Update.
50000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001
50002 2012-05-23 David S. Miller <davem@davemloft.net>
50003
50004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50005 (__libc_sigaction): Remove unused local variables.
50006
50007 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50008
50009 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50010
50011 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50012
50013 mktime: avoid signed integer overflow
50014 * time/mktime.c (__mktime_internal): Do not mishandle the case
50015 where diff == INT_MIN.
50016
50017 mktime: simplify computation of average
50018 * time/mktime.c (ranged_convert): Use new time_t_avg function
50019 instead of rolling our own (probably-slower) code.
50020
50021 mktime: do not assume signed right shift propagates sign bit
50022 * time/mktime.c (isdst_differ): New static function.
50023 (__mktime_internal): No need to normalize tm_isdst now.
50024 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50025 tm_isdst values.
50026
50027 mktime: merge another wrapv change from gnulib
50028 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50029 from some compilers.
50030
50031 mktime: remove incorrect attempt at unusual arithmetics
50032 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50033 The code didn't really work on such machines anyway.
50034 (TYPE_MINIMUM): Assume two's complement.
50035 (twos_complement_arithmetic): Verify that long_int and time_t
50036 are two's complement (or unsigned, in the latter case).
50037
50038 mktime: check signed shifts on long_int and time_t, too
50039 * time/mktime.c (SHR): Check that shifts work as desired
50040 on the types long_int and time_t too, as SHR is used on
50041 such types.
50042
50043 mktime: do not assume 'long' is wide enough
50044 * time/mktime.c (verify): Move decl up.
50045 (long_int): New type.
50046 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50047 to remove assumption in the code that 'long' is wide enough to
50048 store year values. This assumption is not true on x32 and on
50049 some non-glibc platforms.
50050
50051 mktime: merge wrapv change from gnulib
50052 * time/mktime.c (WRAPV): New macro.
50053 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50054 (guess_time_tm, __mktime_internal): Do not assume that signed
50055 integer overflow wraps around; modern compilers generate code
50056 where this assumption is no longer valid.
50057
50058 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50059
50060 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50061 Replace "jmp L(pseudo_end)" with "ret".
50062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50063 Likewise.
50064
50065 2012-05-23 Andreas Jaeger <aj@suse.de>
50066
50067 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50068 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50069
50070 2012-05-23 Andreas Jaeger <aj@suse.de>
50071 Maximilian Attems <max@stro.at>
50072
50073 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50074 New macros.
50075
50076 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50077
50078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50079 code so that pseudo_end is just ret and the stack pointer is
50080 correct also for static library in error case.
50081
50082 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50083
50084 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50085 move to syscalls.list.
50086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50090
50091 * manual/install.texi (Running make install): Do not mention Linux
50092 kernel version for which pt_chown is not needed.
50093 (Linux): Do not mention problems with nscd with 2.0 kernels.
50094 * INSTALL: Regenerated.
50095
50096 2012-05-23 Andreas Jaeger <aj@suse.de>
50097
50098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50099 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50100 macro.
50101 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50103 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50105 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50106 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50111 * sysdeps/unix/sysv/linux/bits/in.h
50112 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50113
50114 2012-05-22 Roland McGrath <roland@hack.frob.com>
50115
50116 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50117 (PREPARE_VERSION): Just use assert instead, it will be elided
50118 under [NDEBUG] anyway.
50119
50120 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50121
50122 * sysdeps/unix/sysv/linux/Makefile: Include
50123 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50124 (sysdep_routines): Remove sysctl.
50125 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50126 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50127 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50128 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50129 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50130
50131 2012-05-22 Andreas Jaeger <aj@suse.de>
50132
50133 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50134 that pseudo_end is just ret and the stack pointer is correct also
50135 for static library in error case.
50136
50137 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50138
50139 [BZ #14122]
50140 * nss/nsswitch.c (defconfig_entries): New variable.
50141 (__nss_database_lookup): Don't leak defconfig entries.
50142 (nss_parse_service_list): Don't leak on error paths.
50143 (free_database_entries): New function.
50144 (free_defconfig): New function.
50145 (free_mem): Move common code to free_database_entries.
50146
50147 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50148
50149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50150 Add arch_prctl.
50151 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50152
50153 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50154 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50156 New macro.
50157 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50158 (INTERNAL_SYSCALL_TYPES): Likewise.
50159 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50160 (LOAD_REGS_TYPES_[1-6]): Likewise.
50161 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50162 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50163
50164 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50165
50166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50167 copysignl for GLIBC_2_0.
50168 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50169 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50171 logbl for GLIBC_2_0.
50172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50173 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50174
50175 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50176
50177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50179
50180 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50181 Use "neg %eax".
50182
50183 * time/mktime.c: Update copyright years.
50184
50185 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50186
50187 mktime: merge comment-quoting-style change from gnulib
50188 * time/mktime.c: Quote 'like this' in comments.
50189 The GNU coding standards suggest that we no longer quote `like this',
50190 as "`" and "'" are typically rendered asymmetrically nowadays.
50191 The typical gnulib style is to quote 'like this' when quoting
50192 code, and "like this" when quoting English.
50193
50194 * time/mktime.c (compile-command): Add "-I.".
50195
50196 mktime: merge mktime-internal.h change from gnulib
50197 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50198
50199 mktime: merge time_r change from gnulib
50200 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50201
50202 mktime: merge DEBUG change from gnulib
50203 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50204 case system <time.h> has a #define.
50205
50206 mktime: merge <sys/types.h> change from gnulib
50207 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50208 since <time.t> is now guaranteed to define time_t.
50209
50210 mktime: merge HAVE_CONFIG_H change from gnulib
50211 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50212
50213 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50214
50215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50216 Use "neg %eax".
50217
50218 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50219 __rlim_t cast.
50220 (struct rusage): Use anonymous union to pad each field to
50221 __syscall_slong_t.
50222
50223 2012-05-21 David S. Miller <davem@davemloft.net>
50224
50225 * Makefules (o-iterator): Remove .s cases.
50226 (compile-command.s): Delete.
50227 (COMPILE.s): Delete.
50228 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50229
50230 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50231
50232 * configure.in (libc_cv_predef_stack_protector): Only consider
50233 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50234 * configure: Regenerated.
50235
50236 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50237
50238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50239 New macro. Use R*LP on int and pointer.
50240 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50241 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50242 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50243 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50244
50245 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50246 [__WORDSIZE_TIME64_COMPAT32] instead of
50247 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50248 (struct utmp): Likewise.
50249 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50250 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50251 Renamed to ...
50252 (__WORDSIZE_TIME64_COMPAT32): This.
50253 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50254 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50255 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50256 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50257 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50258 (__WORDSIZE_TIME64_COMPAT32): New macro.
50259
50260 2012-05-21 Andreas Jaeger <aj@suse.de>
50261
50262 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50263 only if [SHARED]. Add prototype for __wcschr_ia32.
50264
50265 2012-05-21 Roland McGrath <roland@hack.frob.com>
50266
50267 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50268 of %rbp unmolested in the jmp_buf while mangling the low bits.
50269 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50270 unmolested high bits of %rbp while demangling the low bits.
50271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50272
50273 2012-05-21 Andreas Jaeger <aj@suse.de>
50274
50275 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50276 * sunrpc/svc_simple.c: Use it for registerrpc.
50277 * sunrpc/xcrypt.c: Use it for passwd2des.
50278
50279 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50280
50281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50282
50283 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50284 Don't define if [__SYSCALL_WORDSIZE != 32].
50285 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50286 New macro.
50287
50288 2012-05-21 Bruno Haible <bruno@clisp.org>
50289 Andreas Jaeger <aj@suse.de>
50290
50291 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50292 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50293 inptr and inend for must_buffer_ch.
50294 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50295 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50296 * stdio-common/Makefile (tests): Remove bug15.
50297 (bug15-ENV): Remove macro.
50298 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50299 anymore.
50300
50301 2012-05-19 Andreas Jaeger <aj@suse.de>
50302 Roland McGrath <roland@hack.frob.com>
50303
50304 * manual/contrib.texi: Completely rewritten. It contains now an
50305 alphabetical list of contributors and their contributions.
50306
50307 2012-05-21 Richard Henderson <rth@twiddle.net>
50308
50309 * misc/getauxval.c (__getauxval): Use unsigned long int.
50310 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50311 (getauxval): Use unsigned long int.
50312
50313 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50314
50315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50316
50317 2012-05-21 Roland McGrath <roland@hack.frob.com>
50318
50319 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50320 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50321 __alignof__ (long double).
50322
50323 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50324
50325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50326
50327 2012-05-20 Richard Henderson <rth@twiddle.net>
50328
50329 * misc/getauxval.c: New file.
50330 * misc/sys/auxv.h: New file.
50331 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50332 (routines): Add getauxval.
50333 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50335 * elf/dl-sysdep.c (_dl_auxv): Remove.
50336 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50337 * elf/dl-support.c (_dl_auxv): New variable.
50338 (_dl_aux_init): Initialize it.
50339 * manual/startup.texi (Auxiliary Vector): New node.
50340 * sysdeps/generic/bits/hwcap.h: New file.
50341 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50342 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50343 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50344 * sysdeps/sparc/sysdep.h: ... here. Include it.
50345 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50348 Update.
50349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50352 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50357
50358 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50359
50360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50361
50362 2012-05-19 David S. Miller <davem@davemloft.net>
50363
50364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50365
50366 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50367
50368 [BZ #14123]
50369 * math/s_ccosh.c: Include <float.h>
50370 (__ccosh): Avoid internal overflow calculating sinh and cosh
50371 values before multiplying by sin and cos values.
50372 * math/s_ccoshf.c: Likewise.
50373 * math/s_ccoshl.c: Likewise.
50374 * math/s_csin.c: Likewise.
50375 * math/s_csinf.c: Likewise.
50376 * math/s_csinl.c: Likewise.
50377 * math/s_csinh.c: Likewise.
50378 * math/s_csinhf.c: Likewise.
50379 * math/s_csinhl.c: Likewise.
50380 * math/libm-test.inc (ccos_test): Add more tests.
50381 (ccosh_test): Likewise.
50382 (csin_test): Likewise.
50383 (csinh_test): Likewise.
50384 * sysdeps/i386/fpu/libm-test-ulps: Update.
50385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50386
50387 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50388
50389 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50390 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50391
50392 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50393
50394 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50395
50396 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50397 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50398 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50399 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50400 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50401 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50402 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50403 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50404 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50405 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50406 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50407 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50408 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50409 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50410 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50411 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50412 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50413 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50414 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50415 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50416 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50417 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50418 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50419 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50420 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50421 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50422 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50423 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50424 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50425 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50426 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50427
50428 2012-05-18 Andreas Jaeger <aj@suse.de>
50429
50430 * csu/.gitignore: Delete.
50431
50432 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50433
50434 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50435 (timex): Use __syscall_slong_t.
50436
50437 2012-05-18 Andreas Jaeger <aj@suse.de>
50438 Carlos O'Donell <carlos_odonell@mentor.com>
50439
50440 * manual/install.texi (Configuring and compiling): Update
50441 description about files modified in the source directory.
50442 * INSTALL: Regenerated.
50443
50444 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50445
50446 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50447 value. Use "or" to set return value to -1.
50448 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50449 negate return value.
50450
50451 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50452
50453 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50454 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50455 failure if the compiler has Graphite support disabled.
50456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50457 Likewise.
50458 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50459 (CFLAGS-memmove.c): Likewise.
50460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50461 Likewise.
50462
50463 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50464
50465 * sysdeps/x86_64/x32/_itoa.h: New file.
50466
50467 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50468 getdents system call only if kernel and user dirents have the
50469 same d_ino and d_off.
50470
50471 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50472 LLONG_MAX != LONG_MAX.
50473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50474 (_fitoa_word): Likewise.
50475
50476 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50477 years.
50478 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50481
50482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50483 include <bits/wordsize.h>. Check __x86_64__ instead of
50484 __WORDSIZE.
50485 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50486 if __x86_64__ is defined. Use anonymous union on fpstate.
50487
50488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50489 anonymous union.
50490
50491 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50492
50493 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50494 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50495 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50496 Refer to _rtld_local_ro instead of _rtld_global_ro.
50497 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50498 Likewise.
50499 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50500 Likewise.
50501 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50502 Likewise.
50503 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50504 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50505 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50506
50507 [BZ #10882]
50508 * sysdeps/powerpc/powerpc32/dl-machine.c
50509 (__elf_machine_runtime_setup) [PROF]: Don't reference
50510 _dl_prof_resolve.
50511
50512 2012-05-18 Andreas Jaeger <aj@suse.de>
50513
50514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50515 function only available for GCCs before 3.4 since GCC 3.4
50516 introduced a builtin.
50517 (lrint): Likewise.
50518 (llrintf): Likewise.
50519 (llrint): Likewise.
50520 (fmaxf): Likewise.
50521 (fmax): Likewise.
50522 (fminf): Likewise.
50523 (fmin): Likewise.
50524 (rint): Likewise.
50525 (rintf): Likewise.
50526 (nearbyint): Likewise.
50527 (nearbyintf): Likewise.
50528 (ceil): Likewise.
50529 (ceilf): Likewise.
50530 (floor): Likewise.
50531 (floorf): Likewise.
50532
50533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50534
50535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50536 on both fields and cast pointer to __syscall_ulong_t.
50537
50538 * bits/types.h (__fsword_t): New type.
50539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50542 (__FSWORD_T_TYPE): Likewise.
50543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50544 (__FSWORD_T_TYPE): Likewise.
50545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50546 (__FSWORD_T_TYPE): Likewise.
50547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50548 (__FSWORD_T_TYPE): Likewise.
50549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50550 __SWORD_TYPE with __fsword_t.
50551 (statfs64): Likewise.
50552
50553 2012-05-17 David S. Miller <davem@davemloft.net>
50554
50555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50556
50557 2012-05-17 Andreas Jaeger <aj@suse.de>
50558
50559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50560 warning.
50561
50562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50563
50564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50565
50566 2012-05-17 Andreas Jaeger <aj@suse.de>
50567
50568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50569 when it is used.
50570
50571 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50572
50573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50574
50575 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50576
50577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50579
50580 2012-05-17 Andreas Jaeger <aj@suse.de>
50581 Carlos O'Donell <carlos_odonell@mentor.com>
50582
50583 [BZ #14059]
50584 * sysdeps/x86_64/multiarch/init-arch.h
50585 (bit_YMM_Usable): Rename to...
50586 (bit_AVX_Usable): ... this.
50587 (bit_FMA4_Usable): New macro.
50588 (bit_XMM_state): New macro.
50589 (bit_YMM_state): New macro.
50590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50593 (CPUID_OSXSAVE): New macro.
50594 (CPUID_AVX): New macro.
50595 (CPUID_FMA4): New macro.
50596 (index_YMM_Usable): Rename to...
50597 (index_AVX_Usable): ... this.
50598 (HAS_AVX): Use HAS_ARCH_FEATURE.
50599 (HAS_FMA4): Likewise.
50600 (HAS_YMM_USABLE): Remove.
50601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50603 are present.
50604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50609
50610 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50611
50612 * math/libm-test.c: Support platforms without multiple rounding modes.
50613 * math/bug-nextafter.c: Support platforms without FP exceptions.
50614 * math/bug-nexttoward.c: Likewise.
50615 * math/test-fenv.c: Likewise.
50616 * math/test-misc.c: Likewise.
50617 * stdlib/bug-getcontext.c: Likewise.
50618
50619 2012-05-17 Andreas Jaeger <aj@suse.de>
50620
50621 * manual/examples/search.c (critter_cmp): Change signature to
50622 avoid warnings.
50623 * manual/string.texi (Collation Functions): Likewise.
50624
50625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50626
50627 * bits/types.h: Fold copyright years.
50628 * bits/typesizes.h: Likewise.
50629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50633 * time/time.h: Likewise.
50634
50635 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50636
50637 [BZ #208]
50638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50639 in instead of returning them. Return void.
50640 (__libc_mallinfo): Accumulate over all arenas.
50641 (__malloc_stats): Adjust for change in int_mallinfo interface.
50642
50643 2012-05-16 Roland McGrath <roland@hack.frob.com>
50644
50645 [BZ #10375]
50646 * configure.in (NM): Add AC_CHECK_TOOL for it.
50647 (libc_extra_cflags): New substituted variable.
50648 Check for -fstack-protector being used implicitly.
50649 * configure: Regenerated.
50650 * config.make.in (config-extra-cflags): New variable,
50651 gets @libc_extra_cflags@.
50652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50653
50654 [BZ #10375]
50655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50657 * configure: Regenerated.
50658 * config.make.in (CPPUNDEFS): New substituted variable.
50659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50662
50663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50664
50665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50666 (mq_attr): Use __syscall_slong_t.
50667
50668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50669
50670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50671 Check __x86_64__ instead of __WORDSIZE.
50672 (_STAT_VER_LINUX): Likewise.
50673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50674 __syscall_ulong_t and __syscall_slong_t.
50675 (stat64): Likewise.
50676
50677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50678
50679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50680
50681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50682
50683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50684
50685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50686
50687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50688 __syscall_ulong_t.
50689
50690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50691 include <bits/wordsize.h>. Check __x86_64__ instead of
50692 __WORDSIZE.
50693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50694 defined.
50695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50696
50697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50698 include <bits/wordsize.h>. Check __x86_64__ instead of
50699 __WORDSIZE.
50700 (user_regs_struct): Use "__extension__ unsigned long long"
50701 instead of "unsigned long" if __x86_64__ is defined.
50702 (user): Likewise. Pad after pointer field if __ILP32__ is
50703 defined.
50704
50705 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50706
50707 * configure.in (makeinfo): Require version 4.5 or later. Allow
50708 versions 5 to 9.
50709 * configure: Regenerated.
50710 * manual/install.texi (texinfo): Increase version requirement to
50711 4.5 or later.
50712 * INSTALL: Regenerated.
50713
50714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50715
50716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50717
50718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50719
50720 * sysdeps/x86_64/x32/ffs.c: New file.
50721
50722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50723 __syscall_ulong_t.
50724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50725 defined. Use __syscall_ulong_t.
50726 (shminfo): Use __syscall_ulong_t.
50727 (shm_info): Likewise.
50728
50729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50730 __syscall_ulong_t.
50731
50732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50733 <bits/wordsize.h>.
50734 (msgqnum_t): Use __syscall_ulong_t.
50735 (msglen_t): Likewise.
50736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50737 __syscall_ulong_t.
50738
50739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50741
50742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50743
50744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50746
50747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50748 __syscall_slong_t.
50749
50750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50751 include <bits/wordsize.h>. Check __x86_64__ instead of
50752 __WORDSIZE.
50753
50754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50755 "unsigned long long int" if __x86_64__ is defined.
50756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50757
50758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50761
50762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50763 <stdint.h>.
50764 (GET_PC): Cast to uintptr_t first.
50765 (GET_FRAME): Likewise.
50766 (GET_STACK): Likewise.
50767
50768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50797
50798 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50799
50800 * Makerules (+depfiles): Also collect depfiles from .oS in
50801 $(extra-objs).
50802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50803 .oS, $(libnldbl-routines)).
50804
50805 * Makerules (native-compile-mkdep-flags): Define.
50806 * sunrpc/Makefile (extra-objs): Add $(addprefix
50807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50810 calling $(make-target-directory).
50811
50812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50813
50814 * bits/types.h (__snseconds_t): Removed.
50815 * time/time.h (struct timespec): Replace __snseconds_t with
50816 __syscall_slong_t.
50817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50819 Likewise.
50820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50821 (__SNSECONDS_T_TYPE): Likewise.
50822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50823 (__SNSECONDS_T_TYPE): Likewise.
50824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50825 (__SNSECONDS_T_TYPE): Likewise.
50826
50827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50828
50829 * sysdeps/mach/hurd/bits/typesizes.h
50830 (__SYSCALL_SLONG_TYPE): New macro.
50831 (__SYSCALL_ULONG_TYPE): Likewise.
50832
50833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50834
50835 * bits/types.h (__syscall_slong_t): New type.
50836 (__syscall_ulong_t): Likewise.
50837
50838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50839 (__SYSCALL_ULONG_TYPE): Likewise.
50840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50841 (__SYSCALL_SLONG_TYPE): Likewise.
50842 (__SYSCALL_ULONG_TYPE): Likewise.
50843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50844 (__SYSCALL_SLONG_TYPE): Likewise.
50845 (__SYSCALL_ULONG_TYPE): Likewise.
50846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50847 (__SYSCALL_SLONG_TYPE): Likewise.
50848 (__SYSCALL_ULONG_TYPE): Likewise.
50849
50850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50851
50852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50853 Add sigaltstack-offsets.sym.
50854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50855 <sigaltstack-offsets.h>.
50856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50857 longjmp_msg pointer.
50858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50860 signal stack.
50861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50862
50863 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50864
50865 * elf/stackguard-macros.h: Remove file.
50866 * sysdeps/generic/stackguard-macros.h: New file.
50867 * sysdeps/i386/stackguard-macros.h: Likewise.
50868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50876 <elf/stackguard-macros.h>.
50877
50878 [BZ #14109]
50879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50880 __aligned__ in attribute.
50881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50882 (gregset_t): Likewise.
50883
50884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50885
50886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50887 * sysdeps/x86_64/64/Implies-after: Here. New file.
50888 * sysdeps/x86_64/x32/Implies-after: New file.
50889
50890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50891
50892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50893 and access return value for _dl_profile_fixup. Use R10_LP to
50894 load frame size.
50895
50896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50897
50898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50899
50900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50901
50902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50903 * sysdeps/x86_64/x32/sysdep.h: New file.
50904
50905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50906
50907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50908 * sysdeps/x86_64/setjmp.S: Likewise.
50909
50910 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50911
50912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50916 remove unused global constant.
50917
50918 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50919
50920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50921 include of <not-cancel.h>.
50922
50923 2012-05-15 Roland McGrath <roland@hack.frob.com>
50924
50925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50926
50927 2012-05-15 Jeff Law <law@redhat.com>
50928 Andreas Jaeger <aj@suse.de>
50929
50930 [BZ #13594]
50931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50932 out from...
50933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50936 code changing __hst_map_handle.map.
50937
50938 2012-05-15 Roland McGrath <roland@hack.frob.com>
50939
50940 * configure.in (sysnames): Look for Implies-before and Implies-after
50941 files.
50942 * configure: Regenerated.
50943
50944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50945
50946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50947 8-byte data alignment with LP_SIZE alignment.
50948
50949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50950
50951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50952 into R10_LP.
50953
50954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50955
50956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50957
50958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50959
50960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50963 Likewise.
50964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50965
50966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50967
50968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50969 (stackinfo_sub_sp): Likewise.
50970
50971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50972
50973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50974 RAX_LP.
50975
50976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50977
50978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50979 into R*_LP.
50980
50981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50982
50983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50984 sizes into R*_LP.
50985
50986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50987
50988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50989
50990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50991
50992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50993 into R11_LP and load __x86_64_shared_cache_size_half into
50994 R8_LP.
50995
50996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50997
50998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50999 R8_LP.
51000
51001 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51002
51003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51004 logb for POWER7.
51005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51006 logbf for POWER7.
51007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51008 logbl for POWER7.
51009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51010 powerpc32/power7/fpu/s_logb.c via #include.
51011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51012 powerpc32/power7/fpu/s_logbf.c via #include.
51013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51014 powerpc32/power7/fpu/s_logbl.c via #include.
51015
51016 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51017
51018 * README.libm: Remove file.
51019
51020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51021
51022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51023 count for x32. Use R*_LP and omit operand-size suffix.
51024
51025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51026
51027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51029 * sysdeps/x86_64/x32/shlib-versions: New file.
51030
51031 2012-05-14 Roland McGrath <roland@hack.frob.com>
51032
51033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51035 Use _dl_fatal_printf instead.
51036
51037 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51038
51039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51040 set if not set by the user. Do not allow for being unset.
51041 * sysdeps/unix/sysv/linux/configure: Regenerated.
51042
51043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51044
51045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51046 the `q' suffix from lea and replace .quad with ASM_ADDR.
51047
51048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51049
51050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51052 instead of $17.
51053 (PTR_DEMANGLE): Likewise.
51054
51055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51056
51057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51058 (LP_OP): Likewise.
51059 (ASM_ADDR): Likewise.
51060 (RAX_LP): Likewise.
51061 (RBP_LP): Likewise.
51062 (RBX_LP): Likewise.
51063 (RCX_LP): Likewise.
51064 (RDI_LP): Likewise.
51065 (RSI_LP): Likewise.
51066 (RSP_LP): Likewise.
51067 (R8_LP): Likewise.
51068 (R9_LP): Likewise.
51069 (R10_LP): Likewise.
51070 (R10_LP): Likewise.
51071 (R11_LP): Likewise.
51072 (R12_LP): Likewise.
51073 (R13_LP): Likewise.
51074 (R14_LP): Likewise.
51075 (R15_LP): Likewise.
51076
51077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51078
51079 * sysdeps/x86_64/x32/dl-machine.h: New file.
51080
51081 2012-05-14 Andreas Jaeger <aj@suse.de>
51082
51083 * manual/Makefile (subdir): Remove export of subdir.
51084 (all): Remove target.
51085 (.PHONY): Remove all from list.
51086 (mkinstalldirs): Remove.
51087 (.PHONY): Remove installdirs from list.
51088 ($(inst_infodir)/libc.info): Use make-target-directory.
51089 (installdirs): Remove.
51090 (subdir_%): Remove.
51091 (glibc-targets): Remove.
51092 (lib): Remove.
51093 (stubs): Remove.
51094 ($(objpfx)stubs ../po/manual.pot): Remove.
51095 ($(objpfx)stamp%): Remove.
51096 (make-target-directory): Remove.
51097 (subdir_install): Remove.
51098 (routines): Remove.
51099 (aux): Remove.
51100 (sources): Remove.
51101 (objects): Remove.
51102 (headers): Remove.
51103
51104 [BZ #13750]
51105 * manual/.gitignore: Remove, it's not needed anymore.
51106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51107 all files in it.
51108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51109 directory.
51110 (texis): Renamed to $(objpfx)texis.
51111 (texis-path): New, contains path to generated files.
51112 (chapters.%): Use texis-path for complete path, add extra argument
51113 libc-texinfo.sh.
51114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51116 (summary,texi, stamp-summary): Use complete path of
51117 files. Generate files in build dir.
51118 (dir-add.texi): Build in build dir.
51119 (libm-err.texi,stamp-libm-err): Likewise.
51120 (version.texi, stamp-version): Likewise.
51121 (.%c.texi): Likewise.
51122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51123 (mostlyclean): Remove target.
51124 (realclean): Remove target.
51125 (generated): Add new variable with contents from mostlyclean and
51126 realclean, remove entries duplicated in common-mostlyclean, add
51127 stamp-libm-err and stamp-version.
51128 (generated-dirs): Add libc directory.
51129 ($(inst_infodir)/libc.info): Install files from build dir.
51130
51131 * manual/install.texi (Configuring and compiling): Adjust since
51132 the info files are not part of the tar ball anymore.
51133
51134 2012-05-14 Andreas Jaeger <aj@suse.de>
51135
51136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51137 variable.
51138
51139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51140
51141 [BZ #13717]
51142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51143 to 2.2.0 where earlier.
51144 * sysdeps/unix/sysv/linux/configure: Regenerated.
51145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51146 Remove conditional code.
51147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51149 Remove conditional code.
51150 [!__NR_lchown]: Likewise.
51151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51152 [__NR_lchown]: Likewise.
51153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51154 comment referencing __ASSUME_LCHOWN_SYSCALL.
51155 * sysdeps/unix/sysv/linux/i386/sigaction.c
51156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51159 Remove conditional code.
51160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51161 (__protocol_available): Remove #if 0 code.
51162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51163 conditional code.
51164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51165 * sysdeps/unix/sysv/linux/kernel-features.h
51166 (__ASSUME_GETCWD_SYSCALL): Don't define.
51167 (__ASSUME_REALTIME_SIGNALS): Likewise.
51168 (__ASSUME_PREAD_SYSCALL): Likewise.
51169 (__ASSUME_PWRITE_SYSCALL): Likewise.
51170 (__ASSUME_POLL_SYSCALL): Likewise.
51171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51173 non-SPARC.
51174 (__ASSUME_SIOCGIFNAME): Don't define.
51175 (__ASSUME_MSG_NOSIGNAL): Likewise.
51176 (__ASSUME_SENDFILE): Define unconditionally.
51177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51179 conditional code.
51180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51212 Remove conditional code.
51213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51215 Remove conditional code.
51216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51220 Remove conditional code.
51221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51223 Remove conditional code.
51224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51226 Remove conditional code.
51227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51229 Remove conditional code.
51230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51232 Remove conditional code.
51233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51237 * sysdeps/unix/sysv/linux/sigaction.c
51238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51240 * sysdeps/unix/sysv/linux/sigpending.c
51241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51243 * sysdeps/unix/sysv/linux/sigprocmask.c
51244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51246 * sysdeps/unix/sysv/linux/sigsuspend.c
51247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51250 (__libc_missing_rt_sigs): Remove.
51251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51254 Remove conditional code.
51255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51257 return 1.
51258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51262
51263 2012-05-14 Andreas Jaeger <aj@suse.de>
51264
51265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51266 it's not used in glibc.
51267 (__coshm1): Likewise.
51268 (__acosh1p): Likewise.
51269 (__sgn): Likewise.
51270
51271 * manual/string.texi (Copying and Concatenation): Add missing
51272 variable in concat example.
51273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51274
51275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51276
51277 [BZ #14103]
51278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51279 __builtin_clzl with __builtin_clzll.
51280
51281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51282
51283 [BZ #14104]
51284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51285 libc_freeres_ptr.
51286
51287 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51288
51289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51293
51294 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51295
51296 * NEWS: Update ia64 info.
51297
51298 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51299
51300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51301 used as bcopy.
51302
51303 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51304
51305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51306 * sysdeps/unix/syscalls.list (dup3): Likewise.
51307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51309
51310 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51311
51312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51314
51315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51316
51317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51318 thread pointer.
51319 (TLS_IE): Use mov/add instead of movq/addq to load thread
51320 pointer.
51321 (TLS_GD_PREFIX): New.
51322 (TLS_GD): Use it.
51323
51324 2012-05-11 David S. Miller <davem@davemloft.net>
51325
51326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51328 (_FPU_SETCW): Likewise.
51329
51330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51331
51332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51333 is 32-byte aligned.
51334
51335 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51336
51337 [BZ #11837]
51338 * iconvdata/gb18030.c: Update tables.
51339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51340 characters specially.
51341 (BODY for TO_LOOP): Add encoding of missing ranges.
51342
51343 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51344
51345 [BZ #13673]
51346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51347 * sysdeps/mach/hurd/dup3.c: Likewise.
51348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51349 * sysdeps/powerpc/memmove.c:: Likewise.
51350
51351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51352
51353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51355
51356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51357
51358 * elf/elf.h (R_X86_64_RELATIVE64): New.
51359 (R_X86_64_NUM): Updated.
51360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51364 tst-quad1pie tst-quad2pie
51365 (modules-names): Add tst-quadmod1 tst-quadmod2.
51366 ($(objpfx)tst-quad1): New dependency.
51367 ($(objpfx)tst-quad2): Likewise.
51368 ($(objpfx)tst-quad1pie): Likewise.
51369 ($(objpfx)tst-quad2pie): Likewise.
51370 * sysdeps/x86_64/tst-quad1.c: New file.
51371 * sysdeps/x86_64/tst-quad1pie.c: New file.
51372 * sysdeps/x86_64/tst-quad2.c: Likewise.
51373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51378
51379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51380
51381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51383 * streams/stropts.h (t_scalar_t): Define type.
51384
51385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51386 (_PATH_PRESERVE): Set to "/var/lib".
51387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51388
51389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51390 instead of int.
51391
51392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51393 if __dir_mkfile succeeded.
51394
51395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51396 checking for _hurd_dtablesize. Unlock it right after having
51397 finished _hurd_dtable allocation.
51398
51399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51400
51401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51402 * sysdeps/mach/hurd/configure: Regenerated.
51403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51404 special-casing to...
51405 * sysdeps/gnu/configure.in: ... this new file.
51406 * sysdeps/unix/sysv/linux/configure: Regenerated.
51407 * sysdeps/gnu/configure: New generated file.
51408
51409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51410 for Linux: use nsec instead of usec, as well as:
51411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51412 members of type struct timespec.
51413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51414 New macros.
51415 (struct stat64): Likewise.
51416 (_STATBUF_ST_NSEC): New macro.
51417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51418
51419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51420 __strtoul_internal rather than strtoul.
51421
51422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51423
51424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51425 and reject them.
51426
51427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51428
51429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51430 which preserves existing values.
51431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51432
51433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51434
51435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51436 TIMEOUT values. Return EINVAL for NFDS values either negative or
51437 greater than FD_SETSIZE.
51438
51439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51440
51441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51442 allocated, call __vm_protect to finish enabling the existing space, and
51443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51444 allocate the remainder.
51445
51446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51447
51448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51450
51451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51452
51453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51454 sysdeps/mach/hurd/readlink.c.
51455
51456 * posix/tst-sysconf.c (posix_options): Only use
51457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51458 _POSIX_SYNCHRONIZED_IO when they are defined
51459 * sysdeps/mach/hurd/bits/posix_opt.h:
51460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51461 (_XOPEN_REALTIME): Undefine macro.
51462 (_XOPEN_REALTIME_THREADS): Undefine macro.
51463 (_XOPEN_SHM): Undefine macro.
51464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51465 macro to -1.
51466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51467 macro to -1.
51468 (_POSIX_ASYNC_IO): Undefine macro.
51469 (_POSIX_PRIORITIZED_IO): Undefine macro.
51470 (_POSIX_SPIN_LOCKS): Define macro to -1.
51471
51472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51473 SA_NODEFER, SA_RESETHAND.
51474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51476 F_DUPFD_CLOEXEC.
51477
51478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51479
51480 * elf/Makefile (pldd-modules): Define unconditionally.
51481
51482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51483
51484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51485
51486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51487
51488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51489 Return ENOENT when name is empty.
51490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51491
51492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51493
51494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51495
51496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51497
51498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51499
51500 Fix mlock in all cases except non-readable pages.
51501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51502 instead of VM_PROT_ALL as parameter to __vm_wire function.
51503
51504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51505 (__mkdir): When path is `/', just fail with EEXIST.
51506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51507
51508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51509
51510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51511 <sys/uio.h> (for writev).
51512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51513 and <sys/param.h> (for MIN).
51514
51515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51516
51517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51518 REQUESTED_TIME. Properly set the remaining time and return EINTR
51519 if interrupted.
51520
51521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51522
51523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51524 Depend on against $(link-rpcuserlibs).
51525
51526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51527
51528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51529 (__libc_stack_end): Do not use attribute_relro.
51530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51532 to libthread-provided value.
51533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51534 attribute_relro.
51535
51536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51537
51538 [BZ #3748]
51539 * bits/libc-lock.h (__libc_once_get): New macro.
51540 * sysdeps/mach/bits/libc-lock.h: Likewise.
51541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51543 instead of using implementation details.
51544
51545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51546 * libio/freopen.c: Likewise.
51547 * libio/freopen64.c: Likewise.
51548 * misc/syslog.c: Likewise.
51549 * nscd/connections.c: Likewise.
51550 * nscd/netgroupcache.c: Likewise.
51551 * sysdeps/posix/getcwd.c: Likewise.
51552
51553 2012-05-10 Roland McGrath <roland@hack.frob.com>
51554
51555 * math/w_ilogbf.c: Add #include <limits.h>.
51556
51557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51558
51559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51560 path instead of returning without unlocking.
51561
51562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51563 immediate-write ioctls.
51564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51565
51566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51567
51568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51569 __builtin_frame_address instead of making assumptions about the
51570 location of the return address relative to DATA. Force early load of
51571 the return address.
51572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51573 __builtin_frame_address.
51574
51575 dup3 for GNU Hurd.
51576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51578 implement dup3 and do some further code clean-ups.
51579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51581
51582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51583
51584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51585
51586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51591 d->port.lock.
51592
51593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51595 when handler == SIG_ERR, not when handler != SIG_ERR.
51596
51597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51598
51599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51601 definitions.
51602
51603 accept4 for GNU Hurd.
51604 * include/sys/socket.h (__libc_accept4): New prototype.
51605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51606 to implement __libc_accept4.
51607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51608 __libc_accept4.
51609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51610
51611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51614 signal-defines.sym.
51615
51616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51617
51618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51619
51620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51621
51622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51623 assertion on O_CLOEXEC flag.
51624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51625 * hurd/intern-fd.c: Likewise.
51626 * hurd/port2fd.c: Likewise.
51627
51628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51629
51630 [BZ #3906]
51631 * bits/in.h (IPV6_PKTINFO): Define new macro.
51632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51633
51634 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51635
51636 [BZ #13954]
51637 [BZ #13955]
51638 [BZ #13956]
51639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51645 * math/libm-test.inc (logb_test) : Additional logb tests.
51646
51647 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51648 Andreas Jaeger <aj@suse.de>
51649
51650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51651 * configure: Regenerated.
51652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51653 * config.make.in (link-obsolete-rpc): New substituted variable.
51654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51658 so that libc.a contains the symbols.
51659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51661 * sunrpc/auth_none.c: Likewise.
51662 * sunrpc/auth_unix.c: Likewise.
51663 * sunrpc/authdes_prot.c: Likewise.
51664 * sunrpc/authuxprot.c: Likewise.
51665 * sunrpc/clnt_gen.c: Likewise.
51666 * sunrpc/clnt_perr.c: Likewise.
51667 * sunrpc/clnt_raw.c: Likewise.
51668 * sunrpc/clnt_simp.c: Likewise.
51669 * sunrpc/clnt_tcp.c: Likewise.
51670 * sunrpc/clnt_udp.c: Likewise.
51671 * sunrpc/clnt_unix.c: Likewise.
51672 * sunrpc/des_crypt.c: Likewise.
51673 * sunrpc/des_soft.c: Likewise.
51674 * sunrpc/get_myaddr.c: Likewise.
51675 * sunrpc/key_call.c: Likewise.
51676 * sunrpc/key_prot.c: Likewise.
51677 * sunrpc/netname.c: Likewise.
51678 * sunrpc/pm_getmaps.c: Likewise.
51679 * sunrpc/pm_getport.c: Likewise.
51680 * sunrpc/pmap_clnt.c: Likewise.
51681 * sunrpc/pmap_prot.c: Likewise.
51682 * sunrpc/pmap_prot2.c: Likewise.
51683 * sunrpc/pmap_rmt.c: Likewise.
51684 * sunrpc/publickey.c: Likewise.
51685 * sunrpc/rpc_cmsg.c: Likewise.
51686 * sunrpc/rpc_common.c: Likewise.
51687 * sunrpc/rpc_dtable.c: Likewise.
51688 * sunrpc/rpc_prot.c: Likewise.
51689 * sunrpc/rpc_thread.c: Likewise.
51690 * sunrpc/rtime.c: Likewise.
51691 * sunrpc/svc.c: Likewise.
51692 * sunrpc/svc_auth.c: Likewise.
51693 * sunrpc/svc_raw.c: Likewise.
51694 * sunrpc/svc_run.c: Likewise.
51695 * sunrpc/svc_tcp.c: Likewise.
51696 * sunrpc/svc_udp.c: Likewise.
51697 * sunrpc/svc_unix.c: Likewise.
51698 * sunrpc/svcauth_des.c: Likewise.
51699 * sunrpc/xcrypt.c: Likewise.
51700 * sunrpc/xdr.c: Likewise.
51701 * sunrpc/xdr_array.c: Likewise.
51702 * sunrpc/xdr_float.c: Likewise.
51703 * sunrpc/xdr_intXX_t.c: Likewise.
51704 * sunrpc/xdr_mem.c: Likewise.
51705 * sunrpc/xdr_rec.c: Likewise.
51706 * sunrpc/xdr_ref.c: Likewise.
51707 * sunrpc/xdr_sizeof.c: Likewise.
51708 * sunrpc/xdr_stdio.c: Likewise.
51709
51710 2012-05-10 Roland McGrath <roland@hack.frob.com>
51711
51712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51713 change. Update copyright years.
51714
51715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51716
51717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51718
51719 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51720 Joseph Myers <joseph@codesourcery.com>
51721 Paul Pluzhnikov <ppluzhnikov@google.com>
51722
51723 [BZ #14012]
51724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51725 requiring rpcgen.
51726 [cross-compiling] (extra-libs): Likewise.
51727 [cross-compiling] (extra-libs-others): Likewise.
51728 [cross-compiling] (librpcsvc-routines): Likewise.
51729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51730 [cross-compiling] (omit-deps): Likewise.
51731 (sunrpc-CPPFLAGS): New variable.
51732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51734 (cross-rpcgen-objs): New variable.
51735 (extra-objs): Append $(cross-rpcgen-objs).
51736 ($(cross-rpcgen-objs)): New rule.
51737 ($(objpfx)cross-rpcgen): Likewise.
51738 (rpcgen-cmd): Define to use $(built-program-file). Expand
51739 comment.
51740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51741 ($(objpfx)x%.stmp): Likewise.
51742 * sunrpc/proto.h [IS_IN_build] (_): Define.
51743 [IS_IN_build] (_libc_intl_domainname): Likewise.
51744
51745 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51746
51747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51749 and R_X86_64_TPOFF64.
51750
51751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51752
51753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51754 sysdeps/unix/sysv/syscalls.list.
51755 (stime): Likewise.
51756 (utime): Likewise.
51757 * sysdeps/unix/sysv/syscalls.list: Remove file.
51758
51759 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51760
51761 [BZ #3440]
51762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51765 (__LC_IDENTIFICATION): Make these macros useful in #if
51766 expressions, as required by C99.
51767
51768 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51769
51770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51772 after this.
51773
51774 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51775
51776 * stdlib/longlong.h: Updated from GCC.
51777
51778 2012-05-09 Andreas Jaeger <aj@suse.de>
51779
51780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51781 default is first entry.
51782 (run_mode): Set type.
51783 (main): Remove informal message about syslog.
51784 (options): Fix typo.
51785
51786 [BZ #14053]
51787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51788 to asm.
51789 (lrint): Likewise.
51790 (llrintf): Likewise.
51791 (llrint): Likewise.
51792 (rint): Likewise.
51793 (rintf): Likewise.
51794 (nearbyint): Likewise.
51795 (nearbyintf): Likewise.
51796
51797 2012-05-09 Andreas Jaeger <aj@suse.de>
51798 Pedro Alves <palves@redhat.com>
51799
51800 * nscd/nscd.c (run_mode): Use enum.
51801 (main): Cleanup coding style issue.
51802
51803 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51804 Andreas Jaeger <aj@suse.de>
51805
51806 * nscd/nscd.c (go_background): Replaced with...
51807 (run_mode): ... this.
51808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51809 (options): Add -F --foreground.
51810 (main): Implement it.
51811 (parse_opt): Parse it.
51812
51813 2012-05-09 Andreas Jaeger <aj@suse.de>
51814
51815 [BZ #14083]
51816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51818 -Wconversion warning.
51819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51820 Likewise.
51821
51822 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51823
51824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51825 == 0.
51826 (LC_ALL): Use macro-int-constant.
51827 (LC_COLLATE): Likewise.
51828 (LC_CTYPE): Likewise.
51829 (LC_MESSAGES): Likewise.
51830 (LC_MONETARY): Likewise.
51831 (LC_NUMERIC): Likewise.
51832 (LC_TIME): Likewise.
51833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51837 Specify type.
51838 [C99-based standards] (float_t): Expect type.
51839 [C99-based standards] (double_t): Expect type.
51840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51841 type.
51842 [C99-based standards] (HUGE_VALL): Likewise.
51843 [C99-based standards] (INFINITY): Likewise.
51844 [C99-based standards] (NAN): Likewise.
51845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51846 [C99-based standards] (FP_NAN): Likewise.
51847 [C99-based standards] (FP_NORMAL): Likewise.
51848 [C99-based standards] (FP_SUBNORMAL): Likewise.
51849 [C99-based standards] (FP_ZERO): Likewise.
51850 [C99-based standards] (FP_FAST_FMA): Use
51851 optional-macro-int-constant. Specify type. Require == 1.
51852 [C99-based standards] (FP_FAST_FMAF): Likewise.
51853 [C99-based standards] (FP_FAST_FMAL): Likewise.
51854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51855 [C99-based standards] (FP_ILOGBNAN): Likewise.
51856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51857 Specify type.
51858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51859 [C99-based standards] (math_errhandling): Specify type.
51860 [ISO99 || ISO11] (signgam): Do not allow.
51861 [non-C99-based standards] (copysignf): Do not allow.
51862 [non-C99-based standards] (exp2f): Likewise.
51863 [non-C99-based standards] (log2f): Likewise.
51864 [non-C99-based standards] (modff): Allow.
51865 [non-C99-based standards] (erff): Do not allow.
51866 [non-C99-based standards] (erfcf): Likewise.
51867 [non-C99-based standards] (gammaf): Likewise.
51868 [non-C99-based standards] (hypotf): Likewise.
51869 [non-C99-based standards] (j0f): Likewise.
51870 [non-C99-based standards] (j1f): Likewise.
51871 [non-C99-based standards] (jnf): Likewise.
51872 [non-C99-based standards] (lgammaf): Likewise.
51873 [non-C99-based standards] (tgammaf): Likewise.
51874 [non-C99-based standards] (y0f): Likewise.
51875 [non-C99-based standards] (y1f): Likewise.
51876 [non-C99-based standards] (ynf): Likewise.
51877 [non-C99-based standards] (isnanf): Likewise.
51878 [non-C99-based standards] (acoshf): Likewise.
51879 [non-C99-based standards] (asinhf): Likewise.
51880 [non-C99-based standards] (atanhf): Likewise.
51881 [non-C99-based standards] (cbrtf): Likewise.
51882 [non-C99-based standards] (expm1f): Likewise.
51883 [non-C99-based standards] (ilogbf): Likewise.
51884 [non-C99-based standards] (log1pf): Likewise.
51885 [non-C99-based standards] (logbf): Likewise.
51886 [non-C99-based standards] (nextafterf): Likewise.
51887 [non-C99-based standards] (remainderf): Likewise.
51888 [non-C99-based standards] (rintf): Likewise.
51889 [non-C99-based standards] (scalbf): Likewise.
51890 [non-C99-based standards] (copysignl): Likewise.
51891 [non-C99-based standards] (exp2l): Likewise.
51892 [non-C99-based standards] (log2l): Likewise.
51893 [non-C99-based standards] (modfl): Allow.
51894 [non-C99-based standards] (erfl): Do not allow.
51895 [non-C99-based standards] (erfcl): Likewise.
51896 [non-C99-based standards] (gammal): Likewise.
51897 [non-C99-based standards] (hypotl): Likewise.
51898 [non-C99-based standards] (j0l): Likewise.
51899 [non-C99-based standards] (j1l): Likewise.
51900 [non-C99-based standards] (jnl): Likewise.
51901 [non-C99-based standards] (lgammal): Likewise.
51902 [non-C99-based standards] (tgammal): Likewise.
51903 [non-C99-based standards] (y0l): Likewise.
51904 [non-C99-based standards] (y1l): Likewise.
51905 [non-C99-based standards] (ynl): Likewise.
51906 [non-C99-based standards] (isnanl): Likewise.
51907 [non-C99-based standards] (acoshl): Likewise.
51908 [non-C99-based standards] (asinhl): Likewise.
51909 [non-C99-based standards] (atanhl): Likewise.
51910 [non-C99-based standards] (cbrtl): Likewise.
51911 [non-C99-based standards] (expm1l): Likewise.
51912 [non-C99-based standards] (ilogbl): Likewise.
51913 [non-C99-based standards] (log1pl): Likewise.
51914 [non-C99-based standards] (logbl): Likewise.
51915 [non-C99-based standards] (nextafterl): Likewise.
51916 [non-C99-based standards] (remainderl): Likewise.
51917 [non-C99-based standards] (rintl): Likewise.
51918 [non-C99-based standards] (scalbl): Likewise.
51919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51920 [non-C99-based standards] (FP_*): Do not allow.
51921 [C99-based standards] (FP_*): Change to
51922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51924 allow.
51925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51926 (SIG_ERR): Likewise.
51927 [X/Open-based standards] (SIG_HOLD): Likewise.
51928 (SIG_IGN): Likewise.
51929 (SIGABRT): Use macro-int-constant. Specify type. Require
51930 positive value.
51931 (SIGFPE): Likewise.
51932 (SIGILL): Likewise.
51933 (SIGINT): Likewise.
51934 (SIGSEGV): Likewise.
51935 (SIGTER): Likewise.
51936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51954 [X/Open-based standards] (SIGTRAP): Likewise.
51955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51960 allow.
51961
51962 2012-05-08 Ian Wienand <ianw@vmware.com>
51963
51964 [BZ #14080]
51965 * time/tzset.c (__tzset_parse_tz): Update default rules for
51966 daylight time changes in the Energy Policy Act of 2005.
51967
51968 2012-05-09 Andreas Jaeger <aj@suse.de>
51969
51970 [BZ #13983]
51971 * elf/ldconfig.c (parse_conf): Change string to make clear that
51972 ldconfig only issued a warning if ld.so.conf does not exist.
51973
51974 2012-05-08 David S. Miller <davem@davemloft.net>
51975
51976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51977 movxtod instead of popping the value on the stack.
51978
51979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51980
51981 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51982
51983 * config.h.in: Add HAVE_ARM_PCS_VFP.
51984
51985 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51986
51987 [BZ #13979]
51988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51989 checking but the checks are disabled for any reason.
51990
51991 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51992
51993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51994 and ELF64_R_TYPE with ELFW(R_TYPE).
51995
51996 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51997
51998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51999 (ulimit): Likewise.
52000
52001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52002 (settimeofday): Likewise.
52003
52004 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52005
52006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52007 a struct th_u2 inside the union, and move tu_block/tu_code into
52008 a new th_u3 union of tu_block/tu_code inside of that. Move
52009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52013 (th_stuff): Change to th_u1.tu_stuff.
52014 (th_data): Define.
52015 (th_msg): Change to th_u1.th_u2.tu_data.
52016
52017 2012-05-07 David S. Miller <davem@davemloft.net>
52018
52019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52020
52021 [BZ #14074]
52022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52023 (SETUP_PIC_REG): Use it.
52024 (SETUP_PIC_REG_LEAF): Use it.
52025
52026 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52027
52028 [BZ #13885]
52029 [BZ #13923]
52030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52031 USE_AS_EXPM1L.
52032 (EXPL_FINITE): Likewise.
52033 (FLDLOG): Likewise.
52034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52036 e_expl.S.
52037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52038 USE_AS_EXPM1L.
52039 (EXPL_FINITE): Likewise.
52040 (FLDLOG): Likewise.
52041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52043 e_expl.S.
52044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52045 test of -max_value argument for long double.
52046 * sysdeps/i386/fpu/libm-test-ulps: Update.
52047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52048
52049 2012-05-06 David S. Miller <davem@davemloft.net>
52050
52051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52052 quad soft-float symbols whose references which are compiler
52053 generated.
52054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52055
52056 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52057
52058 [BZ #13884]
52059 [BZ #13914]
52060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52061 USE_AS_EXP10L.
52062 (EXPL_FINITE): Likewise.
52063 (FLDLOG): Likewise.
52064 (c0): Likewise.
52065 (c1): Likewise.
52066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52067 Adjust comments for base varying.
52068 (__expl_finite): Change alias to EXPL_FINITE.
52069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52070 e_expl.S.
52071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52076 USE_AS_EXP10L.
52077 (EXPL_FINITE): Likewise.
52078 (FLDLOG): Likewise.
52079 (c0): Likewise.
52080 (c1): Likewise.
52081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52082 Adjust comments for base varying.
52083 (__expl_finite): Change alias to EXPL_FINITE.
52084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52085 tests for bugs.
52086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52087
52088 [BZ #14064]
52089 * math/libm-test.inc (check_float_internal): Correct ulp
52090 calculation for subnormal expected results.
52091
52092 2012-05-06 Andreas Jaeger <aj@suse.de>
52093
52094 * Makeconfig (+math-flags): New, set to -frounding-math.
52095 (+cflags): Add +math-flags so that all of glibc gets compiled with
52096 it.
52097
52098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52099
52100 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52101
52102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52103 Disable one test.
52104
52105 [BZ #13787]
52106 [BZ #13922]
52107 [BZ #14036]
52108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52109 (__ieee754_expl): Allow for and saturate large arguments.
52110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52111 (u_threshold): Likewise.
52112 (__exp): Call __ieee754_exp before checking for overflow and
52113 underflow.
52114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52115 (u_threshold): Likewise.
52116 (__expf): Call __ieee754_expf before checking for overflow and
52117 underflow.
52118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52119 (u_threshold): Likewise.
52120 (__expl): Call __ieee754_expl before checking for overflow and
52121 underflow.
52122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52123 (__ieee754_expl): Allow for and saturate large arguments.
52124 * math/libm-test.inc (exp_test): Add another test. Do not allow
52125 missing overflow exception on overflow.
52126 (expm1_test): Do not allow missing overflow exception on overflow.
52127
52128 * sysdeps/i386/fpu/e_expl.c: Move to ...
52129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52130 rather than using inline asm.
52131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52134
52135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52136 (nice): Likewise.
52137 (poll): Likewise.
52138 (signal): Likewise.
52139 (time): Likewise.
52140 (times): Likewise.
52141
52142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52143
52144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52145 sysdeps/unix/common/syscalls.list.
52146 (fchmod): Likewise.
52147 (fchown): Likewise.
52148 (ftruncate): Likewise.
52149 (getrusage): Likewise.
52150 (gettimeofday): Likewise.
52151 (setpgid): Likewise.
52152 (setregid): Likewise.
52153 (setreuid): Likewise.
52154 (sigaction): Likewise.
52155 (truncate): Likewise.
52156 (vhangup): Likewise.
52157 * sysdeps/unix/common/syscalls.list: Remove file.
52158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52159 * sysdeps/unix/sysv/linux/Implies: Likewise.
52160
52161 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52162
52163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52166 Moved to ...
52167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52168 Here.
52169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52170 to ...
52171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52173 to ...
52174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52176 to ...
52177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52179 to ...
52180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52182 to ...
52183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52185 to ...
52186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52188 to ...
52189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52190 Here.
52191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52192 to ...
52193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52194 Here.
52195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52196 to ...
52197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52199 Moved to ...
52200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52201 Here.
52202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52203 to ...
52204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52205
52206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52207
52208 * sysdeps/unix/common/bits/dirent.h: Remove file.
52209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52210
52211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52214 * sysdeps/unix/bsd/isatty.c: Likewise.
52215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52218
52219 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52220
52221 [BZ #13563]
52222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52223 long double comparison inaccuracies.
52224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52226
52227 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52228
52229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52231
52232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52233
52234 [BZ #14049]
52235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52236 nonzero digits before rounding a hex value.
52237 * stdlib/tst-strtod.c (tests): Add another test.
52238
52239 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52240
52241 * sysdeps/s390/fpu/libm-test-ulps: Update.
52242
52243 2012-05-03 Andreas Jaeger <aj@suse.de>
52244
52245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52246 does not get optimized out.
52247 (malloc_opt_barrier): New.
52248
52249 2012-05-03 Andreas Jaeger <aj@suse.de>
52250 Roland McGrath <roland@hack.frob.com>
52251
52252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52253 intermediate file deletion.
52254 (generated): Add .symlist files.
52255
52256 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52257
52258 [BZ #13775]
52259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52260 Redirect under this condition.
52261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52262 [__USE_GNU] (__dprintf_chk): Not under this condition.
52263 [__USE_GNU] (__vdprintf_chk): Likewise.
52264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52265 under this condition.
52266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52268 [__USE_XOPEN2K8] (vdprintf): Likewise.
52269 [__USE_GNU] (__dprintf_chk): Not under this condition.
52270 [__USE_GNU] (__vdprintf_chk): Likewise.
52271 [__USE_GNU] (dprintf): Likewise.
52272 [__USE_GNU] (vdprintf): Likewise.
52273
52274 2012-05-03 Roland McGrath <roland@hack.frob.com>
52275
52276 * elf/Makefile (common-generated): Set this instead of generated for
52277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52278 $(all-built-dso)-derived lists.
52279
52280 2012-05-03 Andreas Jaeger <aj@suse.de>
52281
52282 * sysdeps/i386/fpu/libm-test-ulps: Update.
52283
52284 * FAQ: Removed.
52285 * FAQ.in: Likewise.
52286 * scripts/gen-FAQ.pl: Likewise.
52287 * manual/install.texi (Installation): Point to online location of
52288 FAQ.
52289 * Makefile (files-for-dist): Remove FAQ.
52290 (FAQ): Remove.
52291
52292 2012-05-02 Allan McRae <allan@archlinux.org>
52293
52294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52295 (LDFLAGS-reldepmod5.so): Likewise.
52296 (LDFLAGS-reldep6mod1.so): Likewise.
52297 (LDFLAGS-reldep6mod4.so): Likewise.
52298 (LDFLAGS-reldep8mod3.so): Likewise.
52299 (LDFLAGS-unload4mod1.so): Likewise.
52300 (LDFLAGS-unload4mod2.so): Likewise.
52301 (LDFLAGS-tst-initorder): Likewise.
52302 (LDFLAGS-tst-initordera2.so): Likewise.
52303 (LDFLAGS-tst-initordera3.so): Likewise.
52304 (LDFLAGS-tst-initordera4.so): Likewise.
52305 (LDFLAGS-tst-initorderb2.so): Likewise.
52306 (LDFLAGS-noload): Likewise.
52307 (LDFLAGS-next): Likewise.
52308 (LDFLAGS-order2mod1.so): Likewise.
52309 (LDFLAGS-order2mod2.so): Likewise.
52310 (LDFLAGS-tst-initorder2): Likewise.
52311 (LDFLAGS-tst-initorder2a.so): Likewise.
52312 (LDFLAGS-tst-initorder2b.so): Likewise.
52313 (LDFLAGS-tst-initorder2c.so): Likewise.
52314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52315
52316 2012-05-02 David S. Miller <davem@davemloft.net>
52317
52318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52319
52320 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52321
52322 [BZ #14055]
52323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52324
52325 2012-05-02 Andreas Jaeger <aj@suse.de>
52326
52327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52328 since we manipulate rounding mode.
52329 (CPPFLAGS-test-idouble.c): Likewise.
52330 (CPPFLAGS-test-ifloat.c): Likewise.
52331 (CFLAGS-test-ldouble.c): Likewise.
52332 (CFLAGS-test-double.c): Likewise.
52333 (CFLAGS-test-float.c): Likewise.
52334 (CFLAGS-test-misc.c): Likewise.
52335 (CFLAGS-test-test-fenv.c): Likewise.
52336
52337 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52338
52339 [BZ #2550]
52340 [BZ #2570]
52341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52342 comparisons to determine direction to adjust input.
52343
52344 2012-05-01 Roland McGrath <roland@hack.frob.com>
52345
52346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52347 output to the target.
52348
52349 * scripts/localplt.awk: New file.
52350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52351 (check-localplt-CFLAGS): Variable removed.
52352 ($(all-built-dso:=.jmprel)): New static pattern rule.
52353 (generated): Add those targets.
52354 (localplt-built-dso): New variable.
52355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52356
52357 * elf/check-localplt.c: File removed.
52358
52359 * scripts/check-execstack.awk: New file.
52360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52361 (check-execstack-CFLAGS): Variable removed.
52362 ($(objpfx)check-execstack.h): Target removed.
52363 ($(objpfx)execstack-default): New target.
52364 (generated): Add that instead of check-execstack.h.
52365 ($(all-built-dso:=.phdr)): New static pattern rule.
52366 (generated): Add those targets.
52367 * elf/check-execstack.c: File removed.
52368
52369 * scripts/check-textrel.awk: New file.
52370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52371 (check-textrel-CFLAGS): Variable removed.
52372 (all-built-dso): Use := to define.o
52373 ($(all-built-dso:=.dyn)): New static pattern rule.
52374 (generated): Add those targets.
52375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52376 * config.make.in (READELF): New substituted variable.
52377 * elf/check-textrel.c: File removed.
52378
52379 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52380
52381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52382 allow.
52383 * conform/data/ctype.h-data [C99-based standards] (isblank):
52384 Expect function.
52385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52389 Specify type. Require positive value.
52390 (EILSEQ): Likewise.
52391 (ERANGE): Likewise.
52392 [ISO || POSIX] (EILSEQ): Do not expect.
52393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52394 Specify type. Require positive value.
52395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52472 Require >= 2.
52473 (FLT_ROUNDS): Expect as macro, not constant.
52474 (FLT_MANT_DIG): Use macro-int-constant.
52475 (DBL_MANT_DIG): Likewise.
52476 (LDBL_MANT_DIG): Likewise.
52477 (FLT_DIG): Likewise.
52478 (DBL_DIG): Likewise.
52479 (LDBL_DIG): Likewise.
52480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52481 (DBL_MIN_EXP): Likewise.
52482 (LDBL_MIN_EXP): Likewise.
52483 (FLT_MAX_EXP): Use macro-int-constant.
52484 (DBL_MAX_EXP): Likewise.
52485 (LDBL_MAX_EXP): Likewise.
52486 (FLT_MAX_10_EXP): Likewise.
52487 (DBL_MAX_10_EXP): Likewise.
52488 (LDBL_MAX_10_EXP): Likewise.
52489 (FLT_MAX): Use macro-constant.
52490 (DBL_MAX): Likewise.
52491 (LDBL_MAX): Likewise.
52492 (FLT_EPSILON): Use macro-constant. Give upper bound.
52493 (DBL_EPSILON): Likewise.
52494 (LDBL_EPSILON): Likewise.
52495 (FLT_MIN): Likewise.
52496 (DBL_MIN): Likewise.
52497 (LDBL_MIN): Likewise.
52498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52507 [ISO11] (FLT_TRUE_MIN): Likewise.
52508 [ISO11] (LDBL_TRUE_MIN): Likewise.
52509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52511 (SCHAR_MIN): Use macro-int-constant. Specify type.
52512 (SCHAR_MAX): Likewise.
52513 (UCHAR_MAX): Likewise.
52514 (CHAR_MIN): Likewise.
52515 (CHAR_MAX): Likewise.
52516 (MB_LEN_MAX): Use macro-int-constant.
52517 (SHRT_MIN): Use macro-int-constant. Specify type.
52518 (SHRT_MAX): Likewise.
52519 (USHRT_MAX): Likewise.
52520 (INT_MAX): Likewise.
52521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52522 bound negative.
52523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52524 bound with "U".
52525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52526 bound with "L".
52527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52528 bound negative. Suffix upper bound with "L".
52529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52530 bound with "UL".
52531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52532 Specify type.
52533 [C99-based standards] (LLONG_MAX): Likewise.
52534 [C99-based standards] (ULLONG_MAX): Likewise.
52535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52536 == 0.
52537 [ISO11] (max_align_t): Require type.
52538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52539
52540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52541 from $CFLAGS, without defining away __attribute__ calls.
52542 (checknamespace): Use $CFLAGS_namespace.
52543
52544 * conform/conformtest.pl (@keywords): Only include C99 keywords
52545 for standards based on C99 or C11.
52546
52547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52548 Disable tests.
52549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52550 UNIX98]: Likewise.
52551
52552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52553 usability of symbols in #if.
52554
52555 * conform/conformtest.pl: If macro or constant types start
52556 "promoted:", expect the symbol to be of the following type
52557 promoted by the integer promotions.
52558
52559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52560 in one place. Also handle "macro-constant".
52561
52562 * conform/conformtest.pl: Only accept expected macro values with
52563 "==". Parse all "macro" lines in one place.
52564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52565
52566 * conform/conformtest.pl: Handle braced types on "constant" lines
52567 instead of handling "typed-constant".
52568 * conform/data/signal.h-data: Use "constant" instead of
52569 "typed-constant".
52570
52571 * conform/conformtest.pl: Handle "optional-" at start of lines in
52572 one place rather than duplicating several cases. Handle each
52573 format of "macro" line with initial "optional-".
52574
52575 * conform/conformtest.pl: Only accept expected constant or
52576 optional-constant values with "==". Parse all "constant" lines in
52577 one place. Parse all "optional-constant" lines in one place.
52578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52579 * conform/data/fmtmsg.h-data: Likewise.
52580 * conform/data/netinet/in.h-data: Likewise.
52581 * conform/data/tar.h-data: Likewise.
52582 * conform/data/limits.h-data: Use "==" form on "constant" and
52583 "optional-constant" lines.
52584
52585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52586 Use -std=c99 for XOPEN2K.
52587 (@knownproblems): Remove.
52588 (newtoken): Don't check %isknown.
52589
52590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52591 Do not expect macro.
52592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52622 [XPG3] (acosh): Likewise.
52623 [XPG3] (asinh): Likewise.
52624 [XPG3] (atanh): Likewise.
52625 [XPG3] (cbrt): Likewise.
52626 [XPG3] (expm1): Likewise.
52627 [XPG3] (ilogb): Likewise.
52628 [XPG3] (log1p): Likewise.
52629 [XPG3] (logb): Likewise.
52630 [XPG3] (nextafter): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52633 [XPG3] (remainder): Likewise.
52634 [XPG3] (rint): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52642 [UNIX98 || XOPEN2K] (scalb): Expect.
52643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52780
52781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52782 _XOPEN_SOURCE_EXTENDED for XPG4.
52783
52784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52785
52786 * Makeconfig (localtime): Remove variable.
52787 (inst_localtime-file): Likewise.
52788
52789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52790
52791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52792 Update.
52793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52794 Update.
52795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52796 Update.
52797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52798 Update.
52799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52800 Update.
52801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52802 Update.
52803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52804 Update.
52805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52806 Update.
52807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52808 Update.
52809
52810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52811
52812 [BZ #2550]
52813 [BZ #2570]
52814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52815 comparisons to determine direction to adjust input.
52816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52819 Likewise.
52820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52821 Likewise.
52822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52823 Likewise.
52824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52826 Likewise.
52827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52828 Likewise.
52829 * math/libm-test.inc (nexttoward_test): Add more tests.
52830
52831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52832
52833 [BZ #14040]
52834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52835 in version GLIBC_2.1, not GLIBC_2.0.
52836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52837 Likewise.
52838
52839 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52840
52841 [BZ #13942]
52842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52843 (1 - x) * (1 + x).
52844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52846 * math/libm-test.inc (acos_test): Add more tests.
52847 (asin_test): Likewise.
52848 * sysdeps/i386/fpu/libm-test-ulps: Update.
52849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52850
52851 [BZ #14034]
52852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52853 of square root.
52854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52856 * math/libm-test.inc (acos_test_tonearest): New function.
52857 (acos_test_towardzero): Likewise.
52858 (acos_test_downward): Likewise.
52859 (acos_test_upward): Likewise.
52860 (asin_test_tonearest): Likewise.
52861 (asin_test_towardzero): Likewise.
52862 (asin_test_downward): Likewise.
52863 (asin_test_upward): Likewise.
52864 (main): Call the new functions.
52865 * sysdeps/i386/fpu/libm-test-ulps: Update.
52866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52867
52868 [BZ #13884]
52869 [BZ #13924]
52870 * math/e_exp10.c: Include <float.h>.
52871 (__ieee754_exp10): Handle underflow here rather than multiplying
52872 large negative argument by M_LN10.
52873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52874 of __ieee754_expf.
52875 * math/e_exp10l.c: Include <float.h>.
52876 (__ieee754_exp10l): Handle underflow here rather than multiplying
52877 large negative argument by M_LN10l.
52878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52879 spurious overflow exception on underflow.
52880
52881 2012-04-29 Marek Polacek <polacek@redhat.com>
52882
52883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52884 (__fortify_function): New macro.
52885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52887 __extern_always_inline.
52888 * libio/bits/stdio2.h: Likewise.
52889 * libio/bits/stdio.h: Likewise.
52890 * string/string.h: Likewise.
52891 * string/bits/string3.h: Likewise.
52892 * include/stdio.h: Likewise.
52893 * stdlib/bits/stdlib.h: Likewise.
52894 * stdlib/stdlib.h: Likewise.
52895 * rt/bits/mqueue2.h: Likewise.
52896 * rt/mqueue.h: Likewise.
52897 * posix/bits/unistd.h: Likewise.
52898 * posix/unistd.h: Likewise.
52899 * io/bits/poll2.h: Likewise.
52900 * io/bits/fcntl2.h: Likewise.
52901 * io/fcntl.h: Likewise.
52902 * io/sys/poll.h: Likewise.
52903 * misc/bits/syslog.h: Likewise.
52904 * misc/bits/syslog-ldbl.h: Likewise.
52905 * misc/sys/syslog.h: Likewise.
52906 * socket/bits/socket2.h: Likewise.
52907 * socket/sys/socket.h: Likewise.
52908 * debug/tst-chk1.c: Likewise.
52909 * wcsmbs/bits/wchar2.h: Likewise.
52910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52911 * wcsmbs/wchar.h: Likewise.
52912
52913 2012-04-29 Andreas Jaeger <aj@suse.de>
52914
52915 * Makerules (tests): Remove enable-check-abi protection.
52916 (check-abi-warn): Remove.
52917 (check-abi-%): Remove check-abi-warn usage.
52918
52919 * configure.in: Remove check-abi configure option.
52920 * configure: Regenerated.
52921 * config.make.in (enable-check-abi): Remove.
52922
52923 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52924
52925 [BZ #14033]
52926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52927 double functions to double *_finite functions.
52928
52929 [BZ #13941]
52930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52932 LDBL_MIN_EXP.
52933 * stdio-common/Makefile (tests): Add tst-sprintf3.
52934 * stdio-common/tst-sprintf3.c: New file.
52935
52936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52938
52939 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52940
52941 * conform/conformtest.pl: Remove duplicate typed-constant
52942 handling.
52943
52944 2012-04-28 David S. Miller <davem@davemloft.net>
52945
52946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52947 (check-abi-%): Remove AWK script prerequisite and explicit
52948 abilist directory.
52949 (check-abi): Rewrite to just diff the symlist with the abilist.
52950 (config-tls, config-abi-config): Delete, no longer used.
52951 (update-abi-%): Remove AWK script and explicit abilist directory.
52952 (update-abi): Rewrite to simply compare and conditionally copy the
52953 symlist and the sysdep abilist file. Remove update-abi-config
52954 checks.
52955 * abilist/ld.abilist: Remove.
52956 * abilist/libBrokenLocale.abilist: Remove.
52957 * abilist/libanl.abilist: Remove.
52958 * abilist/libcrypt.abilist: Remove.
52959 * abilist/libdl.abilist: Remove.
52960 * abilist/librt.abilist: Remove.
52961 * abilist/libthread_db.abilist: Remove.
52962 * abilist/libutil.abilist: Remove.
52963 * scripts/extract-abilist.awk: Remove.
52964 * scripts/merge-abilist.awk: Remove.
52965 * sysdeps/generic/libcidn.abilist: New file.
52966 * sysdeps/generic/libnss_compat.abilist: New file.
52967 * sysdeps/generic/libnss_db.abilist: New file.
52968 * sysdeps/generic/libnss_dns.abilist: New file.
52969 * sysdeps/generic/libnss_files.abilist: New file.
52970 * sysdeps/generic/libnss_hesiod.abilist: New file.
52971 * sysdeps/generic/libnss_nis.abilist: New file.
52972 * sysdeps/generic/libnss_nisplus.abilist: New file.
52973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52976 file.
52977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52986 file.
52987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52991 file.
52992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52998 file.
52999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53002 file.
53003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53005 New file.
53006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53007 New file.
53008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53009 New file.
53010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53011 New file.
53012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53013 New file.
53014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53015 New file.
53016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53017 New file.
53018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53019 New file.
53020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53021 New file.
53022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53023 New file.
53024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53025 New file.
53026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53027 New file.
53028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53029 New file.
53030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53031 file.
53032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53033 New file.
53034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53035 New file.
53036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53037 file.
53038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53039 New file.
53040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53041 New file.
53042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53043 file.
53044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53045 New file.
53046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53047 New file.
53048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53049 New file.
53050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53051 New file.
53052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53053 New file.
53054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53055 New file.
53056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53058 file.
53059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53060 New file.
53061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53062 file.
53063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53064 file.
53065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53066 file.
53067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53068 file.
53069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53070 file.
53071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53072 New file.
53073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53074 file.
53075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53076 file.
53077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53078 New file.
53079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53080 file.
53081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53083 file.
53084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53085 New file.
53086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53087 file.
53088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53089 file.
53090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53091 file.
53092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53093 file.
53094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53095 file.
53096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53097 New file.
53098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53099 file.
53100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53101 file.
53102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53103 New file.
53104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53105 file.
53106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53109 file.
53110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53122 file.
53123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53124 New file.
53125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53126 file.
53127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53128 file.
53129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53130 file.
53131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53132 file.
53133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53134 file.
53135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53136 New file.
53137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53138 New file.
53139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53140 file.
53141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53142 New file.
53143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53144 file.
53145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53147 file.
53148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53149 New file.
53150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53151 file.
53152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53153 file.
53154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53155 file.
53156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53157 file.
53158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53159 file.
53160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53161 New file.
53162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53163 New file.
53164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53165 file.
53166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53167 New file.
53168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53169 file.
53170
53171 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53172
53173 * conform/conformtest.pl: Fix typo in handling typed-constant from
53174 allow-header.
53175
53176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53177
53178 * README: Cut down references to pre-2.6 Linux kernels and
53179 Linuxthreads. Update lists of configurations in libc and ports
53180 and sort alphabetically. Say "or newer" with Linux kernel version
53181 requirements.
53182
53183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53184
53185 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53186
53187 [BZ #887]
53188 * math/libm-test.inc (logb_test_downward): New test to expose
53189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53190 rounding mode.
53191
53192 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53193
53194 [BZ #14027]
53195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53196 to be done.
53197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53199
53200 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53201
53202 * sysdeps/unix/i386/brk.S: Remove file.
53203 * sysdeps/unix/i386/dl-brk.S: Likewise.
53204 * sysdeps/unix/i386/pipe.S: Likewise.
53205 * sysdeps/unix/i386/sigreturn.S: Likewise.
53206 * sysdeps/unix/i386/syscall.S: Likewise.
53207 * sysdeps/unix/i386/vfork.S: Likewise.
53208 * sysdeps/unix/i386/wait.S: Likewise.
53209
53210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53212
53213 * configure.in (arm*-none*): Do not allow without
53214 --enable-hacker-mode.
53215 (netbsd*): Remove case setting base_os.
53216 (386bsd*): Likewise.
53217 (freebsd*): Likewise.
53218 (bsdi*): Likewise.
53219 (osf*): Likewise.
53220 (sunos*): Likewise.
53221 (ultrix*): Likewise.
53222 (newsos*): Likewise.
53223 (dynix*): Likewise.
53224 (*bsd*): Likewise.
53225 (sysv*): Likewise.
53226 (isc*): Likewise.
53227 (esix*): Likewise.
53228 (sco*): Likewise.
53229 (minix*): Likewise.
53230 (irix4*): Likewise.
53231 (irix6*): Likewise.
53232 (solaris[2-9]*): Likewise.
53233 (none): Likewise.
53234 * configure: Regenerated.
53235
53236 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53237
53238 [BZ #11521]
53239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53240 overflow or cancellation in calculating denominator.
53241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53243 down expression to avoid unexpected rounding in newer GCCs.
53244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53245
53246 2012-04-26 David S. Miller <davem@davemloft.net>
53247
53248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53249 long-double compat symbols.
53250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53263
53264 2012-04-25 David S. Miller <davem@davemloft.net>
53265
53266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53267 HWCAP_* values only after the memory barriers have been defined.
53268 (atomic_full_barrier): Define.
53269 (atomic_read_barrier): Define.
53270 (atomic_write_barrier): Define.
53271
53272 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53273
53274 * shlib-versions: Add libgcc_s version information.
53275 * sysdeps/generic/libgcc_s.h: Remove.
53276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53277 libgcc_s.h.
53278 * sysdeps/gnu/unwind-resume.c: Likewise.
53279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53280
53281 2012-04-25 David S. Miller <davem@davemloft.net>
53282
53283 * sysdeps/unix/sparc/brk.S: Delete.
53284 * sysdeps/unix/sparc/dl-brk.S: Delete.
53285 * sysdeps/unix/sparc/pipe.S: Delete.
53286 * sysdeps/unix/sparc/sysdep.S: Delete.
53287 * sysdeps/unix/sparc/sysdep.h: Delete.
53288 * sysdeps/unix/sparc/vfork.S: Delete.
53289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53290 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53292 (ret_ERRVAL, r0, r1, MOVE): Define.
53293 (JUMPTARGET): Remove.
53294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53295 sysdeps/unix/sparc/sysdep.h
53296 (ENTRY, END): Remove.
53297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53298
53299 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53300
53301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53303 -DIS_IN_build.
53304
53305 * timezone/README: Update upstream location and email address for
53306 tzcode and tzdata.
53307 * timezone/zdump.c: Update from tzcode 2012b.
53308 * timezone/zic.c: Likewise.
53309
53310 * configure.in (libc_cv_as_needed): Remove test.
53311 * configure: Regenerated.
53312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53313 conditional definition.
53314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53316 * config.make.in (have-as-needed): Remove variable.
53317
53318 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53319 Paul Pluzhnikov <ppluzhnikov@google.com>
53320
53321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53322 strings correctly.
53323
53324 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53325
53326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53328 * sysdeps/sh/strlen.S: Likewise.
53329
53330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53331
53332 * sysdeps/unix/fork.S: Remove file.
53333 * sysdeps/unix/i386/fork.S: Likewise.
53334 * sysdeps/unix/sparc/fork.S: Likewise.
53335
53336 * sysdeps/unix/system.c: Remove file.
53337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53338
53339 * sysdeps/unix/getegid.S: Remove file.
53340 * sysdeps/unix/geteuid.S: Likewise.
53341
53342 2012-04-24 Roland McGrath <roland@hack.frob.com>
53343
53344 * scripts/check-localplt.awk: New file.
53345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53346 of diff.
53347 * scripts/data/localplt-generic.data: Add a comment.
53348
53349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53350 NODE when __dir_mkfile failed.
53351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53352 Reported by Ludovic Courtès <ludo@gnu.org>.
53353
53354 2012-04-24 Andreas Jaeger <aj@suse.de>
53355
53356 * Makerules (common-clean): Also remove gen-as-const-headers
53357 files.
53358
53359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53360
53361 * Makerules (native-compile): Do not change working directory for
53362 build. Use $(OUTPUT_OPTION) in command.
53363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53364
53365 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53366
53367 [BZ #13886]
53368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53370 * math/libm-test.inc (floor_test): Add more tests.
53371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53372
53373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53374
53375 * sysdeps/unix/getdents.c: Remove file.
53376 * sysdeps/unix/sysv/getdents.c: Likewise.
53377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53378
53379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53380 sysdeps/unix/mman/syscalls.list.
53381 (mmap): Likewise.
53382 (mprotect): Likewise.
53383 (msync): Likewise.
53384 (munmap): Likewise.
53385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53386 * sysdeps/unix/mman/syscalls.list: Remove.
53387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53388
53389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53391 * configure: Regenerated.
53392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53393 $(libgcc_s_suffix).
53394 * config.make.in (libgcc_s_suffix): Remove variable.
53395
53396 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53397
53398 * sysdeps/unix/sysv/gethostname.c: Move to ...
53399 * sysdeps/posix/gethostname.c: ... here.
53400
53401 * sysdeps/unix/execve.S: Remove file.
53402
53403 * sysdeps/unix/_exit.S: Remove file.
53404
53405 2012-04-23 Andreas Jaeger <aj@suse.de>
53406
53407 [BZ #13739]
53408 * manual/Makefile: Remove make dist support, there's no
53409 need for a stand-alone documentation tar ball.
53410 (TEXI2DVI): Define always, it's not in Makeconfig.
53411 (dist): Removed.
53412 (tar-it): Removed.
53413 (edition): Removed.
53414 (glibc-doc-$(edition).tar): Removed
53415 (%.Z): Removed.
53416 (%.gz): Removed.
53417 (%.uu): Removed.
53418 (ETAGS): Remove, it's in Makeconfig.
53419 (move-if-change): Remove, it's in Makeconfig.
53420
53421 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53422
53423 [BZ #13970]
53424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53427 (strtod_l, strtof_l, strtold_l): Remove __wur.
53428 It is not necessarily an error to ignore strtol's return value.
53429 One can reliably look at the stored endptr to decide whether
53430 the number had valid syntax.
53431
53432 2012-04-21 Andreas Jaeger <aj@suse.de>
53433
53434 [BZ #13739]
53435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53436
53437 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53438
53439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53440 * sysdeps/unix/sysv/Versions: Remove file.
53441
53442 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53443
53444 [BZ #13927]
53445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53446
53447 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53448
53449 [BZ #7064]
53450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53451 version from __vm86.
53452
53453 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53454
53455 * sysdeps/unix/common/lxstat.c: Remove file.
53456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53457
53458 * sysdeps/unix/sysv/Makefile: Remove file.
53459
53460 * sysdeps/unix/sysv/direct.h: Remove file.
53461
53462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53469
53470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53471
53472 * sysdeps/unix/xmknod.c: Remove file.
53473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53474
53475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53476
53477 * sysdeps/unix/sysv/i386/time.S: Remove file.
53478
53479 * sysdeps/unix/fxstat.c: Remove file.
53480 * sysdeps/unix/xstat.c: Likewise.
53481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53482
53483 * sysdeps/unix/sysv/sigaction.c: Remove file.
53484
53485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53486 (sysdep_headers): Remove variable.
53487 [termio.h not in sysdep_headers] (generated): Likewise.
53488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53491 * sysdeps/unix/sysv/tcflow.c: Likewise.
53492 * sysdeps/unix/sysv/tcflush.c: Likewise.
53493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53498
53499 * sysdeps/unix/siglist.c: Remove file.
53500
53501 * sysdeps/unix/getppid.S: Remove file.
53502
53503 * sysdeps/unix/mkdir.c: Remove file.
53504 * sysdeps/unix/rmdir.c: Likewise.
53505
53506 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53507
53508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53509 ERR_MAX value.
53510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53511 errlist-compat value.
53512
53513 2012-04-18 David S. Miller <davem@davemloft.net>
53514
53515 * sysdeps/generic/memcopy.h (reg_char): Delete.
53516 * debug/strcat_chk.c: Use char, not reg_char.
53517 * debug/strcpy_chk.c: Likewise.
53518 * debug/strncat_chk.c: Likewise.
53519 * debug/strncpy_chk.c: Likewise.
53520 * string/memchr.c: Likewise.
53521 * string/memrchr.c: Likewise.
53522 * string/rawmemchr.c: Likewise.
53523 * string/strcat.c: Likewise.
53524 * string/strchr.c: Likewise.
53525 * string/strchrnul.c: Likewise.
53526 * string/strcmp.c: Likewise.
53527 * string/strcpy.c: Likewise.
53528 * string/strncat.c: Likewise.
53529 * string/strncmp.c: Likewise.
53530 * string/strncpy.c: Likewise.
53531
53532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53533
53534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53535 __builtin_memcopy is called when src and dest ranges are known to not
53536 overlap.
53537
53538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53539
53540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53542 fwd_align_merge macro call.
53543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53544 bwd_align_merge macro call.
53545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53546
53547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53548
53549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53550 bwd_align_merge macros.
53551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53554
53555 2012-04-18 David S. Miller <davem@davemloft.net>
53556
53557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53558
53559 2012-04-18 Andreas Jaeger <aj@suse.de>
53560
53561 [BZ# 6794]
53562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53565
53566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53569
53570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53572 Adjust for changed ldbl-128 files.
53573
53574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53577
53578 2012-04-17 David S. Miller <davem@davemloft.net>
53579
53580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53581
53582 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53583
53584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53590
53591 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53592
53593 [BZ #6794]
53594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53595 * math/libm-test.inc: Add ilogb errno and exception tests.
53596 * math/w_ilogb.c: New file: ilogb wrapper.
53597 * math/w_ilogbf.c: New file: ilogbf wrapper.
53598 * math/w_ilogbl.c: New file: ilogbl wrapper.
53599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53602 exception being thrown with 0.0 as argument.
53603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53605 exception being thrown with 0.0 as argument.
53606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53608 exception being thrown with 0.0 as argument.
53609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53611 exception being thrown with 0.0 as argument.
53612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53621
53622 2012-04-17 Petr Baudis <pasky@ucw.cz>
53623
53624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53625 with altivec.
53626
53627 2012-04-16 Marek Polacek <polacek@redhat.com>
53628
53629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53630
53631 2012-04-16 Marek Polacek <polacek@redhat.com>
53632
53633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53634 operands of fdivp instruction.
53635
53636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53637
53638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53639 * elf/tst-auditmod3b.c: Likewise.
53640 * elf/tst-auditmod4b.c: Likewise.
53641 * elf/tst-auditmod5b.c: Likewise.
53642 * elf/tst-auditmod6b.c: Likewise.
53643 * elf/tst-auditmod6c.c: Likewise.
53644 * elf/tst-auditmod7b.c: Likewise.
53645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53646 * sysdeps/x86_64/preconfigure.in: Likewise.
53647 * sysdeps/x86_64/preconfigure: Regenerated.
53648
53649 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53650
53651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53652 __ILP32__.
53653
53654 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53655
53656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53658
53659 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53660
53661 [BZ #13973]
53662 * locale/iso-639.def: Fix gl language name. Spotted by
53663 Yaron Shahrabani.
53664
53665 2012-04-12 Roland McGrath <roland@hack.frob.com>
53666
53667 [BZ #2074]
53668 * libio/libio.h (__io_write_fn): Update comment.
53669
53670 2012-04-12 Petr Baudis <pasky@ucw.cz>
53671
53672 [BZ #2074]
53673 * stdio.texi (Hook Functions): The user provided writer function
53674 is not allowed to return -1.
53675
53676 2012-04-11 David S. Miller <davem@davemloft.net>
53677
53678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53679
53680 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53681
53682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53683 Add a leading slash to rtkaio.
53684
53685 2012-04-11 Jim Meyering <meyering@redhat.com>
53686
53687 [BZ #11959]
53688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53689 It is not necessarily an error to ignore fwrite's return
53690 value. One can reliably use ferror to test for errors after
53691 the fact.
53692
53693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53694
53695 * bits/types.h (__snseconds_t): New type.
53696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53697
53698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53700 (__SNSECONDS_T_TYPE): Likewise.
53701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53702 (__SNSECONDS_T_TYPE): Likewise.
53703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53704 (__SNSECONDS_T_TYPE): Likewise.
53705
53706 2012-04-10 Andreas Jaeger <aj@suse.de>
53707
53708 [BZ #2636]
53709 * manual/time.texi (Processor Time): Return type of times is
53710 elapsed real time since an arbitrary point in the past.
53711 (CPU Time): Move CLK_TCK from here...
53712 (Processor Time): ...to here. Correct description.
53713 * manual/conf.texi (Constants for Sysconf): Correct description of
53714 _SC_CLK_TCK.
53715
53716 2012-04-10 David S. Miller <davem@davemloft.net>
53717
53718 [BZ #13967]
53719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53720 where the is a gap between DT_REL(A) and DT_JMPREL.
53721
53722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53723
53724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53727
53728 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53729
53730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53732 (dl_main): Handle --inhibit-cache.
53733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53734 _dl_inhibit_cache.
53735 * elf/dl-load.c (_dl_map_object): Use it.
53736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53737
53738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53739
53740 [BZ #13872]
53741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53742 (__ieee754_powl): Saturate large exponents rather than testing for
53743 overflow of y*log2(x).
53744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53746 exceptions.
53747
53748 [BZ #11521]
53749 * math/s_ctan.c: Include <float.h>.
53750 (__ctan): Avoid internal overflow or cancellation in calculating
53751 denominator.
53752 * math/s_ctanf.c: Likewise.
53753 * math/s_ctanl.c: Likewise.
53754 * math/s_ctanh.c: Likewise.
53755 * math/s_ctanhf.c: Likewise.
53756 * math/s_ctanhl.c: Likewise.
53757 * math/libm-test.inc (ctan_test): Add more tests.
53758 (ctanh_test): Likewise.
53759 * sysdeps/i386/fpu/libm-test-ulps: Update.
53760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53761
53762 2012-04-09 Andreas Jaeger <aj@suse.de>
53763
53764 [BZ #6894]
53765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53766 is an optional BSD extension.
53767
53768 [BZ #10254]
53769 * manual/stdio.texi (Opening Streams): Document additional fopen
53770 parameters.
53771
53772 2012-04-09 Roland McGrath <roland@hack.frob.com>
53773
53774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53775 %eax without telling the compiler.
53776
53777 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53778
53779 [BZ # 13963]
53780 * manual/install.texi: Use sourceware.org.
53781
53782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53783
53784 [BZ #13873]
53785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53786 (__ieee754_pow): Generate overflow and underflow using huge*huge
53787 and tiny*tiny rather than just returning constant infinity or zero
53788 for large exponents.
53789 * math/libm-test.inc (pow_test): Require overflow exceptions for
53790 applicable cases of large exponents.
53791
53792 [BZ #706]
53793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53794 (__ieee754_pow): Use iterative multiplication algorithm only for
53795 integer exponents with absolute value below 1024. Check for odd
53796 integer exponents when using algorithm for real exponents.
53797 * math/libm-test.inc (pow_test): Add more tests.
53798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53799
53800 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53801
53802 [BZ #13705]
53803 * math/libm-test.inc (exp_test): Do not allow overflow exception
53804 on underflow test.
53805
53806 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53807
53808 [BZ #13705]
53809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53810 instead of __kernel_standard_f.
53811
53812 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53813
53814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53815 * sysdeps/x86_64/memset_chk.S: Likewise.
53816
53817 2012-04-08 Andreas Jaeger <aj@suse.de>
53818
53819 [BZ #10153]
53820 * manual/startup.texi (Environment Access): Describe return value
53821 for putenv and setenv.
53822
53823 [BZ #6895]
53824 * manual/filesys.texi (Directory Entries): Add description for
53825 DT_LNK.
53826
53827 [BZ #6890]
53828 * manual/filesys.texi (Directory Entries): Clarify that it's file
53829 system not operating system in the description of DT_UNKNOWN.
53830
53831 [BZ #6578]
53832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53833
53834 2012-04-08 Stephen Compall <s11@member.fsf.org>
53835
53836 [BZ #6649]
53837 * manual/llio.texi (Opening and Closing Files): Add cross
53838 reference to explain mode argument.
53839
53840 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53841
53842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53843 * sysdeps/x86_64/memset_chk.S: Likewise.
53844
53845 2012-04-07 David S. Miller <davem@davemloft.net>
53846
53847 * elf/elf.h (R_SPARC_WDISP10): Define.
53848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53849 R_SPARC_SIZE32.
53850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53851 R_SPARC_SIZE64 and R_SPARC_H34.
53852
53853 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53854
53855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53856 conditions and remove no longer applicable assertion.
53857
53858 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53859
53860 * bits/byteswap.h: Include <features.h>.
53861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53863
53864 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53865
53866 * bits/byteswap.h (__bswap_16): Removed.
53867 Include <bits/byteswap-16.h> to get __bswap_16.
53868 * sysdeps/i386/bits/byteswap.h: Likewise.
53869 * sysdeps/s390/bits/byteswap.h: Likewise.
53870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53871 * bits/byteswap-16.h: New file.
53872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53875 * string/Makefile (headers): Add bits/byteswap-16.h.
53876
53877 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53878
53879 [BZ #13895]
53880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53881 extra indirection.
53882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53883 * nss/tst-nss-static.c: New.
53884
53885 2012-04-06 Robert Millan <rmh@gnu.org>
53886
53887 [BZ #6486]
53888 * manual/llio.texi (File Position Primitive): lseek
53889 refers to WHENCE when it really means OFFSET.
53890
53891 2012-04-06 Andreas Jaeger <aj@suse.de>
53892
53893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53894 strncmp declarations.
53895
53896 * abilist/libc.abilist: Add __poll and __ppoll.
53897
53898 2012-04-05 David S. Miller <davem@davemloft.net>
53899
53900 * scripts/check-local-headers.sh: Accept a host triplet in the
53901 path matched by the exclude regexp.
53902
53903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53904 definition.
53905 * sysdeps/powerpc/powerpc32/dl-machine.h
53906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53907 * sysdeps/s390/s390-32/dl-machine.h
53908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53909 * sysdeps/sparc/sparc32/dl-machine.h
53910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53911 * sysdeps/sparc/sparc64/dl-machine.h
53912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53913
53914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53915 lazy binding.
53916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53917 undefined symbol errors.
53918
53919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53920 DT_NEEDED entries.
53921
53922 2012-04-05 Michael Matz <matz@suse.de>
53923
53924 [BZ #13592]
53925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53926
53927 2012-04-05 Andreas Jaeger <aj@suse.de>
53928
53929 [BZ #13908]
53930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53931 comment.
53932
53933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53934
53935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53936 which ROUND is no valid rounding mode.
53937
53938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53939
53940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53941 read again.
53942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53943
53944 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53945
53946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53947 an exception using FPU order intentionally.
53948
53949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53950
53951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53955
53956 2012-04-05 Simon Josefsson <simon@josefsson.org>
53957
53958 [BZ #12340]
53959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53960 EINVAL when BUFLEN is too smal.
53961
53962 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53963
53964 [BZ #13553]
53965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53967
53968 2012-04-03 Andreas Jaeger <aj@suse.de>
53969
53970 [BZ #13938]
53971 * manual/setjmp.texi (System V contexts): Fix sentence.
53972
53973 [BZ #13926]
53974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53975 New macro for this case.
53976 [!__GNUC__] (__bswap_64): New inline function for this case.
53977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53978 * bits/byteswap.h: Likewise.
53979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53980 ull, guard with __GLIBC_HAVE_LONG_LONG.
53981
53982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53983 __GLIBC_HAVE_LONG_LONG.
53984
53985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53987
53988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53989
53990 [BZ #13691]
53991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53992 inptr and inend, rather than using last_ch.
53993
53994 2012-04-02 David S. Miller <davem@davemloft.net>
53995
53996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53997 * stdio-common/printf-parse.h (read_int): Change return type to
53998 'int', return -1 on INT_MAX overflow.
53999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54001 overflows INT_MAX. Check for overflow of in-format-string precision
54002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54003 SIZE_MAX not INT_MAX for integer overflow test.
54004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54005 skip the construct in the format string but do not record anything.
54006 * stdio-common/bug22.c: Adjust to test both width/prevision
54007 INT_MAX overflow as well as total length INT_MAX overflow. Check
54008 explicitly for proper errno values.
54009
54010 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54011
54012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54013 CHAR_MAX.
54014 * string/test-strcmp.c [! WIDE]: Likewise.
54015 * time/tst-mktime2.c: Likewise for INT_MAX.
54016 * string/test-string.h: #include <sys/param.h> for MIN.
54017
54018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54019 * sysdeps/i386/init-first.c (init): Likewise.
54020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54022 * sysdeps/sh/init-first.c (init): Likewise.
54023
54024 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54025
54026 * po/ru.po: Update from translation team.
54027 * po/vi.po: Likewise.
54028
54029 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54030
54031 * resolv/nss_dns/dns-host.c: Merge copyright years.
54032
54033 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54034
54035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54036 Optimize memcpy with prefetch if
54037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54038 src, dst pointers have unequal 16 byte alignments.
54039
54040 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54041
54042 [BZ #13928]
54043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54044 from a CNAME entry and return the minimum ttl for the query.
54045 (gaih_getanswer_slice): Likewise.
54046
54047 2012-03-30 Jeff Law <law@redhat.com>
54048
54049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54050 due to long keys.
54051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54053
54054 * resolv/nss_dns/dns-host.c: Update copyright year.
54055
54056 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54057
54058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54059 requests to save a system call. Fix check that all bytes are sent.
54060
54061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54062 comments for sendmmsg.
54063
54064 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54065
54066 [BZ #13691]
54067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54068 with only 1 character between 0x0041 and 0x01b0.
54069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54070 * wcsmbs/tst-mbsnrtowcs.c: New file.
54071
54072 2012-03-29 David S. Miller <davem@davemloft.net>
54073
54074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54075 small copies by hand.
54076
54077 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54078
54079 [BZ #13761]
54080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54081 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54082 group memberships.
54083
54084 2012-03-28 David S. Miller <davem@davemloft.net>
54085
54086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54087 that branches into memcpy.
54088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54093 bits.
54094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54095 implementation too.
54096 * sysdeps/sparc/mempcpy.S: New file.
54097
54098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54099 the IFUNC routine in the libc case.
54100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54101
54102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54110
54111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54112 loop to 256 bytes instead of 64 bytes and fix test signedness.
54113
54114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54115 * sysdeps/sparc/sparc32/Makefile: rather than here...
54116 * sysdeps/sparc/sparc64/Makefile: and here.
54117
54118 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54119
54120 * malloc/mallocbug.c: Avoid warnings about unused variables.
54121
54122 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54123
54124 [BZ #13760]
54125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54126 in the right place. Discard and retry query if response is
54127 larger than input buffer size.
54128
54129 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54130
54131 [BZ #369]
54132 [BZ #2678]
54133 [BZ #3866]
54134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54135 x for large integer exponent.
54136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54138 sign of result as needed afterwards.
54139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54141 result for underflowing pow the same as for overflow.
54142 (__kernel_standard_l): Handle powl overflow and underflow here
54143 rather than calling __kernel_standard.
54144 * math/libm-test.inc (pow_test): Add more tests.
54145
54146 [BZ #3868]
54147 [BZ #13879]
54148 [BZ #13910]
54149 [BZ #13911]
54150 [BZ #13912]
54151 [BZ #13913]
54152 [BZ #13915]
54153 [BZ #13916]
54154 [BZ #13917]
54155 [BZ #13918]
54156 [BZ #13919]
54157 [BZ #13920]
54158 [BZ #13921]
54159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54161 (__kernel_standard_l): New function.
54162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54163 __kernel_standard.
54164 * math/w_acosl.c (__acosl): Likewise.
54165 * math/w_asinl.c (__asinl): Likewise.
54166 * math/w_atan2l.c (__atan2l): Likewise.
54167 * math/w_atanhl.c (__atanhl): Likewise.
54168 * math/w_coshl.c (__coshl): Likewise.
54169 * math/w_exp10l.c (__exp10l): Likewise.
54170 * math/w_exp2l.c (__exp2l): Likewise.
54171 * math/w_fmodl.c (__fmodl): Likewise.
54172 * math/w_hypotl.c (__hypotl): Likewise.
54173 * math/w_j0l.c (__j0l, __y0l): Likewise.
54174 * math/w_j1l.c (__j1l, __y1l): Likewise.
54175 * math/w_jnl.c (__jnl, __ynl): Likewise.
54176 * math/w_lgammal.c (__lgammal): Likewise.
54177 * math/w_log10l.c (__log10l): Likewise.
54178 * math/w_log2l.c (__log2l): Likewise.
54179 * math/w_logl.c (__logl): Likewise.
54180 * math/w_powl.c (__powl): Likewise.
54181 * math/w_remainderl.c (__remainderl): Likewise.
54182 * math/w_scalbl.c (sysv_scalbl): Likewise.
54183 * math/w_sinhl.c (__sinhl): Likewise.
54184 * math/w_sqrtl.c (__sqrtl): Likewise.
54185 * math/w_tgammal.c (__tgammal): Likewise.
54186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54188 * math/libm-test.inc (acos_test): Add more tests.
54189 (acosh_test): Likewise.
54190 (asin_test): Likewise.
54191 (atanh_test): Likewise.
54192 (exp_test): Likewise.
54193 (exp10_test): Likewise.
54194 (exp2_test): Likewise.
54195 (expm1_test): Likewise.
54196 (lgamma_test): Likewise.
54197 (log_test): Likewise.
54198 (log10_test): Likewise.
54199 (log1p_test): Likewise.
54200 (log2_test): Likewise.
54201 (pow_test): Do not allow some spurious overflow exceptions.
54202 (sqrt_test): Add more tests.
54203 (tgamma_test): Likewise.
54204 (y0_test): Likewise.
54205 (y1_test): Likewise.
54206 (yn_test): Likewise.
54207
54208 2012-03-27 Anton Blanchard <anton@samba.org>
54209
54210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54211 MAP_HUGETLB.
54212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54215
54216 2012-03-27 David S. Miller <davem@davemloft.net>
54217
54218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54219
54220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54221 have-as-vis3 check.
54222
54223 2012-03-27 Andreas Jaeger <aj@suse.de>
54224
54225 * sysdeps/x86_64/elf/configure.in: Moved to ...
54226 * sysdeps/x86_64/configure.in: ... here.
54227 * sysdeps/x86_64/elf/start.S: Moved to ...
54228 * sysdeps/x86_64/start.S: ... here.
54229 * sysdeps/x86_64/elf/configure: Delete.
54230
54231 * sysdeps/x86_64/configure.in: Merge contents from
54232 sysdeps/i386/configure.in (without i686 check).
54233
54234 * sysdeps/i386/elf/Versions: Merge into ...
54235 * sysdeps/i386/Versions: ... this.
54236 * sysdeps/i386/elf/Versions: Delete file.
54237 * sysdeps/i386/elf/start.S: Moved to ...
54238 * sysdeps/i386/start.S: ...here.
54239 * sysdeps/i386/elf/configure.in: Merge into...
54240 * sysdeps/i386/configure.in: ...here.
54241 * sysdeps/i386/elf/configure.in: Delete file.
54242 * sysdeps/i386/elf/configure: Delete file.
54243
54244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54245 * debug/backtracesyms.c: ... here.
54246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54247 * debug/backtracesymsfd.c: ... here.
54248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54249 * sysdeps/generic/ifunc-sel.h: ... here.
54250
54251 * sysdeps/unix/i386/start.c: Delete file.
54252 * sysdeps/unix/sparc/start.c: Delete file.
54253 * sysdeps/unix/start.c: Delete file.
54254
54255 * sysdeps/sh/elf/configure.in: Moved to ...
54256 * sysdeps/sh/configure.in: ... here.
54257 * sysdeps/sh/elf/start.S: Moved to ...
54258 * sysdeps/sh/start.S: ... here.
54259 * sysdeps/sh/elf/configure: Delete file.
54260
54261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54266 * sysdeps/powerpc/powerpc64/start.S: here.
54267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54272
54273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54276 * sysdeps/powerpc/powerpc32/start.S: ... here.
54277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54280
54281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54282 * sysdeps/powerpc/ifunc-sel.h: ... here.
54283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54285
54286 * sysdeps/sparc/elf/configure.in: Moved to ...
54287 * sysdeps/sparc/configure.in: ... here.
54288 * sysdeps/sparc/elf/configure: Delete file.
54289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54290 * sysdeps/sparc/sparc32/start.S: ... here.
54291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54292 * sysdeps/sparc/sparc64/start.S: ... here.
54293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54294 * sysdeps/sparc/sparc32/Makefile: ... this.
54295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54296 * sysdeps/sparc/sparc64/Makefile: ... this.
54297
54298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54303 * sysdeps/s390/s390-32/setjmp.S: ... here.
54304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54305 * sysdeps/s390/s390-32/configure.in: ... here.
54306 * sysdeps/s390/s390-32/elf/configure: Delete file.
54307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54308 * sysdeps/s390/s390-32/start.S: ... here.
54309
54310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54315 * sysdeps/s390/s390-64/setjmp.S: ... here.
54316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54317 * sysdeps/s390/s390-64/configure.in: ... here
54318 * sysdeps/s390/s390-64/elf/configure: Delete file.
54319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54320 * sysdeps/s390/s390-64/start.S: ... here.
54321 * sysdeps/s390/s390-64/elf/configure: Delete.
54322
54323 * configure.in: Remove support for elf directories in sysdeps.
54324
54325 * configure: Regenerated.
54326 * sysdeps/i386/configure: Regenerated.
54327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54329 * sysdeps/s390/s390-32/configure: Regenerated.
54330 * sysdeps/s390/s390-64/configure: Regenerated.
54331 * sysdeps/sh/configure: Regenerated.
54332 * sysdeps/sparc/configure: Regenerated.
54333 * sysdeps/x86_64/configure: Regenerated.
54334
54335 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54336
54337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54338
54339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54340 denormal result into account.
54341
54342 2012-03-25 Roland McGrath <roland@hack.frob.com>
54343
54344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54345 Reported by Allan McRae <allan@archlinux.org>.
54346
54347 2012-03-23 Jeff Law <law@redhat.com>
54348
54349 * nss/getnssent.c (__nss_getent): Fix typo.
54350
54351 2012-03-23 David S. Miller <davem@davemloft.net>
54352
54353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54354
54355 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54356
54357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54358 to pad to uint64_t for each field.
54359 (dl_tls_index): Replace unsigned long with uint64_t.
54360
54361 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54362 Paul Pluzhnikov <ppluzhnikov@google.com>
54363
54364 [BZ #6528]
54365 * grp/Makefile (otherlibs): Don't set it.
54366 * inet/Makefile (otherlibs): Likewise.
54367 * login/Makefile (otherlibs): Likewise.
54368 * nscd/Makefile (otherlibs): Likewise.
54369 * posix/Makefile (otherlibs): Likewise.
54370 * pwd/Makefile (otherlibs): Likewise.
54371 * rt/Makefile (otherlibs): Likewise.
54372 * sunrpc/Makefile (otherlibs): Likewise.
54373 * nss/Makefile (otherlibs): Likewise.
54374 Add libnss_files to routines and static-only-routines.
54375 ($(objpfx)getent): Remove rule.
54376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54377 static-only-routines.
54378
54379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54380
54381 [BZ #13892]
54382 * math/s_cexp.c: Include <float.h>.
54383 (__cexp): Handle exp result overflowing not necessarily
54384 overflowing both real and imaginary parts of result.
54385 * math/s_cexpf.c: Likewise.
54386 * math/s_cexpl.c: Likewise.
54387 * math/libm-test.inc (cexp_test): Add more tests.
54388 * sysdeps/i386/fpu/libm-test-ulps: Update.
54389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54390
54391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54392
54393 * include/link.h (ELFW): New macro.
54394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54396
54397 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54398
54399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54400 with uint64_t.
54401
54402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54403
54404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54405 declaration.
54406 (struct La_x32_retval): Likewise.
54407
54408 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54409
54410 * sysdeps/x86_64/preconfigure.in: New file.
54411 * sysdeps/x86_64/preconfigure: New generated file.
54412
54413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54414
54415 [BZ #13824]
54416 * math/e_exp2l.c: Include <float.h>.
54417 (__ieee754_exp2l): Handle overflow and underflow cases
54418 separately. Only pass fractional part of argument to
54419 __ieee754_expl.
54420 * math/libm-test.inc (exp2_test): Add more tests.
54421
54422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54423 negating x to take absolute value.
54424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54425 Likewise.
54426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54428 Likewise.
54429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54430 computing low part if x was negated.
54431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54432
54433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54434
54435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54436 la_x32_gnu_pltexit.
54437 (pltexit): Cast int_retval to ptrdiff_t.
54438 * elf/tst-auditmod3b.c: Likewise.
54439 * elf/tst-auditmod4b.c: Likewise.
54440 * elf/tst-auditmod5b.c: Likewise.
54441 * elf/tst-auditmod6b.c: Likewise.
54442 * elf/tst-auditmod6c.c: Likewise.
54443 * elf/tst-auditmod7b.c: Likewise.
54444
54445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54446 and x32_gnu_pltexit.
54447
54448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54449 __ELF_NATIVE_CLASS.
54450 (La_x32_regs): New macro.
54451 (La_x32_retval): Likewise.
54452 (la_x32_gnu_pltenter): New function prototype.
54453 (la_x32_gnu_pltexit): Likewise.
54454
54455 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54456
54457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54458 exponent.
54459
54460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54461
54462 * configure.in (libc_cv_cc_nofma): Check for option to disable
54463 generation of FMA instructions.
54464 * configure: Regenerate.
54465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54466 * sysdeps/ieee754/dbl-64/Makefile: New file.
54467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54468 Remove brandred-fma4.
54469 (CFLAGS-brandred-fma4.c): Remove.
54470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54472 define.
54473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54474 define.
54475
54476 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54477
54478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54479 LLONG_MAX != LONG_MAX.
54480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54481 (_fitoa_word): Likewise.
54482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54483 LLONG_MAX != LONG_MAX.
54484 * stdio-common/_itowa.h: Include <_itoa.h>.
54485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54488 only if not defined.
54489 (_ITOA_WORD_TYPE): Likewise.
54490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54492
54493 2012-03-21 David S. Miller <davem@davemloft.net>
54494
54495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54496
54497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54498
54499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54500 of x86_64 when setting libc_cv_slibdir, libdir and
54501 libc_cv_localedir.
54502 * sysdeps/unix/sysv/linux/configure: Regenerated.
54503
54504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54505
54506 * manual/lang.texi (Old Varargs): Remove section.
54507 (How Variadic): Update menu.
54508 (va_start): Do not mention varargs.h.
54509
54510 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54511 Joseph Myers <joseph@codesourcery.com>
54512
54513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54514 link test.
54515 * configure: Regenerated.
54516
54517 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54518
54519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54521 conformtest.pl
54522
54523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54524
54525 * NOTES: Remove.
54526 * Makefile (files-for-dist): Remove NOTES.
54527 (NOTES): Remove rule.
54528 * README: Don't refer to NOTES.
54529 * manual/creature.texi: Don't include macros.texi.
54530 * manual/intro.texi (creature.texi): Remove comment referring to
54531 NOTES.
54532
54533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54535 * configure: Regenerated.
54536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54537 LIBC_TRY_CC_OPTION.
54538 (libc_cv_as_i686): Likewise.
54539 (libc_cv_cc_avx): Likewise.
54540 (libc_cv_cc_sse2avx): Likewise.
54541 (libc_cv_cc_fma4): Likewise.
54542 (libc_cv_cc_novzeroupper): Likewise.
54543 * sysdeps/i386/configure: Regenerated.
54544
54545 [BZ #13883]
54546 * sysdeps/i386/fpu/s_cexp.S: Remove.
54547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54549 * math/libm-test.inc (cexp_test): Add more tests.
54550 * sysdeps/i386/fpu/libm-test-ulps: Update.
54551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54552
54553 2012-03-21 Allan McRae <allan@archlinux.org>
54554
54555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54556
54557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54558
54559 [BZ #13871]
54560 * math/w_exp2.c: Do not include <float.h>.
54561 (o_threshold, u_threshold): Remove.
54562 (__exp2): Calculate result before checking finiteness and calling
54563 __kernel_standard.
54564 * math/w_exp2f.c: Likewise.
54565 * math/w_exp2l.c: Likewise.
54566 * math/libm-test.inc (exp2_test): Require overflow exception for
54567 1e6 input.
54568
54569 [BZ #3866]
54570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54571 range of signed 64-bit integers before using fistpll. Remove
54572 checks for whether integers fit in mantissa bits.
54573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54574 the range of signed 32-bit integers before using fistpl. Remove
54575 checks for whether integers fit in mantissa bits.
54576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54577 (__ieee754_powl): Test for y outside the range of signed 64-bit
54578 integers before using fistpll. Reduce 64-bit values to 63-bit
54579 ones as needed.
54580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54581 divide-by-zero is raised for zero to large negative powers.
54582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54583 (__ieee754_powl): Test for y outside the range of signed 64-bit
54584 integers before using fistpll. Reduce 64-bit values to 63-bit
54585 ones as needed.
54586 * math/libm-test.inc (pow_test): Add more tests.
54587
54588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54589
54590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54591 <stdio-common/_itoa.h>.
54592 * debug/segfault.c: Likewise.
54593 * elf/dl-cache.c: Likewise.
54594 * elf/dl-minimal.c: Likewise.
54595 * elf/dl-misc.c: Likewise.
54596 * elf/dl-sysdep.c: Likewise.
54597 * elf/dl-version.c: Likewise.
54598 * elf/rtld.c: Likewise.
54599 * hurd/hurdsock.c: Likewise.
54600 * hurd/lookup-retry.c: Likewise.
54601 * malloc/malloc.c: Likewise.
54602 * malloc/mtrace.c: Likewise.
54603 * nscd/nscd_getgr_r.c: Likewise.
54604 * nscd/nscd_getpw_r.c: Likewise.
54605 * nscd/nscd_getserv_r.c: Likewise.
54606 * posix/getopt_init.c: Likewise.
54607 * posix/wordexp.c: Likewise.
54608 * stdio-common/_itoa.c: Likewise.
54609 * stdio-common/printf_fphex.c: Likewise.
54610 * stdio-common/vfprintf.c: Likewise.
54611 * string/_strerror.c: Likewise.
54612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54613 * sysdeps/i386/i686/hp-timing.h: Likewise.
54614 * sysdeps/mach/_strerror.c: Likewise.
54615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54616 * sysdeps/mach/hurd/sethostid.c: Likewise.
54617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54618 * sysdeps/mach/xpg-strerror.c: Likewise.
54619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54640
54641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54642
54643 * stdio-common/_itoa.h: Moved to ...
54644 * sysdeps/generic/_itoa.h: Here.
54645
54646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54647
54648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54649 instead of "_itoa.h" and "_itowa.h".
54650 * stdio-common/vfprintf.: Likewise.
54651
54652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54653
54654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54655 <bits/wordsize.h>.
54656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54657 (__signbit): Likwise.
54658 (llrintf): Likwise.
54659 (llrint): Likwise.
54660
54661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54662
54663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54664 __WORDSIZE != 64.
54665
54666 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54667
54668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54669 OVERFLOW_EXCEPTION_OK.
54670 * math/libm-test.inc ("Philosophy"): Update comment about
54671 exception testing.
54672 (OVERFLOW_EXCEPTION): Define.
54673 (OVERFLOW_EXCEPTION_OK): Likewise.
54674 (INVALID_EXCEPTION_OK): Renumber.
54675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54676 (IGNORE_ZERO_INF_SIGN): Likewise.
54677 (test_exceptions): Handle FE_OVERFLOW.
54678 (exp10_test): Expect overflow exceptions.
54679 (exp2_test): Likewise.
54680 (expm1_test): Likewise.
54681 (nextafter_test): Likewise.
54682 (pow_test): Likewise.
54683 (scalbn_test): Likewise.
54684 (scalbln_test): Likewise.
54685
54686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54687
54688 * sysdeps/x86_64/bits/atomic.h
54689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54690 64bit integer.
54691 (atomic_exchange_acq): Likewise.
54692 (__arch_exchange_and_add_body): Likewise.
54693 (__arch_add_body): Likewise.
54694 (atomic_add_negative): Likewise.
54695 (atomic_add_zero): Likewise.
54696
54697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54698
54699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54701
54702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54703
54704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54705 Check __x86_64__ instead of __WORDSIZE.
54706
54707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54708
54709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54710
54711 2012-03-19 David S. Miller <davem@davemloft.net>
54712
54713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54714
54715 * sysdeps/sparc/fpu/fenv_private.h: New file.
54716 * sysdeps/sparc/fpu/math_private.h: Use it.
54717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54718 Remove.
54719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54720 (libc_feholdexcept_setroundl): Remove.
54721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54722 Remove.
54723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54725
54726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54727
54728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54729 int64_t instead of long int.
54730 (INSERT_WORDS64): Likwise.
54731
54732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54733
54734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54735 _Unwind_GetCFA return to _Unwind_Ptr first.
54736
54737 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54738
54739 [BZ #13629]
54740 * math/s_clog.c: Include <float.h>.
54741 (__clog): Scale large or subnormal inputs.
54742 * math/s_clogf.c: Likewise.
54743 * math/s_clogl.c: Likewise.
54744 * math/s_clog10.c: Include <float.h>.
54745 (M_LOG10_2): Define.
54746 (__clog10): Scale large or subnormal inputs.
54747 * math/s_clog10f.c: Likewise.
54748 * math/s_clog10l.c: Likewise.
54749 * math/libm-test.inc (clog_test): Add more tests.
54750 (clog10_test): Likewise.
54751 * sysdeps/i386/fpu/libm-test-ulps: Update.
54752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54753
54754 [BZ #11451]
54755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54756 x and y.
54757 * math/libm-test.inc (atan2_test): Add another test.
54758
54759 * Makerules (common-objdir-compile): Remove.
54760 * sysdeps/unix/Makefile (config-generated): Do not add
54761 $(unix-generated) to variable.
54762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54764 Remove rule.
54765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54766 Likewise.
54767 [generic bits/local_lim.h] (before-compile): Do not append to
54768 variable.
54769 [generic bits/local_lim.h] (common-generated): Likewise.
54770 [generic sys/param.h] (before-compile): Do not append to variable.
54771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54775 include.
54776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54778 [generic sys/param.h] ($(addprefix
54779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54780 [generic sys/param.h] (common-generated): Do not append to
54781 variable.
54782 [generic sys/param.h] (sysdep_headers): Likewise.
54783 [generic bits/errno.h] (before-compile): Do not append to
54784 variable.
54785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54786 rule.
54787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54790 [generic bits/errno.h] (common-generated): Do not append to
54791 variable.
54792 [generic bits/ioctls.h] (before-compile): Do not append to
54793 variable.
54794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54795 rule.
54796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54799 rule.
54800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54803 [generic bits/ioctls.h] (common-generated): Do not append to
54804 variable.
54805 [generic sys/syscall.h] (syscall.h): Remove variable.
54806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54807 rule.
54808 [generic sys/syscall.h] (before-compile): Do not append to
54809 variable.
54810 [generic sys/syscall.h] (common-generated): Likewise.
54811 * sysdeps/unix/errnos-tmpl.c: Remove file.
54812 * sysdeps/unix/errnos.awk: Likewise.
54813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54814 * sysdeps/unix/ioctls.awk: Likewise.
54815 * sysdeps/unix/mk-local_lim.c: Likewise.
54816 * sysdeps/unix/snarf-ioctls: Likewise.
54817
54818 2012-03-19 Richard Henderson <rth@twiddle.net>
54819
54820 * sysdeps/i386/fpu/fenv_private.h: New file.
54821 * sysdeps/i386/fpu/math_private.h: Use it.
54822 (math_opt_barrier, math_force_eval): Remove.
54823 (libc_feholdexcept_setround_53bit): Remove.
54824 (libc_feupdateenv_53bit): Remove.
54825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54826 (math_opt_barrier, math_force_eval): Remove.
54827 (libc_feholdexcept): Remove.
54828 (libc_feholdexcept_setround): Remove.
54829 (libc_fetestexcept, libc_fesetenv): Remove.
54830 (libc_feupdateenv_test): Remove.
54831 (libc_feupdateenv, libc_feholdsetround): Remove.
54832 (libc_feresetround): Remove.
54833
54834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54836
54837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54839 (libc_feupdateenv_testl): New.
54840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54841 (libc_feupdateenv_testf): New.
54842 (libc_feupdateenv): Use libc_feupdateenv_test.
54843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54845
54846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54849 (libc_feresetround_noex): New.
54850 (libc_feresetround_noexf): New.
54851 (libc_feresetround_noexl): New.
54852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54856 SET_RESTORE_ROUND.
54857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54859 (__cos): Likewise.
54860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54862 SET_RESTORE_ROUND_NOEX.
54863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54864 SET_RESTORE_ROUND_NOEXF.
54865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54867 (libc_feholdsetroundf): New.
54868 (libc_feresetround, libc_feresetroundf): New.
54869
54870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54873
54874 * sysdeps/generic/math_private.h: Include <fenv.h>.
54875 (default_libc_feholdexcept): New.
54876 (default_libc_feholdexcept_setround): New.
54877 (default_libc_fesetenv, default_libc_feupdateenv): New.
54878 (libc_feholdexcept): Only define if undefined.
54879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54881 (libc_feholdexcept_setroundl): Likewise.
54882 (libc_feholdexcept_setround_53bit): Likewise.
54883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54886 (libc_feupdateenv_53bit): Likewise.
54887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54888 (libc_feholdexcept): Convert from macro to inline function.
54889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54890 (libc_fesetenv, libc_feupdateenv): Likewise.
54891
54892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54893 not previously defined.
54894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54898 * sysdeps/ieee754/flt-32/math_private.h: New file.
54899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54900 math_private.h below SET_FLOAT_WORD.
54901 (__isnan, __isinf_ns, __finite): Remove.
54902 (__isnanf, __isinf_nsf, __finitef): Remove.
54903
54904 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54905
54906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54907
54908 2012-03-17 David S. Miller <davem@davemloft.net>
54909
54910 [BZ #6471]
54911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54912 for 2.16.
54913
54914 2012-03-16 David S. Miller <davem@davemloft.net>
54915
54916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54917 warnings.
54918
54919 [BZ #6471]
54920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54921 properly.
54922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54924 sysdep_routines when subdir is sysvipc.
54925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54926 __getshmlba helper.
54927
54928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54929
54930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54931
54932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54933 [__LP64__].
54934
54935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54936
54937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54939 (__lround): Renamed to ...
54940 (__llround): This. Replace long int with long long int.
54941 Define lround functions as aliases of llround functions.
54942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54943
54944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54945
54946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54948 adresses to uintptr_t. Replace "long int" and "unsigned long
54949 int" with "greg_t" on va_arg.
54950
54951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54952
54953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54955
54956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54957 Move e_machine check before EI_CLASS check. Handle x32
54958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54960 SKIP_EM_IA_64 and include
54961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54962
54963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54965 (add_system_dir): New macro.
54966
54967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54969
54970 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54971
54972 [BZ #2551]
54973 [BZ #2552]
54974 [BZ #2553]
54975 [BZ #2554]
54976 [BZ #2562]
54977 [BZ #2563]
54978 [BZ #2565]
54979 [BZ #2566]
54980 [BZ #2576]
54981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54982 (y0): Likewise.
54983 * math/w_j0f.c (j0f): Likewise.
54984 (y0f): Likewise.
54985 * math/w_j0l.c (__j0l): Likewise.
54986 (__y0l): Likewise.
54987 * math/w_j1.c (j1): Likewise.
54988 (y1): Likewise.
54989 * math/w_j1f.c (j1f): Likewise.
54990 (y1f): Likewise.
54991 * math/w_j1l.c (__j1l): Likewise.
54992 (__y1l): Likewise.
54993 * math/w_jn.c (jn): Likewise.
54994 (yn): Likewise.
54995 * math/w_jnf.c (jnf): Likewise.
54996 (ynf): Likewise.
54997 * math/w_jnl.c (__jnl): Likewise.
54998 (__ynl): Likewise.
54999 * math/libm-test.inc (j0_test): Add more tests.
55000 (j1_test): Likewise.
55001 (jn_test): Likewise. Add trailing semicolon to existing test.
55002 (y0_test): Likewise.
55003 (y1_test): Likewise.
55004 * sysdeps/i386/fpu/libm-test-ulps: Update.
55005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55006
55007 [BZ #13851]
55008 [BZ #13854]
55009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55013 (__tanl): Set errno for infinite argument.
55014 * sysdeps/i386/fpu/mptan.c: Remove.
55015 * sysdeps/i386/fpu/s_tan.S: Likewise.
55016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55019 * math/libm-test.inc (tan_test): Add more tests and enable more
55020 tests for double and long double.
55021 * sysdeps/i386/fpu/libm-test-ulps: Update.
55022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55023
55024 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55025
55026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55028
55029 2012-03-16 Roland McGrath <roland@hack.frob.com>
55030
55031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55032 * configure.in: Use it for both main tree and add-ons.
55033 * configure: Regenerated.
55034
55035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55036
55037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55038
55039 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55040
55041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55042 in comment.
55043
55044 [BZ #13851]
55045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55050 infinite argument.
55051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55053 != 0 for prec == 2.
55054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55065 * math/libm-test.inc (cos_test): Add more tests and enable more
55066 tests for long double.
55067 (sin_test): Likewise.
55068 (sincos_test): Likewise.
55069 * sysdeps/i386/fpu/libm-test-ulps: Update.
55070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55071
55072 2012-03-16 David S. Miller <davem@davemloft.net>
55073
55074 * sysdeps/sparc/fpu/math_private.h: New file.
55075
55076 2012-03-15 David S. Miller <davem@davemloft.net>
55077
55078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55079 file.
55080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55082 file.
55083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55089 sysdep routines.
55090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55091
55092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55094
55095 * sysdeps/sparc/sparc-ifunc.h: New file.
55096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55097 sparc-ifunc.h
55098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55100 Likewise.
55101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55102 Likewise.
55103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55107 Likewise.
55108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55113 Likewise.
55114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55115 Likewise.
55116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55140
55141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55142
55143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55144 scaling.
55145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55146
55147 2012-03-15 Andreas Jaeger <aj@suse.de>
55148
55149 [BZ #13852]
55150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55151 ieee754/flt-32 implementation for sin, cos and sincos.
55152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55157 ieee754/flt-32 implementation for tan.
55158
55159 * math/libm-test.inc (cos_test): Enable some large input tests for
55160 float as well
55161 (sin_test): Likewise.
55162 (sincos_test): Likewise.
55163 (tan_test): Add tests for large input.
55164
55165 * sysdeps/i386/fpu/libm-test-ulps: Update.
55166
55167 2012-03-15 Andreas Jaeger <aj@suse.de>
55168
55169 [BZ #13658]
55170 * math/libm-test.inc (cos_test): Add more test cases.
55171 (sin_test): Likewise.
55172 (sincos_test): Likewise.
55173
55174 2012-03-15 Andreas Jaeger <aj@suse.de>
55175
55176 [BZ #13837]
55177 * math/libm-test.inc (cos_test): Add a test case for large input
55178 value.
55179 (sin_test): Likewise.
55180 (sincos_test): Likewise.
55181
55182 2012-03-15 Andreas Jaeger <aj@suse.de>
55183 Joseph Myers <joseph@codesourcery.com>
55184
55185 [BZ #13658]
55186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55188 * sysdeps/i386/fpu/branred.c: Likewise.
55189 * sysdeps/i386/fpu/dosincos.c: Likewise.
55190 * sysdeps/i386/fpu/mpa.c: Likewise.
55191 * sysdeps/i386/fpu/s_cos.S: Likewise.
55192 * sysdeps/i386/fpu/s_sin.S: Likewise.
55193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55194 * sysdeps/i386/fpu/sincos32.c: Likewise.
55195
55196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55197 Define.
55198 (libc_feupdateenv_53bit): Define.
55199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55200 Define.
55201 (libc_feupdateenv_53bit): Define.
55202
55203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55204 53 bit (without extend i386 double precision).
55205
55206 * math/libm-test.inc (sincos_test): Add tests for large input.
55207 (sin): Likewise.
55208 (cos): Likewise.
55209
55210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55211
55212 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55213
55214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55215
55216 2012-03-15 David S. Miller <davem@davemloft.net>
55217
55218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55234 file.
55235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55237 file.
55238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55240 file.
55241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55243 file.
55244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55246 fmin/fmax sysdep routines.
55247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55248
55249 2012-03-14 David S. Miller <davem@davemloft.net>
55250
55251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55280 routines.
55281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55282 file.
55283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55285 file.
55286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55288 file.
55289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55291 file.
55292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55294 file.
55295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55297 file.
55298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55299 file.
55300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55301 file.
55302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55303 file.
55304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55305 New file.
55306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55307 file.
55308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55309 file.
55310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55312 file.
55313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55315 file.
55316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55318 file.
55319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55321 VIS3 routines.
55322
55323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55324 New file.
55325
55326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55327
55328 * sysdeps/sparc/configure.in: New file.
55329 * sysdeps/sparc/configure: Generate.
55330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55331 * configure: Regenerate.
55332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55333 * config.make.in (have-as-vis3): New.
55334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55335 available use -Av9d instead of -Av9a.
55336 * sysdeps/sparc/sparc64/Makefile: Likewise.
55337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55339 New file.
55340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55341 file.
55342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55343 New file.
55344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55345 file.
55346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55351
55352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55353 fzeros/fnegs to load 0x80000000 into a float register instead of
55354 using the stack.
55355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55356
55357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55358
55359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55360 bits/syscall.h.
55361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55363 ($(inst_includedir)/bits/syscall.h): Remove rule.
55364 ($(objpfx)bits/syscall.d): Include instead of
55365 $(objpfx)syscall-list.d.
55366 (generated): Change syscall-list.h and syscall-list.d to
55367 bits/syscall.h and bits/syscall.d.
55368
55369 2012-03-14 Roland McGrath <roland@hack.frob.com>
55370
55371 [BZ #13846]
55372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55373
55374 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55375
55376 [BZ #13841]
55377 * math/s_csqrt.c: Include <float.h>.
55378 (__csqrt): Scale large or subnormal inputs.
55379 * math/s_csqrtf.c: Likewise.
55380 * math/s_csqrtl.c: Likewise.
55381 * math/libm-test.inc (csqrt_test): Add more tests.
55382 * sysdeps/i386/fpu/libm-test-ulps: Update.
55383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55384
55385 [BZ #13840]
55386 * math/libm-test.inc (hypot_test): Add more tests.
55387
55388 2012-03-13 David S. Miller <davem@davemloft.net>
55389
55390 [BZ #13840]
55391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55392 double-precision for the calculation instead of scaling.
55393
55394 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55395
55396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55397 manipulate bits before adding and subtracting TWO52[sx].
55398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55400 Likewise.
55401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55402
55403 2012-03-13 David S. Miller <davem@davemloft.net>
55404
55405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55408 rtld-global-offsets.h
55409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55410
55411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55412 large parameters.
55413
55414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55415
55416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55417 'err' in the ifdef scope in which it is actually used.
55418
55419 * nss/nss_db/db-init.c: Include string.h
55420
55421 2012-03-12 David S. Miller <davem@davemloft.net>
55422
55423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55424 masking out of the most significant byte of random value used.
55425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55426 Fix coding style in previous change.
55427
55428 * sysdeps/unix/sysv/linux/kernel-features.h
55429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55431 expression.
55432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55433 later.
55434
55435 2012-03-11 David S. Miller <davem@davemloft.net>
55436
55437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55440 for 'resultvar' otherwise things get truncated on 64-bit.
55441
55442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55443 Fix masking out of the most significant byte of random value used.
55444
55445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55446
55447 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55448
55449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55450
55451 2012-03-09 David S. Miller <davem@davemloft.net>
55452
55453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55454 variables with appropriate CPP guards.
55455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55456 from the frame pointer, not the stack pointer. Correct layout
55457 comments. Fix test on resulting framesize and the management of
55458 the outregs buffer for pltexit. Preserve floating point return
55459 values across _dl_call_pltexit call.
55460 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55461 framesize and the management of the outregs buffer for pltexit.
55462 Preserve floating point return values across _dl_call_pltexit
55463 call.
55464 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55465 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55466 (la_sparc64_gnu_pltexit): New functions.
55467 (print_exit): Fix format string for return register value.
55468
55469 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55470
55471 * sunrpc/Makefile (others): Add rpcgen.
55472 ($(objpfx)rpcgen): Remove special build rule and dependency on
55473 libc.
55474 * sunrpc/rpcgen.c: New file.
55475
55476 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55477
55478 [BZ #13673]
55479 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55480 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55481 * sysdeps/i386/crti.S: Likewise.
55482 * sysdeps/i386/crtn.S: Likewise.
55483 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55484 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55485 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55486 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55487 * sysdeps/sh/crti.S: Likewise.
55488 * sysdeps/sh/crtn.S: Likewise.
55489 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55490
55491 [BZ #13673]
55492 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55493 with URL.
55494 * locale/programs/locfile-kw.gperf: Likewise.
55495 * locale/programs/charmap-kw.h: Regenerated.
55496 * locale/programs/locfile-kw.h: Likewise.
55497
55498 [BZ #13673]
55499 * intl/plural.y: Replace FSF snail mail address with URL.
55500 * intl/plural.c: Regenerated.
55501
55502 2012-03-09 Richard Henderson <rth@twiddle.net>
55503
55504 * include/math_private.h: Remove file.
55505 * math/math_private.h: Move file ...
55506 * sysdeps/generic/math_private.h: ... here.
55507
55508 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55509 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55510 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55511
55512 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55513 and <math_private.h>.
55514 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55515 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55516 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55517 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55518 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55522 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55525 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55526 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55528 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55529 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55532 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55533 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55536 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55538 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55540 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55544 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55546 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55547 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55548 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55549 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55550 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55551 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55558 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55559 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55560 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55561 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55565 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55566 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55568 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55569 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55574 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55575 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55576 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55578 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55579 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55580 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55581 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55582 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55583 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55585 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55586 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55588 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55594 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55596 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55597 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55600 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55601 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55602 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55603 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55604 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55605 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55608 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55609 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55610 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55611 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55614 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55615 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55616 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55617 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55619 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55620 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55621 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55622 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55624 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55625 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55626 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55627 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55628 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55629 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55631 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55632 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55637 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55638 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55640 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55641 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55642 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55643 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55644 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55645 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55646 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55647 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55648 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55649 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55650 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55651 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55652 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55653 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55654 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55655 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55656 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55657 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55658 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55659 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55660 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55661 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55662 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55663 * sysdeps/ieee754/k_standard.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55683 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55686 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55688 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55691 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55695 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55697 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55698 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55703 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55709 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55710 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55715 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55716 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55717 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55720 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55721 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55722 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55737 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55740 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55741 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55744 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55749 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55750 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55751 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55752 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55754 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55755 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55756 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55757 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55758 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55759 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55760 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55761 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55763 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55764 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55768 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55769 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55771 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55775 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55780 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55783 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55785 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55786 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55790 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55791 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55796 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55797 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55798 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55799 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55800 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55801 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55802 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55803 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55804 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55805 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55806 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55807 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55808 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55809 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55810 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55811 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55812 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55813 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55815 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55816 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55818 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55819 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55823 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55824 * sysdeps/ieee754/s_lib_version.c: Likewise.
55825 * sysdeps/ieee754/s_matherr.c: Likewise.
55826 * sysdeps/ieee754/s_signgam.c: Likewise.
55827 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55828 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55830 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55831 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55832 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55833 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55834 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55835 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55836 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55837 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55838 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55839 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55840 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55841 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55842 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55844 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55845 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55848
55849 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55850
55851 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55852 * sunrpc/rpc_main.c: Likewise.
55853 * sunrpc/rpc_svcout.c: Likewise.
55854
55855 2012-03-09 David S. Miller <davem@davemloft.net>
55856
55857 * include/math_private.h: New file.
55858
55859 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55860
55861 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55862 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55863 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55864 from <bits/socket_type.h>.
55865 (enum __socket_type): Don't define here.
55866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55868 bits/socket_type.h.
55869
55870 [BZ #13566]
55871 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55872 checking __USE_GNU.
55873
55874 * Makerules ($(inst_includedir)/%.h): New rule.
55875 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55876 (install-others): Remove variable setting.
55877 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55878
55879 2012-03-08 Richard Henderson <rth@twiddle.net>
55880
55881 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55882 from macro to inline function; merge with the
55883 !__LIBC_INTERNAL_MATH_INLINES version.
55884 (__ieee754_sqrtf): Likewise.
55885
55886 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55887 to inline function.
55888 (__rintf, __floor, __floorf): Likewise.
55889
55890 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55891 macro to inline function.
55892 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55893
55894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55895 not <math/math_private.h>.
55896
55897 2012-03-08 David S. Miller <davem@davemloft.net>
55898
55899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55900 copyright year.
55901 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55902
55903 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55904
55905 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55906 normalization.
55907 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55908 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55909
55910 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55911
55912 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55913 be defined individually, they must be defined as a block. Define
55914 S for printing a string instead of hidint the different by using a
55915 macro for adding the 'l'.
55916 * stdio-common/tst-fphex-wide.c: Adjust.
55917
55918 2012-03-07 Marek Polacek <polacek@redhat.com>
55919
55920 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55921
55922 2012-03-08 Marek Polacek <polacek@redhat.com>
55923
55924 [BZ #13806]
55925 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55926 * stdio-common/tst-fphex.c: Define a few macros to make the
55927 test reusable. Use them.
55928 * stdio-common/tst-fphex-wide.c: New file.
55929
55930 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55931
55932 [BZ #6911]
55933 * manual/macros.texi (gnusystems): New macro.
55934 (nongnusystems): Likewise.
55935 (gnulinuxhurdsystems): Likewise.
55936 (gnuhurdsystems): Likewise..
55937 (gnulinuxsystems): Likewise.
55938 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55939 variants of the GNU system, not "GNU system".
55940 * manual/conf.texi: Likewise.
55941 * manual/errno.texi: Likewise. Update example of errno macro
55942 expansion.
55943 * manual/filesys.texi: Likewise.
55944 (getumask): Document as specific to GNU/Hurd.
55945 * manual/install.texi: Likewise. Reword some references to
55946 GNU/Linux.
55947 * manual/intro.texi: Likewise.
55948 * manual/io.texi: Likewise.
55949 (File Name Portability): Detail which constraints are inapplicable
55950 to all GNU systems and which are only inapplicable to GNU/Hurd.
55951 * manual/job.texi: Likewise.
55952 * manual/llio.texi: Likewise.
55953 (O_NOCTTY): Document as present on GNU/Linux.
55954 * manual/maint.texi: Likewise.
55955 * manual/memory.texi: Likewise.
55956 * manual/pattern.texi: Likewise.
55957 * manual/pipe.texi: Likewise.
55958 * manual/process.texi: Likewise.
55959 * manual/resource.texi: Likewise.
55960 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55961 child on GNU/Hurd.
55962 * manual/setjmp.texi: Likewise.
55963 * manual/signal.texi: Likewise.
55964 * manual/startup.texi: Likewise.
55965 * manual/stdio.texi: Likewise.
55966 * manual/terminal.texi: Likewise.
55967 (ONLCR): Document as POSIX.
55968 (OXTABS): Document availability on GNU/Linux as XTABS.
55969 (ONOEOT): Document availability separately from other bits.
55970 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55971 * manual/time.texi: Likewise.
55972 * manual/users.texi: Likewise.
55973 * INSTALL: Regenerated.
55974 * sysdeps/gnu/errlist.c: Regenerated.
55975
55976 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55977 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55978 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55979 puts.
55980 * configure: Regenerated.
55981
55982 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55983
55984 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55985 default includes instead of AC_HEADER_CHECK.
55986 * sysdeps/i386/configure: Regenerated.
55987
55988 [BZ #10716]
55989 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55990 * math/s_cacoshf.c (__cacoshf): Likewise.
55991 * math/s_cacoshl.c (__cacoshl): Likewise.
55992 * math/s_casinh.c (__casinh): Set signs of result from argument.
55993 * math/s_casinhf.c (__casinhf): Likewise.
55994 * math/s_casinhl.c (__casinhl): Likewise.
55995 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55996 (casinh_test): Add more tests.
55997 * sysdeps/i386/fpu/libm-test-ulps: Update.
55998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55999
56000 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56001
56002 * po/zh_TW.po: Update from translation team.
56003
56004 * login/Makefile (distribute): Remove variable.
56005 * catgets/Makefile: Likewise.
56006 * mach/Makefile: Likewise.
56007 * malloc/Makefile: Likewise.
56008 * misc/Makefile: Likewise.
56009 * iconv/Makefile: Likewise.
56010 * nscd/Makefile: Likewise.
56011 * hurd/Makefile: Likewise.
56012 * manual/Makefile: Likewise.
56013 * locale/Makefile: Likewise.
56014 * intl/Makefile: Likewise.
56015 * conform/Makefile: Likewise.
56016 * nss/Makefile: Likewise.
56017 * time/Makefile: Likewise.
56018 * soft-fp/Makefile: Likewise.
56019 * dirent/Makefile: Likewise.
56020 * gmon/Makefile: Likewise.
56021 * po/Makefile: Likewise.
56022 * rt/Makefile: Likewise.
56023 * socket/Makefile: Likewise.
56024 * math/Makefile: Likewise.
56025 * signal/Makefile: Likewise.
56026 * debug/Makefile: Likewise.
56027 * elf/Makefile: Likewise.
56028 * timezone/Makefile: Likewise.
56029 * stdlib/Makefile: Likewise.
56030 * iconvdata/Makefile: Likewise.
56031 * sunrpc/Makefile: Likewise.
56032 * io/Makefile: Likewise.
56033 * argp/Makefile: Likewise.
56034 * inet/Makefile: Likewise.
56035 * hesiod/Makefile: Likewise.
56036 * grp/Makefile: Likewise.
56037 * csu/Makefile: Likewise.
56038 * wctype/Makefile: Likewise.
56039 * crypt/Makefile: Likewise.
56040 * libio/Makefile: Likewise.
56041 * string/Makefile: Likewise.
56042 * nis/Makefile: Likewise.
56043 * resolv/Makefile: Likewise.
56044 * stdio-common/Makefile: Likewise.
56045 * wcsmbs/Makefile: Likewise.
56046 * dlfcn/Makefile: Likewise.
56047 * posix/Makefile: Likewise.
56048
56049 [BZ #6959]
56050 * timezone/Makefile: Don't install timezone files, just the programs
56051 and scripts.
56052
56053 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56054
56055 * nss/databases.def: Add missing gshadow entry.
56056
56057 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56058
56059 2012-03-06 Marek Polacek <polacek@redhat.com>
56060
56061 [BZ #13726]
56062 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56063 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56064 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56065 * stdio-common/tst-long-dbl-fphex.c: New file.
56066
56067 2012-03-06 David S. Miller <davem@davemloft.net>
56068
56069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56070 (set_obp_int): New function.
56071 (get_obp_int): New function.
56072 (__get_clockfreq_via_dev_openprom): Likewise.
56073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56074 Avoid unused variable warnings on 'val' and use builtin_expect.
56075 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56076 __builtin_expect.
56077 (INLINE_CLONE_SYSCALL): Likewise.
56078
56079 2012-03-05 David S. Miller <davem@davemloft.net>
56080
56081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56082
56083 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56084
56085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56086
56087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56088 only for |x| >= 40.
56089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56090
56091 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56092
56093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56094 Replace gettimeofday with __vdso_gettimeofday.
56095
56096 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56097 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56098 __vdso_clock_gettime and __vdso_getcpu.
56099
56100 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56101 time with __vdso_time.
56102
56103 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56104
56105 * manual/lang.texi (size_t): Note types to which size_t may be
56106 equivalent with the GNU C Library, but do not describe when
56107 differences between them are significant.
56108
56109 2012-03-05 Andreas Jaeger <aj@suse.de>
56110
56111 * sysdeps/i386/fpu/libm-test-ulps: Update.
56112
56113 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56114
56115 [BZ #3976]
56116 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56117 (__ieee754_pow): Save and restore rounding mode and use
56118 round-to-nearest for main computations.
56119 * math/libm-test.inc (pow_test_tonearest): New function.
56120 (pow_test_towardzero): Likewise.
56121 (pow_test_downward): Likewise.
56122 (pow_test_upward): Likewise.
56123 (main): Call the new functions.
56124 * sysdeps/i386/fpu/libm-test-ulps: Update.
56125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56126
56127 [BZ #3976]
56128 * math/libm-test.inc (cosh_test_tonearest): New function.
56129 (cosh_test_towardzero): Likewise.
56130 (cosh_test_downward): Likewise.
56131 (cosh_test_upward): Likewise.
56132 (sinh_test_tonearest): Likewise.
56133 (sinh_test_towardzero): Likewise.
56134 (sinh_test_downward): Likewise.
56135 (sinh_test_upward): Likewise.
56136 (main): Call the new functions.
56137 * sysdeps/i386/fpu/libm-test-ulps: Update.
56138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56139
56140 2012-03-05 Tom de Vries <tom@codesourcery.com>
56141
56142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56143 default stack guard is set in last bytes.
56144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56145
56146 2012-03-05 Kees Cook <keescook@chromium.org>
56147
56148 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56149
56150 [BZ #13656]
56151 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56152 possibly allocate from heap instead of stack.
56153 * stdio-common/bug-vfprintf-nargs.c: New file.
56154 * stdio-common/Makefile (tests): Add nargs overflow test.
56155
56156 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56157
56158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56159
56160 2012-03-03 Marek Polacek <polacek@redhat.com>
56161
56162 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56163 * math/math_private.h: Likewise.
56164 * stdlib/tst-strtod.c: Likewise.
56165 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56166 * sysdeps/x86_64/bits/atomic.h: Likewise.
56167
56168 2012-03-02 David S. Miller <davem@davemloft.net>
56169
56170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56174 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56175 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56176 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56177 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56178
56179 2012-03-02 Roland McGrath <roland@hack.frob.com>
56180
56181 [BZ #13792]
56182 * manual/examples/README: New file, says the example source files
56183 can be used under GPL>=2.
56184 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56185 line containing just "*/".
56186 * manual/examples/add.c: Add copyright header (GPL>=2).
56187 * manual/examples/argp-ex1.c: Likewise.
56188 * manual/examples/argp-ex2.c: Likewise.
56189 * manual/examples/argp-ex3.c: Likewise.
56190 * manual/examples/argp-ex4.c: Likewise.
56191 * manual/examples/atexit.c: Likewise.
56192 * manual/examples/db.c: Likewise.
56193 * manual/examples/dir.c: Likewise.
56194 * manual/examples/dir2.c: Likewise.
56195 * manual/examples/execinfo.c: Likewise.
56196 * manual/examples/filecli.c: Likewise.
56197 * manual/examples/filesrv.c: Likewise.
56198 * manual/examples/fmtmsgexpl.c: Likewise.
56199 * manual/examples/genpass.c: Likewise.
56200 * manual/examples/inetcli.c: Likewise.
56201 * manual/examples/inetsrv.c: Likewise.
56202 * manual/examples/isockad.c: Likewise.
56203 * manual/examples/longopt.c: Likewise.
56204 * manual/examples/memopen.c: Likewise.
56205 * manual/examples/memstrm.c: Likewise.
56206 * manual/examples/mkfsock.c: Likewise.
56207 * manual/examples/mkisock.c: Likewise.
56208 * manual/examples/mygetpass.c: Likewise.
56209 * manual/examples/pipe.c: Likewise.
56210 * manual/examples/popen.c: Likewise.
56211 * manual/examples/rprintf.c: Likewise.
56212 * manual/examples/search.c: Likewise.
56213 * manual/examples/select.c: Likewise.
56214 * manual/examples/setjmp.c: Likewise.
56215 * manual/examples/sigh1.c: Likewise.
56216 * manual/examples/sigusr.c: Likewise.
56217 * manual/examples/stpcpy.c: Likewise.
56218 * manual/examples/strdupa.c: Likewise.
56219 * manual/examples/strftim.c: Likewise.
56220 * manual/examples/strncat.c: Likewise.
56221 * manual/examples/subopt.c: Likewise.
56222 * manual/examples/swapcontext.c: Likewise.
56223 * manual/examples/termios.c: Likewise.
56224 * manual/examples/testopt.c: Likewise.
56225 * manual/examples/testpass.c: Likewise.
56226 * manual/examples/timeval_subtract.c: Likewise.
56227
56228 [BZ #13792]
56229 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56230 function to ...
56231 * manual/timeval_subtract.c.texi: ... here, new file.
56232
56233 2012-03-02 David S. Miller <davem@davemloft.net>
56234
56235 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56236
56237 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56238
56239 [BZ #3976]
56240 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56241 (__sin): Save and restore rounding mode and use round-to-nearest
56242 for all computations.
56243 (__cos): Save and restore rounding mode and use round-to-nearest
56244 for all computations.
56245 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56246 <fenv.h>.
56247 (tan): Save and restore rounding mode and use round-to-nearest for
56248 all computations.
56249 * math/libm-test.inc (cos_test_tonearest): New function.
56250 (cos_test_towardzero): Likewise.
56251 (cos_test_downward): Likewise.
56252 (cos_test_upward): Likewise.
56253 (sin_test_tonearest): Likewise.
56254 (sin_test_towardzero): Likewise.
56255 (sin_test_downward): Likewise.
56256 (sin_test_upward): Likewise.
56257 (tan_test_tonearest): Likewise.
56258 (tan_test_towardzero): Likewise.
56259 (tan_test_downward): Likewise.
56260 (tan_test_upward): Likewise.
56261 (main): Call the new functions.
56262 * sysdeps/i386/fpu/libm-test-ulps: Update.
56263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56264
56265 [BZ #10135]
56266 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56267 small n, then large n, before computing and testing k+n.
56268 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56270 Likewise.
56271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56272 Likewise.
56273 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56274 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56279 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56280 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56281 * math/libm-test.inc (scalbn_test): Add more tests.
56282 (scalbln_test): Likewise.
56283
56284 * manual/filesys.texi (mode_t): Describe constraints on size and
56285 signedness, not exact equivalence to a particular type.
56286 (ino_t): Likewise.
56287 (ino64_t): Likewise.
56288 (dev_t): Likewise.
56289 (nlink_t): Likewise.
56290 (blkcnt_t): Likewise.
56291 (blkcnt64_t): Likewise.
56292 * manual/llio.texi (off_t): Likewise.
56293
56294 [BZ #3976]
56295 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56296 (__ieee754_exp): Save and restore rounding mode and use
56297 round-to-nearest for all computations.
56298 * math/libm-test.inc (exp_test_tonearest): New function.
56299 (exp_test_towardzero): Likewise.
56300 (exp_test_downward): Likewise.
56301 (exp_test_upward): Likewise.
56302 (main): Call the new functions.
56303 * sysdeps/i386/fpu/libm-test-ulps: Update.
56304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56305
56306 2012-03-01 Chris Demetriou <cgd@google.com>
56307
56308 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56309 have predictable order.
56310
56311 2012-03-01 David S. Miller <davem@davemloft.net>
56312
56313 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56314
56315 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56316 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56317 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56318 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56319
56320 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56321 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56322 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56324 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56325 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56326 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56327 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56328 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56329
56330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56331
56332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56333 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56334 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56335
56336 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56337 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56338 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56339 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56340 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56343 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56344 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56345 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56346 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56349 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56350 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56352 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56353 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56354 * sysdeps/sparc/elf/configure: Regenerated.
56355
56356 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56357
56358 * configure.in (AS, LD): Require binutils 2.20 or later.
56359 * configure: Regenerated.
56360 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56361 as required minimum version.
56362 * INSTALL: Regenerated.
56363
56364 [BZ #2541]
56365 [BZ #4108]
56366 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56367 before squaring exponent.
56368 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56369 bottom long double and 27 bits of top long double before squaring
56370 exponent.
56371 * math/libm-test.inc (erfc_test): Add more tests.
56372 * sysdeps/i386/fpu/libm-test-ulps: Update.
56373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56375
56376 2012-03-01 Kai Tietz <ktietz@redhat.com>
56377
56378 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56379 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56380 containing bit-fields.
56381 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56382 * soft-fp/single.h (_FP_UNION_S): Likewise.
56383 * soft-fp/double.h (_FP_UNION_D): Likewise.
56384
56385 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56386
56387 [BZ #13786]
56388 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56389 not include ../strcmp.S.
56390 [USE_AS_STRNCASECMP_L]: Likewise.
56391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56392 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56393 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56394 (__strncasecmp_l_ia32): Define as alias to
56395 __strncasecmp_l_nonascii.
56396
56397 [BZ #5794]
56398 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56399 * sysdeps/i386/fpu/libm-test-ulps: Update.
56400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56401
56402 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56404
56405 2012-02-29 Jeff Law <law@redhat.com>
56406
56407 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56408 out of bounds read.
56409
56410 2012-02-29 Marek Polacek <polacek@redhat.com>
56411
56412 [BZ #13706]
56413 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56414 * elf/Makefile: Add rules to run tst-unused-dep.out.
56415
56416 2012-02-28 David S. Miller <davem@davemloft.net>
56417
56418 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56419 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56422 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56423 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56424
56425 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56426
56427 * math/libm-test.inc (llround_test): Move one test from
56428 lround_test. Use TEST_f_L in moved test.
56429 (lround_test): Move misplaced test to llround_test. Add testcase
56430 from bug 2561.
56431
56432 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56433
56434 * sysdeps/x86_64/fpu/e_expf.S: New file.
56435 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56436
56437 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56438
56439 [BZ #13637]
56440 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56441 of remain_len that may cause incomplete multi-byte character and
56442 false match.
56443 * posix/bug-regex33.c: New file.
56444 * posix/Makefile (tests): Add bug-regex33.
56445
56446 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56447
56448 * manual/macros.texi: New file.
56449 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56450 * manual/libc.texinfo: Include macros.texi.
56451 * manual/creatute.texi: Likewise.
56452 * manual/install.texi: Likewise.
56453 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56454 @glibcadj{} in references to the GNU C Library.
56455 * manual/charset.texi: Likewise.
56456 * manual/conf.texi: Likewise.
56457 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56458 when not using those macros.
56459 * manual/creature.texi: Likewise.
56460 * manual/crypt.texi: Likewise.
56461 * manual/errno.texi: Likewise.
56462 * manual/filesys.texi: Likewise.
56463 * manual/header.texi: Likewise.
56464 * manual/install.texi: Likewise.
56465 * manual/intro.texi: Likewise.
56466 * manual/io.texi: Likewise.
56467 * manual/job.texi: Likewise.
56468 * manual/lang.texi: Likewise.
56469 * manual/libc.texiinfo: Likewise.
56470 * manual/llio.texi: Likewise.
56471 * manual/locale.texi: Likewise.
56472 * manual/maint.texi: Likewise.
56473 * manual/math.texi: Likewise.
56474 * manual/memory.texi: Likewise.
56475 * manual/message.texi: Likewise.
56476 * manual/nss.texi: Likewise.
56477 * manual/pattern.texi: Likewise.
56478 * manual/process.texi: Likewise.
56479 * manual/resource.texi: Likewise.
56480 * manual/search.texi: Likewise.
56481 * manual/setjmp.texi: Likewise.
56482 * manual/signal.texi: Likewise.
56483 * manual/socket.texi: Likewise.
56484 * manual/startup.texi: Likewise.
56485 * manual/stdio.texi: Likewise.
56486 * manual/string.texi: Likewise.
56487 * manual/sysinfo.texi: Likewise.
56488 * manual/syslog.texi: Likewise.
56489 * manual/terminal.texi: Likewise.
56490 * manual/time.texi: Likewise.
56491 * manual/users.texi: Likewise.
56492 * INSTALL: Regenerated.
56493 * NOTES: Regenerated.
56494 * sysdeps/gnu/errlist.c: Regenerated.
56495
56496 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56497
56498 * include/dirent.h: Include <dirstream.h> before
56499 <dirent/dirent.h>.
56500
56501 2012-02-28 David S. Miller <davem@davemloft.net>
56502
56503 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56504 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56505 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56507
56508 2012-02-27 David S. Miller <davem@davemloft.net>
56509
56510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56512 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56513 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56514
56515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56516 frame pointer instead of stack pointer relative arg slot.
56517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56518 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56519 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56520
56521 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56522
56523 [BZ #3992]
56524 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56525
56526 2012-02-27 David S. Miller <davem@davemloft.net>
56527
56528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56534 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56535 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56536
56537 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56538
56539 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56540 later. Allow versions 5-9.
56541 * configure: Regenerated.
56542 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56543 required minimum version and 4.6 as recommended version. Do not
56544 mention bugs in GCC 2.7 and 2.8.
56545 * INSTALL: Regenerated.
56546
56547 2012-02-27 David S. Miller <davem@davemloft.net>
56548
56549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56553 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56554 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56555 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56556 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56557
56558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56559 manipulate bits before adding and subtracting TWO112[sx].
56560 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56561
56562 2012-02-27 Roland McGrath <roland@hack.frob.com>
56563
56564 [BZ #13775]
56565 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56566 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56567 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56568 being in POSIX, because they are in 1003.1-2008.
56569
56570 * rt/tst-aio.c: Include <fcntl.h>.
56571 * rt/tst-aio7.c: Likewise.
56572 * rt/tst-aio64.c: Likewise.
56573
56574 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56575
56576 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56577
56578 * manual/install.texi (--with-headers): Describe headers as
56579 interface headers, not private headers.
56580 (Specific advice for GNU/Linux systems): Describe use of headers
56581 from "make headers_install", not private headers from older
56582 kernels.
56583 * INSTALL: Regenerated.
56584 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56585 Change to 2.6.19.
56586 * sysdeps/unix/sysv/linux/configure: Regenerated.
56587
56588 * manual/llio.texi (fclean): Remove documentation.
56589
56590 * manual/Makefile (libc-texi-generated): New variable. Include
56591 version.texi.
56592 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56593 $(libc-texi-generated), not duplicated list of files.
56594 (version.texi, stamp-version): New rules.
56595 (realclean): Remove $(libc-texi-generated), not individual files
56596 from that list. Do not remove dir-add.texinfo.
56597 * manual/libc.texinfo: Comment out uses of edition numbers and
56598 references to printed manual. Remove last-updated dates.
56599 (EDITION): Comment out.
56600 (ISBN): Likewise.
56601 (VERSION, UPDATED): Remove.
56602 (version.texi): Include.
56603
56604 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56605
56606 * sysdeps/posix/spawni.c: Include <signal.h>.
56607 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56608 * sysdeps/pthread/aio_fsync.c: Likewise.
56609
56610 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56611
56612 * conform/Makefile (tests): Run only when not cross-compiling and
56613 when fast-check is not defined.
56614
56615 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56616 * conform/data/limits.h-data: Fixes for POSIX2008.
56617 * conform/run-conformtest.sh: Run all tests.
56618 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56619 headers.
56620 * include/bits/dlfcn.h: Likewise.
56621 * include/langinfo.h: Likewise.
56622 * include/monetary.h: Likewise.
56623 * include/sys/poll.h: Likewise.
56624
56625 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56626 for __USE_GNU.
56627 * posix/spawn.h: Define __need_sigset_t.
56628 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56629 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56630 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56631 to get sigevent_t only.
56632 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56633 only for __USE_GNU.
56634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56635 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56636 process_vm_writev only for __USE_GNU.
56637 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56638
56639 * conform/Makefile: For now ignore errors from run-conformtest.
56640 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56641 POSIX to avoid namespace pollution. Don't prepend headers.
56642 * conform/data/aio.h-data: Fixes for POSIX testing.
56643 * conform/data/fcntl.h-data: Likewise.
56644 * conform/data/glob.h-data: Likewise.
56645 * conform/data/grp.h-data: Likewise.
56646 * conform/data/pthread.h-data: Likewise.
56647 * conform/data/pwd.h-data: Likewise.
56648 * conform/data/signal.h-data: Likewise.
56649 * conform/data/spawn.h-data: Likewise.
56650 * conform/data/stdio.h-data: Likewise.
56651 * conform/data/stdlib.h-data: Likewise.
56652 * conform/data/stropts.h-data: Likewise.
56653 * conform/data/sys/mman.h-data: Likewise.
56654 * conform/data/sys/stat.h-data: Likewise.
56655 * conform/data/sys/types.h-data: Likewise.
56656 * conform/data/sys/wait.h-data: Likewise.
56657 * conform/data/time.h-data: Likewise.
56658 * conform/data/unistd.h-data: Likewise.
56659 * conform/data/utime.h-data: Likewise.
56660
56661 * io/sys/stat.h: fchmod was always in POSIX.
56662 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56663 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56664 * rt/aio.h: Define __need_timespec before including <time.h>.
56665 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56666 struct. Add forward declaration of pthread_attr_t and use it in
56667 sigevent.
56668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56669 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56670 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56671 always remove CLK_TCK definition.
56672
56673 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56674
56675 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56676
56677 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56678
56679 * conform/run-conformtest.sh: New file.
56680 * conform/Makefile: Run run-conformtest for tests.
56681 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56682 support.
56683
56684 * conform/data/uchar.h-data: New file.
56685 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56686 * conform/data/arpa/inet.h-data: Likewise.
56687 * conform/data/assert.h-data: Likewise.
56688 * conform/data/complex.h-data: Likewise.
56689 * conform/data/cpio.h-data: Likewise.
56690 * conform/data/ctype.h-data: Likewise.
56691 * conform/data/dirent.h-data: Likewise.
56692 * conform/data/dlfcn.h-data: Likewise.
56693 * conform/data/errno.h-data: Likewise.
56694 * conform/data/fcntl.h-data: Likewise.
56695 * conform/data/float.h-data: Likewise.
56696 * conform/data/fmtmsg.h-data: Likewise.
56697 * conform/data/fnmatch.h-data: Likewise.
56698 * conform/data/ftw.h-data: Likewise.
56699 * conform/data/glob.h-data: Likewise.
56700 * conform/data/grp.h-data: Likewise.
56701 * conform/data/iconv.h-data: Likewise.
56702 * conform/data/inttypes.h-data: Likewise.
56703 * conform/data/langinfo.h-data: Likewise.
56704 * conform/data/libgen.h-data: Likewise.
56705 * conform/data/limits.h-data: Likewise.
56706 * conform/data/locale.h-data: Likewise.
56707 * conform/data/math.h-data: Likewise.
56708 * conform/data/monetary.h-data: Likewise.
56709 * conform/data/mqueue.h-data: Likewise.
56710 * conform/data/ndbm.h-data: Likewise.
56711 * conform/data/net/if.h-data: Likewise.
56712 * conform/data/netdb.h-data: Likewise.
56713 * conform/data/netinet/in.h-data: Likewise.
56714 * conform/data/nl_types.h-data: Likewise.
56715 * conform/data/poll.h-data: Likewise.
56716 * conform/data/pthread.h-data: Likewise.
56717 * conform/data/pwd.h-data: Likewise.
56718 * conform/data/regex.h-data: Likewise.
56719 * conform/data/sched.h-data: Likewise.
56720 * conform/data/search.h-data: Likewise.
56721 * conform/data/semaphore.h-data: Likewise.
56722 * conform/data/setjmp.h-data: Likewise.
56723 * conform/data/signal.h-data: Likewise.
56724 * conform/data/spawn.h-data: Likewise.
56725 * conform/data/stdarg.h-data: Likewise.
56726 * conform/data/stdio.h-data: Likewise.
56727 * conform/data/stdlib.h-data: Likewise.
56728 * conform/data/string.h-data: Likewise.
56729 * conform/data/strings.h-data: Likewise.
56730 * conform/data/stropts.h-data: Likewise.
56731 * conform/data/sys/ipc.h-data: Likewise.
56732 * conform/data/sys/mman.h-data: Likewise.
56733 * conform/data/sys/msg.h-data: Likewise.
56734 * conform/data/sys/resource.h-data: Likewise.
56735 * conform/data/sys/select.h-data: Likewise.
56736 * conform/data/sys/sem.h-data: Likewise.
56737 * conform/data/sys/shm.h-data: Likewise.
56738 * conform/data/sys/socket.h-data: Likewise.
56739 * conform/data/sys/stat.h-data: Likewise.
56740 * conform/data/sys/statvfs.h-data: Likewise.
56741 * conform/data/sys/time.h-data: Likewise.
56742 * conform/data/sys/timeb.h-data: Likewise.
56743 * conform/data/sys/times.h-data: Likewise.
56744 * conform/data/sys/types.h-data: Likewise.
56745 * conform/data/sys/uio.h-data: Likewise.
56746 * conform/data/sys/un.h-data: Likewise.
56747 * conform/data/sys/utsname.h-data: Likewise.
56748 * conform/data/sys/wait.h-data: Likewise.
56749 * conform/data/syslog.h-data: Likewise.
56750 * conform/data/tar.h-data: Likewise.
56751 * conform/data/termios.h-data: Likewise.
56752 * conform/data/utime.h-data: Likewise.
56753 * conform/data/utmpx.h-data: Likewise.
56754 * conform/data/varargs.h-data: Likewise.
56755 * conform/data/wchar.h-data: Likewise.
56756 * conform/data/wctype.h-data: Likewise.
56757 * conform/data/wordexp.h-data: Likewise.
56758
56759 * include/stropts.h: New file.
56760 * include/uchar.h: New file.
56761 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56762 * include/assert.h: Likewise.
56763 * include/ctype.h: Likewise.
56764 * include/dirent.h: Likewise.
56765 * include/dlfcn.h: Likewise.
56766 * include/fcntl.h: Likewise.
56767 * include/fnmatch.h: Likewise.
56768 * include/glob.h: Likewise.
56769 * include/grp.h: Likewise.
56770 * include/libio.h: Likewise.
56771 * include/locale.h: Likewise.
56772 * include/math.h: Likewise.
56773 * include/net/if.h: Likewise.
56774 * include/netdb.h: Likewise.
56775 * include/netinet/in.h: Likewise.
56776 * include/pthread.h: Likewise.
56777 * include/pwd.h: Likewise.
56778 * include/regex.h: Likewise.
56779 * include/sched.h: Likewise.
56780 * include/search.h: Likewise.
56781 * include/setjmp.h: Likewise.
56782 * include/signal.h: Likewise.
56783 * include/stdio.h: Likewise.
56784 * include/stdlib.h: Likewise.
56785 * include/string.h: Likewise.
56786 * include/sys/cdefs.h: Likewise.
56787 * include/sys/mman.h: Likewise.
56788 * include/sys/msg.h: Likewise.
56789 * include/sys/resource.h: Likewise.
56790 * include/sys/select.h: Likewise.
56791 * include/sys/socket.h: Likewise.
56792 * include/sys/stat.h: Likewise.
56793 * include/sys/statvfs.h: Likewise.
56794 * include/sys/time.h: Likewise.
56795 * include/sys/times.h: Likewise.
56796 * include/sys/uio.h: Likewise.
56797 * include/sys/utsname.h: Likewise.
56798 * include/sys/wait.h: Likewise.
56799 * include/termios.h: Likewise.
56800 * include/time.h: Likewise.
56801 * include/ulimit.h: Likewise.
56802 * include/unistd.h: Likewise.
56803 * include/utime.h: Likewise.
56804 * include/wchar.h: Likewise.
56805 * include/wctype.h: Likewise.
56806 * include/wordexp.h: Likewise.
56807
56808 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56809
56810 * time/time.h: TIME_UTC must be a macro.
56811 Make timespec_get available for ISO C11 only as well.
56812
56813 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56814
56815 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56816 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56817
56818 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56819
56820 * configure.in: Use -o not -a in test for unsupported multi-arch.
56821
56822 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56823
56824 * manual/texinfo.tex: Update to version 2012-01-19.16.
56825
56826 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56827
56828 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56829
56830 2012-02-24 Roland McGrath <roland@hack.frob.com>
56831
56832 [BZ #13738]
56833 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56834 * manual/fdl-1.3.texi: New file.
56835 * manual/fdl-1.1.texi: File removed.
56836
56837 [BZ #13738]
56838 * manual/libc.texinfo (FDL_VERSION): New @set.
56839 Use it for mention of FDL in cover text.
56840 (Documentation License): Use it in @include file name.
56841
56842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56843 Roland McGrath <roland@hack.frob.com>
56844
56845 [BZ #5461]
56846 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56847 (not LONG_LONG_MAX and LONG_LONG_MIN.
56848 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56849 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56850 name.
56851 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56852
56853 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56854
56855 [BZ #2547]
56856 [BZ #11365]
56857 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56858 manipulate bits before adding and subtracting TWO23[sx].
56859 * math/libm-test.inc (nearbyint_test): Add more tests.
56860
56861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56862
56863 [BZ #2548]
56864 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56865 bits before adding and subtracting TWO23[sx].
56866 * math/libm-test.inc (rint_test): Add more tests.
56867 (rint_test_tonearest): Likewise.
56868 (rint_test_towardzero): Likewise.
56869 (rint_test_downward): Likewise.
56870 (rint_test_upward: Likewise.
56871
56872 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56873
56874 [BZ #10110]
56875 * include/stdc-predef.h: New file. Extracted from features.h.
56876 * include/features.h: Include stdc-predef.h.
56877 * Makefile (headers): Add stdc-predef.h.
56878 * CONFORMANCE (Compiler limitations): Update.
56879
56880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56881
56882 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56883
56884 2012-02-21 David S. Miller <davem@davemloft.net>
56885
56886 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56887 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56888
56889 2012-02-20 David S. Miller <davem@davemloft.net>
56890
56891 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56892 using a normal save/restore sequence, rather than allocating a
56893 dummy stack frame just to store a frame pointer and restore.
56894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56895
56896 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56897
56898 * manual/install.texi: Fix stray word in line-wrapped comment.
56899
56900 2012-02-20 David S. Miller <davem@davemloft.net>
56901
56902 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56903 both binutils and gcc support GOTDATA.
56904
56905 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56906 "rd %pc" in the PIC register setup sequences.
56907
56908 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56909 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56910 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56911 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56912 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56917 (SYSCALL_ERROR_HANDLER): Likewise.
56918 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56919 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56921 (SYSCALL_ERROR_HANDLER): Likewise.
56922
56923 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56924 (HAVE_GCC_GOTDATA): New.
56925 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56926 relocation support in both binutils and gcc.
56927 * sysdeps/sparc/elf/configure: Regenerate.
56928
56929 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56930 * sysdeps/sparc/sparc32/elf/configure: Delete.
56931 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56932 * sysdeps/sparc/sparc64/elf/configure: Delete.
56933 * sysdeps/sparc/elf/configure.in: New file.
56934 * sysdeps/sparc/elf/configure: Generate.
56935
56936 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56937 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56938 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56939 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56940 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56941
56942 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56943
56944 * manual/install.texi: Do not mention specific glibc version
56945 numbers.
56946 * manual/libc.texinfo (VERSION, UPDATED): Update.
56947 (@copying): Use @copyright{} and range of years.
56948
56949 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56950
56951 [BZ #13695]
56952 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56953 [crti.S not in sysdirs] (generated): Do not append.
56954 [crti.S not in sysdirs] (omit-deps): Likewise.
56955 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56956 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56957 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56958 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56959 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56960 Likewise.
56961 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56962 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56963 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56964 * csu/defs.awk: Remove file.
56965 * sysdeps/generic/initfini.c: Likewise.
56966 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56967 variable.
56968 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56969 Likewise.
56970
56971 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56972
56973 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56974 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56975 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56976 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56977 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56978 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56979 <bits/epoll.h>.
56980 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56981 (__EPOLL_PACKED): Define to empty if not defined by
56982 <bits/epoll.h>.
56983 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56985 bits/epoll.h.
56986
56987 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56988
56989 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56990 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56991 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56992 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56993 <bits/timerfd.h>.
56994 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56996 bits/timerfd.h.
56997
56998 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56999
57000 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57001 in C locale.
57002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57003 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57004 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57006
57007 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57008
57009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57010 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57011
57012 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57013
57014 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57015 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57016 defined.
57017 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57018 Likewise.
57019 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57020 entry for 2.16.
57021
57022 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57023
57024 * math/w_acos.c: Use non-signaling floating-point comparisons.
57025 * math/w_acosf.c: Likewise.
57026 * math/w_acosh.c: Likewise.
57027 * math/w_acoshf.c: Likewise.
57028 * math/w_acoshl.c: Likewise.
57029 * math/w_acosl.c: Likewise.
57030 * math/w_asin.c: Likewise.
57031 * math/w_asinf.c: Likewise.
57032 * math/w_asinl.c: Likewise.
57033 * math/w_atanh.c: Likewise.
57034 * math/w_atanhf.c: Likewise.
57035 * math/w_atanhl.c: Likewise.
57036 * math/w_exp2.c: Likewise.
57037 * math/w_exp2f.c: Likewise.
57038 * math/w_exp2l.c: Likewise.
57039 * math/w_j0.c: Likewise.
57040 * math/w_j0f.c: Likewise.
57041 * math/w_j0l.c: Likewise.
57042 * math/w_j1.c: Likewise.
57043 * math/w_j1f.c: Likewise.
57044 * math/w_j1l.c: Likewise.
57045 * math/w_jn.c: Likewise.
57046 * math/w_jnf.c: Likewise.
57047 * math/w_log.c: Likewise.
57048 * math/w_log10.c: Likewise.
57049 * math/w_log10f.c: Likewise.
57050 * math/w_log10l.c: Likewise.
57051 * math/w_log2.c: Likewise.
57052 * math/w_log2f.c: Likewise.
57053 * math/w_log2l.c: Likewise.
57054 * math/w_logf.c: Likewise.
57055 * math/w_logl.c: Likewise.
57056 * math/w_sqrt.c: Likewise.
57057 * math/w_sqrtf.c: Likewise.
57058 * math/w_sqrtl.c: Likewise.
57059 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57060 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57061 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57062 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57063 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57064
57065 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57066
57067 [BZ #9739]
57068 * manual/string.texi (strnlen): Use correct parameter name in
57069 equivalent expression.
57070
57071 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57072
57073 [BZ #11174]
57074 * manual/users.texi (seteuid): Consistently use neweuid for
57075 argument name.
57076
57077 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57078
57079 [BZ #13704]
57080 * manual/nss.texi (Services in the NSS configuration): Correct
57081 list of services in example configuration file.
57082
57083 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57084
57085 [BZ #11322]
57086 * manual/arith.texi: Remove statements about negative zero
57087 behaving identically to zero.
57088
57089 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57090
57091 [BZ #5993]
57092 * manual/install.texi: Do not document upgrading from libc5.
57093
57094 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57095
57096 [BZ #4596]
57097 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57098
57099 2012-02-18 David S. Miller <davem@davemloft.net>
57100
57101 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57102 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57103 %o7 across the call.
57104 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57105 instead.
57106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57107 SETUP_PIC_REG_LEAF.
57108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57109 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57110 * sysdeps/sparc/crtn.S: Likewise.
57111
57112 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57113
57114 * aout/Makefile: Remove.
57115
57116 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57117
57118 [BZ #13058]
57119 * manual/examples/argp-ex1.c (main): Format definition in GNU
57120 style.
57121 * manual/examples/argp-ex2.c (main): Likewise.
57122 * manual/examples/argp-ex3.c (main): Likewise.
57123 * manual/examples/argp-ex4.c (main): Likewise.
57124 * manual/examples/longopt.c (main): Use new-style prototype
57125 definition.
57126 * manual/examples/strncat.c (main): Specify return type and use
57127 (void) for arguments.
57128 * manual/examples/subopt.c (main): Use char **argv argument.
57129
57130 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57131
57132 [BZ #5077]
57133 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57134 rounding modes.
57135
57136 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57137
57138 [BZ #6907]
57139 * manual/string.texi (strchr): Change when strchrnul is
57140 recommended.
57141
57142 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57143
57144 [BZ #174]
57145 * manual/locale.texi (setlocale): Document LOCPATH.
57146
57147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57148
57149 [BZ #10210]
57150 * manual/process.texi (execle): Move @dots{} before last argument.
57151
57152 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57153
57154 [BZ #12047]
57155 * manual/charset.texi (Generic Charset Conversion): Fix typo
57156 (LC_TYPE -> LC_CTYPE).
57157
57158 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57159
57160 [BZ #5805]
57161 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57162 (scalbnf): Likewise.
57163 (scalbnl): Likewise.
57164 (scalbln): Likewise.
57165 (scalblnf): Likewise.
57166 (scalblnl): Likewise.
57167 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57168 (vwarnx): Likewise.
57169 (verr): Likewise.
57170 (verrx): Likewise.
57171 * manual/filesys.texi (telldir): Use braces around return type.
57172 * manual/llio.texi (mmap): Add space after comma.
57173 (mmap64): Likewise.
57174 * manual/math.texi (jn): Use @var{} on parameter names.
57175 (jnf): Likewise.
57176 (jnl): Likewise.
57177 (yn): Likewise.
57178 (ynf): Likewise.
57179 (ynl): Likewise.
57180 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57181 line.
57182 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57183 "...".
57184 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57185 (sched_get_priority_max): Likewise.
57186 * manual/signal.texi (sigvec): Add space after comma.
57187 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57188 names.
57189 (if_indextoname): Likewise.
57190 (if_freenameindex): Likewise.
57191 (sendto): Use ',' instead of '.' in prototype.
57192 * manual/startup.texi (syscall): Use @dots{} instead of literal
57193 "...".
57194 * manual/stdio.texi (__fpending): Separate initial words of
57195 paragraph from @deftypefun line.
57196 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57197 "...".
57198 (vsyslog): Use @var{} on parameter names.
57199 * manual/terminal.texi (stty): Use @var{} on parameter names.
57200 * manual/users.texi (getutmp): Use @var{} on parameter names.
57201 (getutmpx): Likewise.
57202
57203 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57204
57205 [BZ #6884]
57206 * manual/stdio.texi (fopen): Fix typos in description of
57207 ",ccs=STRING".
57208
57209 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57210
57211 [BZ #4026]
57212 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57213 get clock_id definition.
57214
57215 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57216
57217 [BZ #4822]
57218 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57219 (madvise): Cast every argument to void on its own.
57220
57221 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57222
57223 [BZ #9902]
57224 * manual/startup.texi (Exit Status): Fix typo.
57225
57226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57227
57228 [BZ #10140]
57229 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57230 * manual/examples/argp-ex2.c: Likewise.
57231 * manual/examples/argp-ex3.c: Likewise.
57232
57233 2012-02-16 Richard Henderson <rth@redhat.com>
57234
57235 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57236 * sysdeps/s390/s390-32/initfini.c: Remove.
57237 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57238 * sysdeps/s390/s390-64/initfini.c: Remove.
57239
57240 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57241
57242 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57243 compiler output for sysdeps/generic/initfini.c.
57244 * sysdeps/sh/elf/initfini.c: Remove file.
57245
57246 2012-02-16 David S. Miller <davem@davemloft.net>
57247
57248 [BZ #11494]
57249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57250
57251 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57252 * sysdeps/sparc/crti.S: New file.
57253 * sysdeps/sparc/crtn.S: New file.
57254 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57255 * sysdeps/sparc/sparc64/Makefile: Likewise.
57256
57257 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57258
57259 [BZ #3335]
57260 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57261
57262 2012-02-15 Roland McGrath <roland@hack.frob.com>
57263
57264 [BZ #4822]
57265 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57266
57267 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57268 (write, read, close): Likewise.
57269 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57270
57271 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57272
57273 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57274 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57275 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57276 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57277 <bits/signalfd.h>.
57278 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57280 bits/signalfd.h.
57281
57282 2012-02-14 Marek Polacek <polacek@redhat.com>
57283
57284 * sysdeps/x86_64/crti.S: New file.
57285 * sysdeps/x86_64/crtn.S: New file.
57286 * sysdeps/x86_64/elf/initfini.c: Remove file.
57287
57288 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57289
57290 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57291 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57292 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57293 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57294 <bits/inotify.h>.
57295 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57297 bits/inotify.h.
57298
57299 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57300
57301 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57302 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57303 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57304 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57305 <bits/eventfd.h>.
57306 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57308 bits/eventfd.h.
57309
57310 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57311
57312 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57313 __feraiseexcept instead of feraiseexcept.
57314
57315 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57316 nanosleep invocations.
57317 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57318 strings, and add error checking for a nanosleep invocations.
57319
57320 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57321
57322 Replace FSF snail mail address with URLs, as per GNU coding standards.
57323 Most of the snail mail addresses were wrong anyway, and omitting
57324 them makes the source code easier to maintain. Almost all of the
57325 changes are to license notices and to locale LC_IDENTIFICATION
57326 addresses, except for this one:
57327 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57328 not its snail mail address.
57329
57330 2012-02-09 Richard Henderson <rth@twiddle.net>
57331
57332 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57333 of kernel-features.h.
57334
57335 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57336
57337 2012-02-08 Marek Polacek <polacek@redhat.com>
57338
57339 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57340 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57341 * sysdeps/gnu/_G_config.h: Likewise.
57342 * sysdeps/generic/_G_config.h: Likewise.
57343
57344 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57345
57346 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57347 tests.
57348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57349
57350 * sysdeps/powerpc/powerpc32/crti.S: New file.
57351 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57352 * sysdeps/powerpc/powerpc64/crti.S: New file.
57353 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57354
57355 * Makeconfig (have-initfini): Don't set.
57356 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57357 * configure.in (nopic_initfini): Don't substitute.
57358 * config.h.in (HAVE_INITFINI): Don't #undef.
57359 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57360 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57361
57362 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57363
57364 Support crti.S and crtn.S provided directly by architectures.
57365 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57366 [crti.S in sysdirs] (omit-deps): Likewise.
57367 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57368 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57369 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57370 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57371 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57372 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57373 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57374 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57375 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57376 compiler output for sysdeps/generic/initfini.c.
57377 * sysdeps/i386/elf/Makefile: Remove file.
57378 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57379
57380 2012-02-07 Marek Polacek <polacek@redhat.com>
57381
57382 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57383 * sysdeps/gnu/_G_config.h: Likewise.
57384 * sysdeps/mach/hurd/_G_config.h: Likewise.
57385
57386 2012-02-07 Marek Polacek <polacek@redhat.com>
57387
57388 * math/Makefile (tests): Add tst-CMPLX2.
57389 * math/tst-CMPLX2.c: New file.
57390
57391 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57392
57393 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57394
57395 * math/libm-test.inc (jn_test): Add missing L suffix.
57396
57397 2012-02-06 Marek Polacek <polacek@redhat.com>
57398
57399 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57400 * sysdeps/i386/fpu/e_powf.S: Likewise.
57401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57402 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57403 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57404 * sysdeps/i386/fpu/e_pow.S: Likewise.
57405 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57406 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57407 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57408 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57409 * sysdeps/i386/fpu/e_log2.S: Likewise.
57410 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57411 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57412 * sysdeps/i386/fpu/e_powl.S: Likewise.
57413 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57415 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57416 * sysdeps/i386/fpu/e_logl.S: Likewise.
57417 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57418 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57419 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57420 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57421 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57422 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57423 * sysdeps/i386/fpu/e_log.S: Likewise.
57424 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57426 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57427 * sysdeps/i386/fpu/e_logf.S: Likewise.
57428 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57430 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57431 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57432 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57433 * sysdeps/i386/fpu/e_log10.S: Likewise.
57434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57439 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57440 * sysdeps/i386/asm-syntax.h: Likewise.
57441 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57443 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57444 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57445 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57447 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57448 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57449 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57450 * sysdeps/powerpc/sysdep.h: Likewise.
57451 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57452 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57453
57454 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57455
57456 [BZ #411]
57457 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57458
57459 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57460
57461 * sysdeps/i386/sysdep.h: Include <features.h>.
57462 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57463 version.
57464
57465 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57466
57467 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57468 Define.
57469 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57470 LOAD_PIC_REG_STR.
57471
57472 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57473
57474 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57475 (SETUP_PIC_REG): Use GET_PC_THUNK.
57476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57477 macro.
57478
57479 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57480
57481 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57482 for non-PIC compilation.
57483 (SETUP_PIC_REG): Add .p2align directive.
57484 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57485 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57486 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57487 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57489 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57490 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57499 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57500 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57501 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57502 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57503 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57512 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57513 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57514 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57515 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57516 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57517 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57518 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57519 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57520 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57521 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57522 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57523 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57524 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57525
57526 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57527
57528 * math/tst-CMPLX.c: Include <stdio.h>.
57529
57530 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57531
57532 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57533 float.
57534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57535 * sysdeps/sparc/bits/mathdef.h: Likewise.
57536
57537 2012-01-31 Marek Polacek <polacek@redhat.com>
57538
57539 * libio/libio.h: Don't define _PARAMS.
57540 * locale/programs/config.h: Don't define PARAMS.
57541 * stdlib/strtol_l.c: Likewise.
57542 (__strtol_l): Remove PARAMS from the prototype.
57543
57544 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57545
57546 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57547 names. Just use the correct names. Remove unnecessary wrapper
57548 functions.
57549 * malloc/arena.c: Likewise.
57550 * malloc/hooks.c: Likewise.
57551
57552 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57553 ARENA_TEST says not to. Simplify test for creation of a new arena.
57554 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57555
57556 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57557
57558 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57559 into tail calls.
57560 (update_get_addr): New function.
57561 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57562 GET_ADDR_MODULE parameter.
57563
57564 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57565
57566 * crypt/cert.c: Remove __STDC__ conditionals.
57567 * crypt/crypt-entry.c: Likewise.
57568 * crypt/crypt_util.c: Likewise.
57569 * libio/filedoalloc.c: Likewise.
57570 * libio/fileops.c: Likewise.
57571 * libio/genops.c: Likewise.
57572 * libio/iofclose.c: Likewise.
57573 * libio/iofdopen.c: Likewise.
57574 * libio/iofopen.c: Likewise.
57575 * libio/iofopen64.c: Likewise.
57576 * libio/iogetdelim.c: Likewise.
57577 * libio/iopopen.c: Likewise.
57578 * libio/obprintf.c: Likewise.
57579 * libio/oldfileops.c: Likewise.
57580 * libio/oldiofclose.c: Likewise.
57581 * libio/oldiofdopen.c: Likewise.
57582 * libio/oldiofopen.c: Likewise.
57583 * libio/oldiopopen.c: Likewise.
57584 * libio/wfiledoalloc.c: Likewise.
57585 * libio/wgenops.c: Likewise.
57586 * locale/programs/xmalloc.c: Likewise.
57587 * misc/syslog.c: Likewise.
57588 * stdio-common/xbug.c: Likewise.
57589 * string/memchr.c: Likewise.
57590 * string/memcmp.c: Likewise.
57591 * string/memrchr.c: Likewise.
57592 * string/rawmemchr.c: Likewise.
57593 * sysdeps/posix/getcwd.c: Likewise.
57594 * time/strftime_l.c: Likewise.
57595
57596 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57597
57598 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57599 * config.make.in (config-cflags-sse2avx): Define.
57600 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57601 Fix typo.
57602
57603 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57604
57605 * scripts/config.guess: Update from upstream config git repository.
57606 * scripts/config.sub: Likewise.
57607
57608 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57609
57610 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57611 (EM_NUM): Update.
57612 (R_TILEPRO_*, R_TILEGX_*): New macros.
57613
57614 * scripts/firstversions.awk: Fix bug in version range handling.
57615
57616 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57617
57618 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57619
57620 * include/sys/epoll.h: New file.
57621 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57622 libc_hidden_def.
57623
57624 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57625
57626 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57627 Avoid unnecessary __WORDSIZE == 64 test.
57628 (fmaxf): Use VEX format if possible.
57629 (fmax): Likewise.
57630 (fminf): Likewise.
57631 (fmin): Likewise.
57632
57633 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57634 * math/math_private.h: Remove libc_fegetround* and
57635 libc_fesetround*.
57636 * sysdeps/i386/configure.in: Check for -msse2avx.
57637 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57638 also if SSE2AVX is defined.
57639 Remove libc_fegetround* and libc_fesetround*.
57640 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57641 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57643 of HAS_YMM_USABLE.
57644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57649
57650 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57651
57652 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57653
57654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57655 size is not set.
57656 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57657
57658 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57659
57660 [BZ #13618]
57661 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57662 relocation.
57663 * Makeconfig (libm): Define.
57664 * elf/Makefile: Add rules to build and run tst-relsort1.
57665 * elf/tst-relsort1.c: New file.
57666 * elf/tst-relsort1mod1.c: New file.
57667 * elf/tst-relsort1mod2.c: New file.
57668
57669 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57670
57671 * math/s_ldexp.c: Remove __STDC__ conditionals.
57672 * math/s_ldexpf.c: Likewise.
57673 * math/s_ldexpl.c: Likewise.
57674 * math/s_nextafter.c: Likewise.
57675 * math/s_nexttowardf.c: Likewise.
57676 * math/s_significand.c: Likewise.
57677 * math/s_significandf.c: Likewise.
57678 * math/s_significandl.c: Likewise.
57679 * math/w_jnl.c: Likewise.
57680 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57681 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57686 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57687 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57688 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57689 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57690 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57694 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57695 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57696 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57697 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57699 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57700 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57701 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57705 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57708 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57711 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57712 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57713 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57714 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57715 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57716 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57717 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57718 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57719 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57720 * sysdeps/ieee754/k_standard.c: Likewise.
57721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57722 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57723 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57724 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57725 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57726 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57728 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57729 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57730 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57731 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57733 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57740 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57743 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57744 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57746 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57751 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57752 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57753 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57754 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57756 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57757 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57758 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57759 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57760 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57761 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57763 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57764 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57765 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57766 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57768 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57769 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57771 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57774 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57775 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57776 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57777 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57778 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57780 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57782 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57783 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57785 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57786 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57787 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57790 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57791 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57797 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57798 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57799 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57800 * sysdeps/ieee754/s_matherr.c: Likewise.
57801 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57802 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57805
57806 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57807
57808 * crypt/md5.h: Remove __STDC__ conditionals.
57809 * libio/libioP.h: Likewise.
57810 * locale/programs/config.h: Likewise.
57811 * sysdeps/generic/sysdep.h: Likewise.
57812 * sysdeps/i386/asm-syntax.h: Likewise.
57813 * sysdeps/s390/asm-syntax.h: Likewise.
57814 * sysdeps/unix/sysdep.h: Likewise.
57815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57817
57818 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57819
57820 * libio/libio.h: Remove __STDC__ conditionals.
57821 * malloc/obstack.h: Likewise.
57822 * math/complex.h: Likewise.
57823 * math/math.h: Likewise.
57824 * sysdeps/generic/_G_config.h: Likewise.
57825 * sysdeps/gnu/_G_config.h: Likewise.
57826 * sysdeps/mach/hurd/_G_config.h: Likewise.
57827 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57828 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57829 * sysdeps/sparc/bits/mathdef.h: Likewise.
57830
57831 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57832
57833 [BZ #13583]
57834 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57835 Clean up HAS_* macros.
57836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57837 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57838 possible.
57839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57840 HAS_AVX.
57841 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57842 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57846
57847 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57848
57849 * elf/tst-unique3.cc (gets): Remove declaration.
57850 * elf/tst-unique3lib.cc (gets): Likewise.
57851 * elf/tst-unique3lib2.cc (gets): Likewise.
57852 * elf/tst-unique4.cc (gets): Likewise.
57853
57854 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57855
57856 * include/stdio.h: Add C++ protection. Add gets declarations and
57857 definitions.
57858 * debug/tst-chk1.c: Don't declare gets here.
57859 * stdio-common/tst-gets.c: Likewise.
57860
57861 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57862
57863 * posix/glob: Remove directory.
57864
57865 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57866
57867 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57868
57869 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57870
57871 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57872 of the non-standard EPFNOSUPPORT.
57873
57874 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57875
57876 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57877 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57878 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57879
57880 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57881
57882 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57883
57884 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57885
57886 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57887 transient errors.
57888 * nscd/grpcache.c (cache_addgr): Likewise.
57889 * nscd/hstcache.c (cache_addhst): Likewise.
57890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57891 * nscd/pwdcache.c (cache_addpw): Likewise.
57892 * nscd/servicescache.c (cache_addserv): Likewise.
57893
57894 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57895
57896 * malloc/malloc.c: Various cleanups.
57897 * malloc/hooks.c: Likewise.
57898
57899 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57900 * stdlib/bug-fmtmsg1.c: New file.
57901
57902 * stdlib/fmtmsg.c (init): Add missing unlock.
57903 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57904
57905 2012-01-12 Marek Polacek <polacek@redhat.com>
57906
57907 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57908 and _GNU_SOURCE.
57909
57910 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57911
57912 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57913 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57914 macro to ensure uniqueness of label name.
57915 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57916 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57917
57918 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57919
57920 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57921
57922 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57923 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57924 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57926
57927 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57928
57929 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57930
57931 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57932 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57933 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57934
57935 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57936
57937 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57938 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57941
57942 * math/bits/math-finite.h: Add ldexp support.
57943
57944 2012-01-10 Marek Polacek <polacek@redhat.com>
57945
57946 * locale/programs/localedef.h (show_archive_content): Add noreturn
57947 attribute.
57948
57949 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57950
57951 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57952
57953 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57954
57955 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57956
57957 * io/Makefile (headers): Add bits/poll2.h.
57958
57959 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57960
57961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57962 typo #include statement.
57963
57964 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57965
57966 * include/sys/cdefs.h: Define __attribute_alloc_size.
57967 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57968 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57969 * elf/pldd.c: Likewise.
57970 * iconv/iconv_charmap.c: Likewise.
57971 * iconv/iconvconfig.c: Likewise.
57972 * iconv/strtab.c: Likewise.
57973 * locale/programs/locale.c: Likewise.
57974 * locale/programs/localedef.h: Likewise.
57975 * locale/programs/simple-hash.c: Likewise.
57976 * nscd/nscd.h: Likewise.
57977 * nss/makedb.c: Likewise.
57978 * sysdeps/generic/ldconfig.h: Likewise.
57979 * locale/programs/localedef.c: Remove xmalloc prototype.
57980 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57981
57982 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57983
57984 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57985 appropriate.
57986
57987 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57988
57989 * math/Makefile (tests): Add tst-CMPLX.
57990 * math/tst-CMPLX.c: New file.
57991
57992 * math/complex.h (CMPLXL): Fix typo.
57993
57994 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57995 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57996 GLIBC_2.16.
57997 * debug/tst-chk1.c: Add poll and ppoll tests.
57998 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57999 * include/sys/poll.h: Add hidden proto for ppoll.
58000 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58001 * sysdeps/mach/hurd/ppoll.c: Likewise.
58002 * io/ppoll.c: Likewise.
58003 * debug/poll_chk.c: New file.
58004 * debug/ppoll_chk.c: New file.
58005 * include/bits/poll2.h: New file.
58006 * io/bits/poll2.h: New file.
58007
58008 [BZ #1350]
58009 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58010
58011 * configure.in: static is always set to yes. Remove.
58012 * config.make.in: Don't set build-static.
58013 * Makeconfig: Remove use of build-static.
58014 * dlfcn/Makefile: Likewise.
58015 * elf/Makefile: Likewise.
58016 * math/Makefile: Likewise.
58017 * misc/Makefile: Likewise.
58018 * nptl/Makefile: Likewise.
58019 * sysdeps/mach/hurd/Makefile: Likewise.
58020
58021 * configure.in: PWD_P is not used anymore.
58022 * config.make.in: Remove PWD_P entry.
58023
58024 * configure.in: Remove last remnants of RANLIB.
58025 No need to check for signed size_t anymore.
58026 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58027 and IA-64.
58028 Remove __builtin_expect test because we require at least gcc 3.4.
58029 * aclocal.m4: Likewise.
58030
58031 * wcsmbs/mbrtoc16.c: Implement using towc function.
58032 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58033 * wcsmbs/wcsmbsload.c: Likewise.
58034 * iconv/gconv_simple.c: Likewise.
58035 * iconv/gconv_int.h: Likewise.
58036 * iconv/gconv_builtin.h: Likewise.
58037 * iconv/iconv_prog.c: Remove CHAR16 handling.
58038
58039 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58040
58041 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58042
58043 * configure.in: Remove --with-elf and --enable-bounded options.
58044 Dont set base_machine for ia64. More non-ELF conditions removed.
58045 Remove testing and setting of leading underscore information.
58046 * config.make.in (build-bounded): Set to no.
58047 * config.h.in: Remove NO_UNDERSCORES entry.
58048 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58049 them.
58050 * csu/start.c: Remove !NO_UNDERSCORE code.
58051 * locale/localeinfo.h: Likewise.
58052 * sysdeps/generic/machine-gmon.h: Likewise.
58053 * sysdeps/generic/sysdep.h: Likewise.
58054 * sysdeps/i386/sysdep.h: Likewise.
58055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58056 * sysdeps/mach/sysdep.h: Likewise.
58057 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58059 * sysdeps/sh/sysdep.h: Likewise.
58060 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58061 * sysdeps/unix/i386/sysdep.S: Likewise.
58062 * sysdeps/unix/sparc/start.c: Likewise.
58063 * sysdeps/unix/sparc/sysdep.S: Likewise.
58064 * sysdeps/unix/sparc/sysdep.h: Likewise.
58065 * sysdeps/unix/start.c: Likewise.
58066 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58067 * sysdeps/x86_64/sysdep.h: Likewise.
58068
58069 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58070
58071 [BZ #13553]
58072 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58073 for non-gcc.
58074 * argp/argp-fmtstream.h: Use const instead __const.
58075 * argp/argp.h: Likewise.
58076 * assert/assert.h: Likewise.
58077 * bits/fenv.h: Likewise.
58078 * bits/sched.h: Likewise.
58079 * bits/sigset.h: Likewise.
58080 * bits/sigthread.h: Likewise.
58081 * catgets/nl_types.h: Likewise.
58082 * conform/data/pthread.h-data: Likewise.
58083 * crypt/crypt-private.h: Likewise.
58084 * crypt/crypt.h: Likewise.
58085 * crypt/crypt_util.c: Likewise.
58086 * ctype/ctype.h: Likewise.
58087 * debug/execinfo.h: Likewise.
58088 * debug/mbsnrtowcs_chk.c: Likewise.
58089 * debug/mbsrtowcs_chk.c: Likewise.
58090 * debug/wcsnrtombs_chk.c: Likewise.
58091 * debug/wcsrtombs_chk.c: Likewise.
58092 * debug/wcstombs_chk.c: Likewise.
58093 * dirent/dirent.h: Likewise.
58094 * dlfcn/dlfcn.h: Likewise.
58095 * elf/neededtest4.c: Likewise.
58096 * grp/grp.h: Likewise.
58097 * gshadow/gshadow.h: Likewise.
58098 * iconv/gconv.h: Likewise.
58099 * iconv/gconv_int.h: Likewise.
58100 * iconv/gconv_simple.c: Likewise.
58101 * iconv/iconv.h: Likewise.
58102 * iconv/loop.c: Likewise.
58103 * iconv/skeleton.c: Likewise.
58104 * include/aio.h: Likewise.
58105 * include/aliases.h: Likewise.
58106 * include/argz.h: Likewise.
58107 * include/arpa/inet.h: Likewise.
58108 * include/assert.h: Likewise.
58109 * include/dirent.h: Likewise.
58110 * include/dlfcn.h: Likewise.
58111 * include/execinfo.h: Likewise.
58112 * include/fcntl.h: Likewise.
58113 * include/fenv.h: Likewise.
58114 * include/glob.h: Likewise.
58115 * include/grp.h: Likewise.
58116 * include/libintl.h: Likewise.
58117 * include/mntent.h: Likewise.
58118 * include/netdb.h: Likewise.
58119 * include/pwd.h: Likewise.
58120 * include/rpc/netdb.h: Likewise.
58121 * include/sched.h: Likewise.
58122 * include/search.h: Likewise.
58123 * include/shadow.h: Likewise.
58124 * include/signal.h: Likewise.
58125 * include/stdio.h: Likewise.
58126 * include/stdlib.h: Likewise.
58127 * include/string.h: Likewise.
58128 * include/sys/socket.h: Likewise.
58129 * include/sys/stat.h: Likewise.
58130 * include/sys/statfs.h: Likewise.
58131 * include/sys/statvfs.h: Likewise.
58132 * include/sys/syslog.h: Likewise.
58133 * include/sys/time.h: Likewise.
58134 * include/sys/uio.h: Likewise.
58135 * include/time.h: Likewise.
58136 * include/unistd.h: Likewise.
58137 * include/utmp.h: Likewise.
58138 * include/wchar.h: Likewise.
58139 * include/wctype.h: Likewise.
58140 * inet/aliases.h: Likewise.
58141 * inet/arpa/inet.h: Likewise.
58142 * inet/netinet/ether.h: Likewise.
58143 * inet/netinet/in.h: Likewise.
58144 * intl/libintl.h: Likewise.
58145 * io/bits/fcntl2.h: Likewise.
58146 * io/fcntl.h: Likewise.
58147 * io/ftw.h: Likewise.
58148 * io/sys/poll.h: Likewise.
58149 * io/sys/stat.h: Likewise.
58150 * io/sys/statfs.h: Likewise.
58151 * io/sys/statvfs.h: Likewise.
58152 * io/utime.h: Likewise.
58153 * libio/bits/stdio.h: Likewise.
58154 * libio/bits/stdio2.h: Likewise.
58155 * libio/libio.h: Likewise.
58156 * libio/libioP.h: Likewise.
58157 * libio/stdio.h: Likewise.
58158 * locale/lc-ctype.c: Likewise.
58159 * locale/locale.h: Likewise.
58160 * login/utmp.h: Likewise.
58161 * malloc/arena.c: Likewise.
58162 * malloc/malloc.c: Likewise.
58163 * malloc/malloc.h: Likewise.
58164 * malloc/mcheck.c: Likewise.
58165 * malloc/mtrace.c: Likewise.
58166 * math/bits/mathcalls.h: Likewise.
58167 * math/fenv.h: Likewise.
58168 * math/math_private.h: Likewise.
58169 * misc/bits/error.h: Likewise.
58170 * misc/bits/syslog.h: Likewise.
58171 * misc/err.h: Likewise.
58172 * misc/error.h: Likewise.
58173 * misc/fstab.h: Likewise.
58174 * misc/mntent.h: Likewise.
58175 * misc/regexp.h: Likewise.
58176 * misc/search.h: Likewise.
58177 * misc/sgtty.h: Likewise.
58178 * misc/sys/mman.h: Likewise.
58179 * misc/sys/syslog.h: Likewise.
58180 * misc/sys/uio.h: Likewise.
58181 * misc/sys/xattr.h: Likewise.
58182 * misc/ttyent.h: Likewise.
58183 * nis/rpcsvc/ypclnt.h: Likewise.
58184 * nss/nss.h: Likewise.
58185 * posix/bits/unistd.h: Likewise.
58186 * posix/fnmatch.h: Likewise.
58187 * posix/glob.h: Likewise.
58188 * posix/sched.h: Likewise.
58189 * posix/spawn.h: Likewise.
58190 * posix/sys/wait.h: Likewise.
58191 * posix/unistd.h: Likewise.
58192 * posix/wordexp.h: Likewise.
58193 * pwd/pwd.h: Likewise.
58194 * resolv/netdb.h: Likewise.
58195 * resource/sys/resource.h: Likewise.
58196 * rt/aio.h: Likewise.
58197 * rt/bits/mqueue2.h: Likewise.
58198 * rt/mqueue.h: Likewise.
58199 * shadow/shadow.h: Likewise.
58200 * signal/signal.h: Likewise.
58201 * socket/send.c: Likewise.
58202 * socket/sendto.c: Likewise.
58203 * socket/sys/socket.h: Likewise.
58204 * stdio-common/printf.h: Likewise.
58205 * stdlib/bits/stdlib.h: Likewise.
58206 * stdlib/fmtmsg.h: Likewise.
58207 * stdlib/monetary.h: Likewise.
58208 * stdlib/stdlib.h: Likewise.
58209 * stdlib/ucontext.h: Likewise.
58210 * streams/stropts.h: Likewise.
58211 * string/argz.h: Likewise.
58212 * string/bits/string2.h: Likewise.
58213 * string/string.h: Likewise.
58214 * string/strings.h: Likewise.
58215 * sunrpc/rpc/auth.h: Likewise.
58216 * sunrpc/rpc/auth_des.h: Likewise.
58217 * sunrpc/rpc/clnt.h: Likewise.
58218 * sunrpc/rpc/netdb.h: Likewise.
58219 * sunrpc/rpc/pmap_clnt.h: Likewise.
58220 * sunrpc/rpc/xdr.h: Likewise.
58221 * sysdeps/generic/inttypes.h: Likewise.
58222 * sysdeps/generic/net/if.h: Likewise.
58223 * sysdeps/generic/sys/swap.h: Likewise.
58224 * sysdeps/gnu/net/if.h: Likewise.
58225 * sysdeps/gnu/utmpx.h: Likewise.
58226 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58227 * sysdeps/i386/i486/bits/string.h: Likewise.
58228 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58229 * sysdeps/s390/bits/string.h: Likewise.
58230 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58231 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58232 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58233 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58234 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58235 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58236 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58237 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58238 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58239 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58240 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58241 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58242 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58243 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58244 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58245 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58246 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58251 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58252 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58253 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58254 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58255 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58256 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58258 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58259 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58260 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58261 * sysvipc/sys/ipc.h: Likewise.
58262 * sysvipc/sys/msg.h: Likewise.
58263 * sysvipc/sys/sem.h: Likewise.
58264 * sysvipc/sys/shm.h: Likewise.
58265 * termios/termios.h: Likewise.
58266 * time/sys/time.h: Likewise.
58267 * time/time.h: Likewise.
58268 * wcsmbs/bits/wchar2.h: Likewise.
58269 * wcsmbs/uchar.h: Likewise.
58270 * wcsmbs/wchar.h: Likewise.
58271 * wctype/wctype.h: Likewise.
58272
58273 [BZ #13551]
58274 * Makeconfig: Remove all but ELF support including AIX support.
58275 * Makerules: Likewise.
58276 * config.h.in: Likewise.
58277 * config.make.in: Likewise.
58278 * configure: Likewise.
58279 * configure.in: Likewise.
58280 * csu/Makefile: Likewise.
58281 * csu/version.c: Likewise.
58282 * debug/Makefile: Likewise.
58283 * dlfcn/Makefile: Likewise.
58284 * elf/Makefile: Likewise.
58285 * extra-lib.mk: Likewise.
58286 * iconv/Makefile: Likewise.
58287 * include/libc-symbols.h: Likewise.
58288 * include/shlib-compat.h: Likewise.
58289 * resolv/Makefile: Likewise.
58290 * resolv/res_libc.c: Likewise.
58291 * rt/Makefile: Likewise.
58292 * sysdeps/i386/asm-syntax.h: Likewise.
58293 * sysdeps/i386/sysdep.h: Likewise.
58294 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58295 * sysdeps/mach/sysdep.h: Likewise.
58296 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58297 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58298 * sysdeps/s390/asm-syntax.h: Likewise.
58299 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58301 * sysdeps/sh/sysdep.h: Likewise.
58302 * sysdeps/unix/sparc/sysdep.h: Likewise.
58303 * sysdeps/wordsize-32/divdi3.c: Likewise.
58304 * sysdeps/x86_64/sysdep.h: Likewise.
58305
58306 * argp/Versions: Remove _argp_unlock_xxx.
58307
58308 [BZ #13559]
58309 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58310 * abilist/libBrokenLocale.abilist: Likewise.
58311 * abilist/libanl.abilist: Likewise.
58312 * abilist/libc.abilist: Likewise.
58313 * abilist/libcrypt.abilist: Likewise.
58314 * abilist/libdl.abilist: Likewise.
58315 * abilist/libm.abilist: Likewise.
58316 * abilist/libnsl.abilist: Likewise.
58317 * abilist/libpthread.abilist: Likewise.
58318 * abilist/libresolv.abilist: Likewise.
58319 * abilist/librt.abilist: Likewise.
58320 * abilist/libthread_db.abilist: Likewise.
58321 * abilist/libutil.abilist: Likewise.
58322 * abilist/libnss_db.abilist: New file.
58323
58324 * scripts/abilist.awk: Add support for indirect functions.
58325
58326 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58327
58328 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58329
58330 * shlib-versions: Remove entries for ports architectures.
58331
58332 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58333 files in ports.
58334 * elf/stackguard-macros.h: Remove support for IA-64.
58335 * elf/tst-auditmod1.c: Likewise.
58336 * sysdeps/generic/ldsodefs.h: Likewise.
58337
58338 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58339 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58340 configure files.
58341
58342 [BZ #13552]
58343 * configure.in: Remove --enable-omitfp support.
58344 * FAQ.in: Adjust.
58345 * config.make.in: Likewise.
58346 * Makeconfig: Likewise.
58347 * manual/install.texi: Likewise.
58348
58349 In case anyone cares, the IA-64 architecture could move to ports.
58350 * sysdeps/ia64/*: Removed.
58351 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58352 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58353
58354 [BZ #13555]
58355 * configure.in: Remove entries for unsupported architectures.
58356
58357 [BZ #13533]
58358 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58359 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58360 routines.
58361 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58362 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58363 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58364 fall back to using wcrtomb.
58365 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58366 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58367 renaming.
58368 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58369 * wcsmbs/tst-c16c32-1.c: New file.
58370
58371 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58372 local variable.
58373
58374 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58375
58376 * elf/tst-unique3.cc: Add explicit declaration of gets.
58377 * elf/tst-unique3lib.cc: Likewise.
58378 * elf/tst-unique3lib2.cc: Likewise.
58379 * elf/tst-unique4.cc: Likewise.
58380
58381 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58382
58383 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58384
58385 [BZ #13566]
58386 * assert/assert.h (static_assert): Don't define for C++.
58387 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58388 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58389
58390 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58391
58392 * iconv/loop.c (single loop): Fix assertion in storing of
58393 remaining bytes.
58394
58395 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58396
58397 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58398
58399 * posix/getconf.c: Update copyright year.
58400 * nss/getent.c: Likewise.
58401 * nss/makedb.c: Likewise.
58402 * iconv/iconvconfig.c: Likewise.
58403 * iconv/iconv_prog.c: Likewise.
58404 * elf/ldconfig.c: Likewise.
58405 * elf/pldd.c: Likewise.
58406 * elf/sotruss.ksh: Likewise.
58407 * catgets/gencat.c: Likewise.
58408 * csu/version.c: Likewise.
58409 * elf/ldd.bash.in: Likewise.
58410 * elf/sprof.c (print_version): Likewise.
58411 * locale/programs/locale.c: Likewise.
58412 * locale/programs/localedef.c: Likewise.
58413 * login/programs/pt_chown.c: Likewise.
58414 * nscd/nscd.c (print_version): Likewise.
58415 * debug/xtrace.sh: Likewise.
58416 * malloc/memusage.sh: Likewise.
58417 * malloc/mtrace.pl: Likewise.
58418 * debug/catchsegv.sh: Likewise.
58419
58420 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58421
58422 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58423 pure attribute.
58424
58425 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58426
58427 [BZ #13533]
58428 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58429 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58430 transformations.
58431 * iconv/gconv_int.h: Likewise.
58432 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58433 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58434 from libc for GLIBC_2.16.
58435 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58436 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58437 * wcsmbs/uchar.h: Really define mbstate_t.
58438 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58439 * wcsmbs/c16rtomb.c: New file.
58440 * wcsmbs/mbrtoc16.c: New file.
58441 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58442 for C/POSIX locale.
58443 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58444 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58445
58446 * wcsmbs/wchar.h: Add missing __restrict.
58447
58448 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58449
58450 [BZ #13532]
58451 * time/Makefile (routines): Add timespec_get.
58452 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58453 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58454 timespec for ISO C11.
58455 * time/timespec_get.c: New file.
58456 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58457 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58458
58459 [BZ #13531]
58460 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58461 * stdlib/stdlib.h: Declare aligned_alloc.
58462 * Versions.def: Add GLIBC_2.16 for libc.
58463 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58464
58465 [BZ 13527]
58466 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58467 ISO C11.
58468
58469 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58470 code.
58471
58472 [BZ #13528]
58473 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58474
58475 [BZ #13529]
58476 * assert/assert.h (static_assert): Define.
58477
58478 * version.h: Update for 2.16 development version.
58479
58480 [BZ #13526]
58481 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58482 _ISOC11_SOURCE.
58483
58484 * version.h (RELEASE): Bump for 2.15 release.
58485 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58486
58487 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58488 Patch by Marek Polacek <mpolacek@redhat.com>.
58489
58490 * bits/byteswap.h: Protect long long constants with __extension__.
58491 * sysdeps/i386/bits/byteswap.h: Likewise.
58492 * sysdeps/ia64/bits/byteswap.h: Likewise.
58493 * sysdeps/s390/bits/byteswap.h: Likewise.
58494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58495
58496 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58497
58498 [BZ #13540]
58499 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58500 destination buffer.
58501 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58502
58503 2011-12-23 Marek Polacek <polacek@redhat.com>
58504
58505 * elf/dl-addr.c (determine_info): Add inline keyword.
58506 * elf/tst-auditmod4b.c (check_avx): Likewise.
58507 * elf/tst-auditmod6b.c (check_avx): Likewise.
58508 * elf/tst-auditmod6c.c (check_avx): Likewise.
58509 * elf/tst-auditmod7b.c (check_avx): Likewise.
58510
58511 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58512
58513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58514 !__SSE_MATH__.
58515
58516 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58517
58518 [BZ #13540]
58519 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58520 processing for last bytes.
58521
58522 2011-08-06 Bruno Haible <bruno@clisp.org>
58523
58524 [BZ #13061]
58525 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58526 U+0385, not to U+1FEE.
58527
58528 [BZ #13062]
58529 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58530 entry for U+00A5 U+0301.
58531
58532 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58533
58534 [BZ #13166]
58535 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58536 buffer for the output is too small.
58537
58538 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58539 optimization.
58540
58541 [BZ #13185]
58542 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58543 SSE flags if possible.
58544
58545 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58546
58547 [BZ #13540]
58548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58549 processing for last bytes.
58550
58551 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58552
58553 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58554 (syscall-list-default-options, syscall-list-default-condition)
58555 (syscall-list-includes): Define.
58556 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58557 list of ABIs and options and #if conditions for each ABI. Do not
58558 handle common syscalls between ABIs specially.
58559 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58560 Remove.
58561 (syscall-list-variants, syscall-list-32bit-options)
58562 (syscall-list-32bit-condition, syscall-list-64bit-options)
58563 (syscall-list-64bit-condition): Define.
58564 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58565 (syscall-list-variants, syscall-list-32bit-options)
58566 (syscall-list-32bit-condition, syscall-list-64bit-options)
58567 (syscall-list-64bit-condition): Define.
58568 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58569 Remove.
58570 (syscall-list-variants, syscall-list-32bit-options)
58571 (syscall-list-32bit-condition, syscall-list-64bit-options)
58572 (syscall-list-64bit-condition): Define.
58573 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58574 Remove.
58575 (syscall-list-variants, syscall-list-32bit-options)
58576 (syscall-list-32bit-condition, syscall-list-64bit-options)
58577 (syscall-list-64bit-condition): Define.
58578
58579 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58580
58581 * locale/iso-639.def: Add brx entry.
58582
58583 [BZ #13328]
58584 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58585 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58586
58587 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58588 __feraiseexcept_renamed.
58589
58590 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58591
58592 [BZ #13538]
58593 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58594 EPOLLET with unsigned values.
58595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58597
58598 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58599 to large cancellation.
58600 * math/s_cacoshf.c: Likewise.
58601 * math/s_cacoshl.c: Likewise.
58602
58603 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58604
58605 [BZ #13305]
58606 [BZ #12786]
58607 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58608 * math/s_cacoshf.c: Likewise.
58609 * math/s_cacoshl.c: Likewise.
58610
58611 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58612
58613 [BZ #13439]
58614 * iconv/gconv.h: Define __GCONV_SWAP.
58615 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58616 * iconvdata/utf-16.c: Likewise.
58617 * iconvdata/utf-32.c: Likewise.
58618
58619 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58620
58621 [BZ #13524]
58622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58623 numerator after shifting it by one limb.
58624
58625 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58626
58627 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58628 under [__USE_EXTERN_INLINES].
58629
58630 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58631
58632 [BZ #13446]
58633 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58634
58635 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58636
58637 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58638 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58639 optimized code.
58640 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58641 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58642 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58643 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58644 for strncasecmp/strncasecmp_l compilation.
58645 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58646 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58647
58648 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58649
58650 [BZ #13484]
58651 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58652 of __asm__.
58653
58654 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58655
58656 [BZ #13506]
58657 * time/tzfile.c (__tzfile_read): Check values from file header.
58658
58659 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58660
58661 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58662 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58663 * powerpc/powerpc32/dl-start.S: Likewise.
58664 * powerpc/powerpc32/elf/start.S: Likewise.
58665 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58666 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58667 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58668 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58669 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58670 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58671 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58672 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58673 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58674 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58675 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58676 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58677 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58678 * powerpc/powerpc32/memset.S: Likewise.
58679 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58680 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58681 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58682 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58683 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58684 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58685 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58686 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58687 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58688 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58689 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58690 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58691 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58692
58693 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58694
58695 * math/libm-test.inc: Added more nearbyint tests.
58696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58697 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58699 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58700
58701 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58702
58703 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58704 FD_CLOEXEC.
58705
58706 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58707
58708 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58709 Add wcscpy-ssse3 wcscpy-c.
58710 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58711 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58712 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58713 * sysdeps/x86_64/wcschr.S: New file.
58714 * sysdeps/x86_64/wcsrchr.S: New file.
58715 * string/test-strcmp.c: Remove checking of wcscmp function for
58716 wrong alignments.
58717 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58718 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58719 wcsrchr-sse2 wcsrchr-c.
58720 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58721 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58722 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58723 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58724 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58725 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58726 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58727 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58728 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58729 * wcsmbc/wcschr.c (WCSCHR): New macro.
58730
58731 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58732
58733 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58734 * wcsmbs/test-wcsrchr.c: New file.
58735 * string/test-strrchr.c: Add wcsrchr support.
58736 (WIDE): New macro.
58737 * wcsmbs/test-wcscpy.c: New file.
58738 * string/test-strcpy.c: Add wcscpy support.
58739 (WIDE): New macro.
58740
58741 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58742
58743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58744 the inner loop.
58745
58746 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58747
58748 [BZ #13472]
58749 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58750
58751 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58752
58753 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58754 Minor optimizations.
58755
58756 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58757 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58758 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58759
58760 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58761
58762 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58763 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58764 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58765 for gcc to avoid warnings.
58766 * inet/Makefile (tests): Add tst-checks.
58767 * inet/tst-checks.c: New file.
58768
58769 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58770 warning.
58771
58772 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58773 __wmemcmp_sse2.
58774
58775 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58776 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58777
58778 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58779
58780 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58781
58782 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58783 problem.
58784
58785 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58786
58787 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58788
58789 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58790 conditional on GCC version.
58791 (__arch_compare_and_exchange_val_8_acq)
58792 (__arch_compare_and_exchange_val_16_acq)
58793 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58794 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58795 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58796
58797 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58798
58799 * sysdeps/sh/backtrace.c: New file.
58800
58801 2011-12-02 Andreas Schwab <schwab@redhat.com>
58802
58803 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58804 parenthesis.
58805
58806 2011-12-01 Andreas Schwab <schwab@redhat.com>
58807
58808 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58809 falling back to utime.
58810
58811 2011-11-30 Andreas Schwab <schwab@redhat.com>
58812
58813 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58814 expectations for float.
58815
58816 2011-11-29 Andreas Schwab <schwab@redhat.com>
58817
58818 * locale/weight.h (findidx): Add parameter len.
58819 * locale/weightwc.h (findidx): Likewise.
58820 * posix/fnmatch_loop.c (FCT): Adjust caller.
58821 * posix/regcomp.c (build_equiv_class): Likewise.
58822 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58823 * posix/regexec.c (check_node_accept_bytes): Likewise.
58824 * string/strcoll_l.c (STRCOLL): Likewise.
58825 * string/strxfrm_l.c (STRXFRM): Likewise.
58826
58827 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58828
58829 * Makefile.in: Remove CVSOPT handling.
58830 * configure.in: Remove use of AC_REVISION.
58831 * iconvdata/Makefile (distribute): No need to filter out CVS.
58832 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58833 handling.
58834
58835 2011-11-16 Andreas Schwab <schwab@redhat.com>
58836
58837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58838 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58839 [USE_AS_STRNCASECMP_L]: Likewise.
58840 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58841 NO_TLS_DIRECT_SEG_REFS.
58842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58843 Fix argument offsets for non-PIC.
58844 [USE_AS_STRNCASECMP_L]: Likewise.
58845 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58846 NO_TLS_DIRECT_SEG_REFS.
58847
58848 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58849
58850 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58851 O_CLOEXEC.
58852 * locale/loadlocale.c (_nl_load_locale): Likewise.
58853
58854 2011-11-15 Andreas Schwab <schwab@redhat.com>
58855
58856 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58857 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58858 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58859 (SYSCALL_GETTIME): Set errno on error.
58860
58861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58862 count references to noai6ai_cached.
58863
58864 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58865
58866 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58867
58868 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58869 FD_CLOEXEC for /proc/self/maps.
58870
58871 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58872 FD_CLOEXEC for /proc/meminfo.
58873
58874 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58875 gai.conf.
58876
58877 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58878 FD_CLOEXEC for given file.
58879
58880 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58881
58882 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58883 FD_CLOEXEC for /etc/hosts.
58884 (_gethtent): Likewise.
58885
58886 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58887
58888 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58889 cancellation and set FD_CLOEXEC for /etc/netgroup.
58890
58891 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58892 reading /etc/publickey.
58893
58894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58895 allow cancellation when reading /etc/group.
58896
58897 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58898 cancellation.
58899 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58900
58901 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58902 when using data file.
58903
58904 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58905
58906 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58907 (write_nis_obj): Use "c" and "e" in fopen.
58908
58909 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58910
58911 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58912
58913 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58914
58915 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58916
58917 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58918 locale.alias.
58919
58920 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58921
58922 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58923
58924 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58925
58926 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58927 file parsing and set FD_CLOEXEC.
58928
58929 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58930
58931 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58932
58933 2011-11-14 Andreas Schwab <schwab@redhat.com>
58934
58935 * malloc/arena.c (arena_get2): Don't call reused_arena when
58936 _int_new_arena failed.
58937
58938 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58939
58940 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58941 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58944 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58946 to compile strcasecmp and strncasecmp.
58947 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58948 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58949
58950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58951
58952 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58953
58954 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58955 locale-defines.sym to gen-as-const-headers.
58956 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58957 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58959 to compile strcasecmp and strncasecmp.
58960 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58961 strcasecmp_l and strncasecmp_l.
58962 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58963 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58964 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58965 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58966 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58967 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58968 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58969 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58970 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58971 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58972 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58973
58974 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58975
58976 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58977 result of SYSDEP_GETTIME_CPU to retval.
58978 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58979 parameter list to macro. Remove trailing semicolon. Adjust users.
58980
58981 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58982 variable.
58983
58984 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58985 mantissa words.
58986 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58987
58988 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58989 from unused variable.
58990
58991 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58992 DWARF definitions.
58993 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58994 for assembling.
58995
58996 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58997 over namespaces.
58998
58999 * sunrpc/rpc_prot.c (rejected): Fix case value.
59000
59001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59002 unsigned long long int to avoid warnings in shift.
59003
59004 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59005 of use of trans.
59006 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59007 variable tmp.
59008
59009 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59010 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59011 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59012
59013 * nis/nis_table.c (nis_list): Use variable of correct type for
59014 result of __follow_path call.
59015
59016 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59017
59018 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59019 of math functions ceil, trunc, floor, round, and sqrt, when
59020 avaliable on the platform.
59021 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59022 name clash.
59023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59026
59027 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59028
59029 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59031
59032 2011-11-11 Roland McGrath <roland@hack.frob.com>
59033
59034 * include/unistd.h: Fix __readlink return type.
59035 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59036
59037 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59038
59039 * stdlib/ucontext.h: Undo last change for makecontext.
59040
59041 2011-11-11 Andreas Schwab <schwab@redhat.com>
59042
59043 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59044
59045 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59046 * setjmp/setjmp.h: Mark functions as non-leaf.
59047 * setjmp/bits/setjmp2.h: Likewise.
59048 * stdlib/ucontext.h: Likewise.
59049
59050 2011-11-10 Andreas Schwab <schwab@redhat.com>
59051
59052 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59053 (reused_arena): Don't check arena limit.
59054 (arena_get2): Atomically check arena limit.
59055
59056 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59057
59058 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59059 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59060
59061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59062 instructions.
59063
59064 2011-11-07 Andreas Schwab <schwab@redhat.com>
59065
59066 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59067 handler when locking.
59068
59069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59070 Fix size of allocated buffer.
59071
59072 2011-11-04 Andreas Schwab <schwab@redhat.com>
59073
59074 [BZ #10103]
59075 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59076 declarations for long double functions.
59077 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59078
59079 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59080
59081 2011-11-03 Andreas Schwab <schwab@redhat.com>
59082
59083 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59084 installed.
59085
59086 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59087 is disabled.
59088
59089 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59090
59091 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59092
59093 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59094
59095 * include/alloca.h (stackinfo_alloca_round): Define.
59096 (extend_alloca): Use it.
59097 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59098 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59099 here.
59100
59101 * scripts/check-local-headers.sh: Ignore libaudit.h.
59102
59103 * nscd/Makefile (extra-objs): Make recursively expanded.
59104
59105 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59106
59107 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59108 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59109
59110 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59111 * posix/tst-rfc3484-2.c: Likewise.
59112 * posix/tst-rfc3484-3.c: Likewise.
59113
59114 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59115 process_vm_writev.
59116 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59117 process_vm_writev.
59118 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59119 process_vm_writev from libc using GLIBC_2.15 version.
59120
59121 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59122
59123 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59124
59125 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59126 stack usage.
59127
59128 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59129
59130 [BZ #13367]
59131 * nss/getent.c (initgroups_keys): Show error message in case no group
59132 names are given.
59133
59134 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59135 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59136 __bump_nl_timestamp.
59137 * nscd/connections (nscd_init): When host database is served open
59138 netlink socket and request notification about configuration changes.
59139 (main_loop_poll): Track netlink file descriptor and bump timestamp
59140 in case data becomes available.
59141 (main_loop_epoll): Likewise.
59142 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59143 (database_pers_head): Add extra_data fileds.
59144 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59145 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59146 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59147 Adjust caller.
59148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59149 in6ai data, call __free_in6ai.
59150 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59151 Add -DHAVE_NETLINK.
59152 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59153 interface information. Reuse previous data if netlink timestamp
59154 is not changed.
59155 (__bump_nl_timestamp): New function.
59156 (__free_in6ai): New function.
59157
59158 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59159
59160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59161 close_not_cancel_no_status here.
59162 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59163
59164 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59165
59166 [BZ #13276]
59167 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59168 return value.
59169
59170 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59171 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59172 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59173
59174 2011-07-03 Andreas Jaeger <aj@suse.de>
59175
59176 [BZ #10709]
59177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59178 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59179 * math/libm-test.inc (sin_test): Add test case.
59180
59181 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59182
59183 [BZ #13337]
59184 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59185 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59186
59187 * elf/chroot_canon.c (chroot_canon): Cleanups.
59188
59189 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59190
59191 [BZ #13335]
59192 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59194
59195 * string/test-strchr.c: Make usable for strchrnul testing.
59196 * string/test-strchrnul.c: New file.
59197 * string/Makefile (strop-tests): Add strchrnul.
59198
59199 * po/it.po: Update from translation team.
59200 * po/es.po: Likewise.
59201
59202 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59203
59204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59205 the three constants needed as parameters. Drop the others.
59206 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59207 __m128i_strloadu_tolower.
59208 Create and initialize variable zero and use it in all the places
59209 where _mm_setzero_si128 was used.
59210
59211 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59212 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59213 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59215 anymore.
59216 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59219 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59221 __mpranred, __mptan.
59222 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59223 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59224 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59225 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59226 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59227 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59229 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59230 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59231
59232 2011-10-28 Andreas Schwab <schwab@redhat.com>
59233
59234 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59235 redefine if SHARED.
59236 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59237
59238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59239 wide char related routines to wcsmbs subdir.
59240
59241 2011-10-27 Andreas Schwab <schwab@redhat.com>
59242
59243 [BZ #13344]
59244 * misc/sys/cdefs.h (__THROWNL): Define.
59245 * posix/unistd.h: Use __THREADNL instead of __THREAD
59246 for memory synchronization functions.
59247
59248 2011-10-26 Roland McGrath <roland@hack.frob.com>
59249
59250 [BZ #13349]
59251 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59252 doesn't exist.
59253 * manual/stdio.texi (Obstack Streams): Node removed.
59254
59255 2011-10-26 Andreas Schwab <schwab@redhat.com>
59256
59257 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59258 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59259 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59260
59261 * math/math_private.h (math_force_eval): Allow non-addressable
59262 arguments.
59263 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59264
59265 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59266
59267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59268 file is not needed.
59269
59270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59273 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59274 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59275 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59277 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59278 Add AVX variants.
59279 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59280 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59281 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59282 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59283 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59284 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59285 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59286 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59287 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59288 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59289 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59290 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59292 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59293 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59294 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59295 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59296 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59297 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59298
59299 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59300 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59301
59302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59303 place. Use VEX encoding when compiling for AVX.
59304
59305 2011-10-25 Andreas Schwab <schwab@redhat.com>
59306
59307 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59308 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59309
59310 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59311
59312 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59313
59314 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59315 useless if() expression.
59316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59321 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59322 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59323 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59324 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59326 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59328 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59329 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59330 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59332 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59333 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59334 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59335
59336 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59337
59338 2011-10-25 Andreas Schwab <schwab@redhat.com>
59339
59340 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59341 condition.
59342 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59343
59344 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59345
59346 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59347 .text section. Avoid duplicate constants.
59348 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59356 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59357 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59358 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59359 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59360 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59361 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59362 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59363 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59364 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59365 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59368 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59369 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59370 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59372 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59373 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59374 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59375 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59376 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59377 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59379 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59381 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59382 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59384 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59386 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59387 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59390 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59391 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59392 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59393
59394 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59395
59396 * sysdeps/x86_64/dla.h: Move to ...
59397 * sysdeps/x86_64/fpu/dla.h: ...here.
59398 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59399 situations. Use __builtin_fma only for gcc 4.6 and up.
59400
59401 * config.make.in: Add have-mfma4 entry.
59402 * configure.in: Substitute libc_cv_cc_fma4.
59403 * math/Makefile (dbl-only-routines): Add sincostab.
59404 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59405 Use __sincostab not sincos.
59406 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59407 name is a macro.
59408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59412 using __copysign.
59413 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59414 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59415 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59416 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59417 and __inv.
59418 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59419 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59420 __copysign.
59421 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59422 define aliases when function name is a macro.
59423 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59424 sysdeps/ieee754/dbl-64/sincos.tbl.
59425 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59426 fma4-enabled routines.
59427 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59428 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59429 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59430 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59431 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59432 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59433 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59434 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59436 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59437 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59438 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59439 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59442 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59443 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59444 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59445 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59447 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59448 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59450 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59451 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59452 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59454 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59455 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59456 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59457
59458 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59459 rename.
59460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59468
59469 2011-10-24 Andreas Schwab <schwab@redhat.com>
59470
59471 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59472
59473 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59474
59475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59476
59477 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59478 prediction.
59479 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59480
59481 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59482 Remove unused variable magic_bits.
59483 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59484
59485 * string/strnlen.c: Define and use STRNLEN macro.
59486 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59487 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59489 * wcsmbs/wcslen.c: Define and use WCSLEN.
59490 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59491 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59492 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59493 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59494 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59495 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59496 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59497
59498 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59499
59500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59501 strnlen-sse2-no-bsf.
59502 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59504 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59505 Add strnlen support.
59506 (USE_AS_STRNLEN): New macro.
59507 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59508 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59509 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59510 * sysdeps/x86_64/wcslen.S: New file.
59511
59512 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59513
59514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59515 XMM-moves are used for copying on small sizes.
59516
59517 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59518
59519 * wcsmbs/Makefile (strop-tests): Add wcschr.
59520 * wcsmbs/test-wcschr.c: New file.
59521 * string/test-strchr.c: Update.
59522 Add wcschr support.
59523 (WIDE): New macro.
59524
59525 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59526
59527 * wcsmbs/Makefile (strop-tests): Add wcslen.
59528 * wcsmbs/test-wcslen.c: New file.
59529 * string/test-strlen.c: Update.
59530 Add wcslen support.
59531 (WIDE): New macro.
59532
59533 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59534
59535 * po/it.po: Update from translation team.
59536
59537 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59538
59539 * sysdeps/x86_64/wcscmp.S: Update.
59540 Fix wrong comparison semantics.
59541 wcscmp shall use signed comparison not unsigned.
59542 Don't use substraction to avoid overflow bug.
59543 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59544 * wcsmbc/wcscmp.c: Likewise.
59545 * string/test-strcmp.c: Likewise.
59546 Add new tests to check cases with negative values.
59547
59548 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59549
59550 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59551 * sysdeps/x86_64/dla.h: ...here. New file.
59552 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59561
59562 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59563
59564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59565 __ynl_finite aliases.
59566
59567 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59568
59569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59570
59571 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59572 define DLA_FMA.
59573 [DLA_FMA] (EMULV): Use DLA_FMA.
59574 [DLA_FMA] (MUL12): Use EMULV.
59575 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59576 that are not needed.
59577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59584
59585 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59586
59587 * math/s_nan.c: Undef __nan.
59588 * math/s_nanf.c: Undef __nanf.
59589 * math/s_nanl.c: Undef __nanl.
59590 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59591 "math_private.h".
59592
59593 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59594
59595 * math/s_catan.c: Add branch predictions.
59596 * math/s_catanf.c: Likewise.
59597 * math/s_catanh.c: Likewise.
59598 * math/s_catanhf.c: Likewise.
59599 * math/s_catanhl.c: Likewise.
59600 * math/s_catanl.c: Likewise.
59601 * math/s_cexp.c: Likewise.
59602 * math/s_cexpf.c: Likewise.
59603 * math/s_cexpl.c: Likewise.
59604 * math/s_clog.c: Likewise.
59605 * math/s_clog10.c: Likewise.
59606 * math/s_clog10f.c: Likewise.
59607 * math/s_clog10l.c: Likewise.
59608 * math/s_clogf.c: Likewise.
59609 * math/s_clogl.c: Likewise.
59610 * math/s_csqrt.c: Likewise.
59611 * math/s_csqrtf.c: Likewise.
59612 * math/s_csqrtl.c: Likewise.
59613 * math/s_ctanf.c: Likewise.
59614 * math/s_ctanh.c: Likewise.
59615 * math/s_ctanhf.c: Likewise.
59616 * math/s_ctanhl.c: Likewise.
59617 * math/s_ctanl.c: Likewise.
59618
59619 * math/math_private.h: Define __nan, __nanf, __nanl.
59620 * math/s_cacosh.c: Include <math_private.h>.
59621 * math/s_cacoshl.c: Likewise.
59622 * math/s_casinh.c: Likewise.
59623 * math/s_casinhf.c: Likewise.
59624 * math/s_casinhl.c: Likewise.
59625 * math/s_ccos.c: Rely entire on ccosh.
59626 * math/s_ccosf.c: Rely entire on ccoshf.
59627 * math/s_ccosl.c: Rely entirely on ccoshl.
59628 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59629 Remove tests for FE_INVALID.
59630 * math/s_ccoshf.c: Likewise.
59631 * math/s_ccoshl.c: Likewise.
59632 * math/s_csin.c: Likewise.
59633 * math/s_csinf.c: Likewise.
59634 * math/s_csinh.c Likewise.
59635 * math/s_csinhf.c: Likewise.
59636 * math/s_csinhl.c: Likewise.
59637 * math/s_csinl.c: Likewise.
59638 * math/s_ctan.c: Likewise.
59639 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59640 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59641 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59642
59643 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59644
59645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59646 compilation problems.
59647
59648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59649 __builtin_expect.
59650
59651 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59652
59653 * sysdeps/i386/configure.in: Test for -mfma4 option.
59654 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59655 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59656 COMMON_CPUID_INDEX_80000001.
59657 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59658 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59659 use it if FMA3 is not supported.
59660 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59661
59662 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59663 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59664
59665 2011-10-20 Andreas Schwab <schwab@redhat.com>
59666
59667 [BZ #12892]
59668 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59669 it would create a cycle with a link time dependency.
59670
59671 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59672
59673 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59674 instruction.
59675 * string/Makefile (strop-tests): Add rawmemchr.
59676 * string/test-rawmemchr.c: New file.
59677
59678 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59680 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59681 when compiling str{,n}casecmp and when AVX is available. Hook up
59682 new optimized code in initializers.
59683
59684 2011-10-19 Andreas Schwab <schwab@redhat.com>
59685
59686 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59687 __feraiseexcept instead of feraiseexcept.
59688
59689 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59690
59691 * math/math_private.h: Define defaults for libc_fetestexcept and
59692 libc_feupdateenv.
59693 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59694 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59695 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59696 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59697 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59698 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59699 libc_fetestexcept and libc_feupdateenv.
59700
59701 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59702 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59703 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59704 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59705 libc_feholdexcept_setround.
59706
59707 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59708 Add s_nearbyint-c and s_nearbyintf-c.
59709 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59710 nearbyintf inlines.
59711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59712 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59713 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59714 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59715
59716 * math/math_private.h: Define defaults for libc_fegetround,
59717 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59718 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59719 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59720 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59721 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59722 standard functions.
59723 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59724 Remove comments and hacks for old compiler versions.
59725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59726 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59727 libc_feholdexceptl.
59728
59729 2011-10-18 Andreas Schwab <schwab@redhat.com>
59730
59731 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59732 (__feraiseexcept_renamed): Add __NTH.
59733 (feraiseexcept): Add __NTH. Rename local variables to fix
59734 namespace violations.
59735
59736 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59737
59738 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59739
59740 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59741
59742 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59743 recently added interfaces.
59744 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59745
59746 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59747 about macro parameter expansion.
59748
59749 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59750 __NO_MATH_INLINES is defined. Cleanups.
59751
59752 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59753 and __floorf is target has SSE4.1.
59754 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59755 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59756 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59758
59759 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59760 name.
59761 (floorf): Likewise.
59762
59763 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59764
59765 2011-10-17 Andreas Schwab <schwab@redhat.com>
59766
59767 * misc/sys/cdefs.h: Fix last change.
59768
59769 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59770 database lookup.
59771
59772 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59773
59774 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59775
59776 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59777 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59778 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59781 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59782 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59783 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59785 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59786 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59787 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59788 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59789 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59790 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59791 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59792 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59793 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59794 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59795 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59796 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59797 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59798
59799 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59800 ceil, ceilf, floor, floorf.
59801
59802 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59803 Perform IRELATIVE relocations last.
59804
59805 * elf/do-rel.h: Add another parameter nrelative, replacing the
59806 local variable with the same name. Change name of the function
59807 to end in Rel or Rela (uppercase).
59808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59809 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59810 elf_dynamic_do_##reloc function.
59811
59812 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59813
59814 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59815 is sufficient, at least on modern CPUs.
59816
59817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59818
59819 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59820 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59821
59822 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59823 __expl_finite.
59824 * math/bits/math-finite.h: Add entries for exp.
59825 * math/e_expl.c: Add __*_finite alias.
59826 * sysdeps/i386/fpu/e_exp.S: Likewise.
59827 * sysdeps/i386/fpu/e_expf.S: Likewise.
59828 * sysdeps/i386/fpu/e_expl.c: Likewise.
59829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59831 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59833 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59834 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59835 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59836
59837 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59838 is sufficient, at least on modern CPUs.
59839
59840 * ctype/ctype-info.c (__ctype_init): Define.
59841 * include/ctype.h (__ctype_init): Declare.
59842 (__ctype_b_loc): The variable is always initialized.
59843 (__ctype_toupper_loc): Likewise.
59844 (__ctype_tolower_loc): Likewise.
59845 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59846 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59847
59848 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59849
59850 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59851
59852 * configure.in: Also look in $cxxmachine/include for C++ system
59853 headers.
59854
59855 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59856
59857 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59858 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59859 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59860 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59861 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59862 (USE_AS_WMEMCMP): New macro.
59863 Fixing indents.
59864 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59865 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59866 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59867 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59869 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59870 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59871 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59872 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59873 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59875 (USE_AS_WMEMCMP): New macro.
59876 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59877 * sysdeps/string/test-memcmp.c: Update.
59878 Fix simple_wmemcmp.
59879 Add new tests.
59880 * wcsmbs/wmemcmp.c: Update.
59881 (WMEMCMP): New macro.
59882 Fix overflow bug.
59883
59884 2011-10-12 Andreas Jaeger <aj@suse.de>
59885
59886 [BZ #13268]
59887 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59888
59889 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59890
59891 * libio/iofwide.c (do_length): Avoid warning.
59892
59893 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59894
59895 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59896
59897 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59898
59899 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59900 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59901 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59902 * sysdeps/i386/i686/fpu/e_log.S: New file.
59903 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59904 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59905
59906 * ctype/ctype.h: Add support for inlined isXXX functions when
59907 compiling C++ code.
59908
59909 2011-10-14 Andreas Schwab <schwab@redhat.com>
59910
59911 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59912
59913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59914
59915 2011-10-13 Roland McGrath <roland@hack.frob.com>
59916
59917 [BZ #13291]
59918 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59919
59920 2011-10-13 Andreas Schwab <schwab@redhat.com>
59921
59922 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59923 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59924 feraiseexcept.
59925
59926 * sysdeps/x86_64/memrchr.S: Check for zero size.
59927
59928 * string/stratcliff.c: Add memrchr tests.
59929
59930 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59931
59932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59933 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59934 rawmemchr-sse2 rawmemchr-sse2-bsf.
59935 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59936 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59937 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59938 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59939 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59940 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59941 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59942 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59943 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59944 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59945 * string/memrchr.c (MEMRCHR): New macro.
59946
59947 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59948
59949 Add integration with gcc's -ffinite-math-only and optimize wrapper
59950 functions in libm.
59951 * Versions.def: Define GLIBC_2.15 version for libm.
59952 * math/Makefile (headers): Add bits/math-finite.h.
59953 * math/bits/math-finite.h: New file.
59954 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59955 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59956 * math/e_acoshl.c: Add __*_finite alias.
59957 * math/e_acosl.c: Likewise.
59958 * math/e_asinl.c: Likewise.
59959 * math/e_atan2l.c: Likewise.
59960 * math/e_atanhl.c: Likewise.
59961 * math/e_coshl.c: Likewise.
59962 * math/e_exp10.c: Likewise.
59963 * math/e_exp10f.c: Likewise.
59964 * math/e_exp10l.c: Likewise.
59965 * math/e_exp2l.c: Likewise.
59966 * math/e_fmodl.c: Likewise.
59967 * math/e_gammal_r.c: Likewise.
59968 * math/e_hypotl.c: Likewise.
59969 * math/e_j0l.c: Likewise.
59970 * math/e_j1l.c: Likewise.
59971 * math/e_jnl.c: Likewise.
59972 * math/e_lgammal_r.c: Likewise.
59973 * math/e_log10l.c: Likewise.
59974 * math/e_log2l.c: Likewise.
59975 * math/e_logl.c: Likewise.
59976 * math/e_powl.c: Likewise.
59977 * math/e_sinhl.c: Likewise.
59978 * math/e_sqrtl.c: Likewise.
59979 * math/e_scalb.c: Completely rewritten and optimized.
59980 * math/e_scalbf.c: Likewise.
59981 * math/e_scalbl.c: Likewise.
59982 * math/w_acos.c: Likewise.
59983 * math/w_acosf.c: Likewise.
59984 * math/w_acosl.c: Likewise.
59985 * math/w_acosh.c: Likewise.
59986 * math/w_acoshf.c: Likewise.
59987 * math/w_acoshl.c: Likewise.
59988 * math/w_asin.c: Likewise.
59989 * math/w_asinf.c: Likewise.
59990 * math/w_asinl.c: Likewise.
59991 * math/w_atan2.c: Likewise.
59992 * math/w_atan2f.c: Likewise.
59993 * math/w_atan2l.c: Likewise.
59994 * math/w_atanh.c: Likewise.
59995 * math/w_atanhf.c: Likewise.
59996 * math/w_atanhl.c: Likewise.
59997 * math/w_exp10.c: Likewise.
59998 * math/w_exp10f.c: Likewise.
59999 * math/w_exp10l.c: Likewise.
60000 * math/w_fmod.c: Likewise.
60001 * math/w_fmodf.c: Likewise.
60002 * math/w_fmodl.c: Likewise.
60003 * math/w_j0.c: Likewise.
60004 * math/w_j0f.c: Likewise.
60005 * math/w_j0l.c: Likewise.
60006 * math/w_j1.c: Likewise.
60007 * math/w_j1f.c: Likewise.
60008 * math/w_j1l.c: Likewise.
60009 * math/w_jn.c: Likewise.
60010 * math/w_jnf.c: Likewise.
60011 * math/w_log.c: Likewise.
60012 * math/w_logf.c: Likewise.
60013 * math/w_logl.c: Likewise.
60014 * math/w_log10.c: Likewise.
60015 * math/w_log10f.c: Likewise.
60016 * math/w_log10l.c: Likewise.
60017 * math/w_log2.c: Likewise.
60018 * math/w_log2f.c: Likewise.
60019 * math/w_log2l.c: Likewise.
60020 * math/w_pow.c: Likewise.
60021 * math/w_powf.c: Likewise.
60022 * math/w_powl.c: Likewise.
60023 * math/w_remainder.c: Likewise.
60024 * math/w_remainderf.c: Likewise.
60025 * math/w_remainderl.c: Likewise.
60026 * math/w_scalb.c: Likewise.
60027 * math/w_scalbf.c: Likewise.
60028 * math/w_scalbl.c: Likewise.
60029 * math/w_sqrt.c: Likewise.
60030 * math/w_sqrtf.c: Likewise.
60031 * math/w_sqrtl.c: Likewise.
60032 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60033 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60034 used.
60035 * math/math_private.h: Declare __kernel_standard_f.
60036 * math/w_cosh.c: Remove cruft and optimize a bit.
60037 * math/w_coshf.c: Likewise.
60038 * math/w_coshl.c: Likewise.
60039 * math/w_exp2.c: Likewise.
60040 * math/w_exp2f.c: Likewise.
60041 * math/w_exp2l.c: Likewise.
60042 * math/w_hypot.c: Likewise.
60043 * math/w_hypotf.c: Likewise.
60044 * math/w_hypotl.c: Likewise.
60045 * math/w_lgamma.c: Likewise.
60046 * math/w_lgamma_r.c: Likewise.
60047 * math/w_lgammaf.c: Likewise.
60048 * math/w_lgammaf_r.c: Likewise.
60049 * math/w_lgammal.c: Likewise.
60050 * math/w_lgammal_r.c: Likewise.
60051 * math/w_sinh.c: Likewise.
60052 * math/w_sinhf.c: Likewise.
60053 * math/w_sinhl.c: Likewise.
60054 * math/w_tgamma.c: Likewise.
60055 * math/w_tgammaf.c: Likewise.
60056 * math/w_tgammal.c: Likewise.
60057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60059 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60060 Minor optimizations. Pretty printing. Remove cruft.
60061 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60062 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60063 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60064 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60065 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60066 * sysdeps/i386/fpu/e_asin.S: Likewise.
60067 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60068 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60069 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60070 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60072 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60073 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60074 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60075 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60076 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60077 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60078 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60079 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60080 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60081 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60082 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60083 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60084 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60085 * sysdeps/i386/fpu/e_log.S: Likewise.
60086 * sysdeps/i386/fpu/e_log10.S: Likewise.
60087 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60088 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60089 * sysdeps/i386/fpu/e_log2.S: Likewise.
60090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60091 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60092 * sysdeps/i386/fpu/e_logf.S: Likewise.
60093 * sysdeps/i386/fpu/e_logl.S: Likewise.
60094 * sysdeps/i386/fpu/e_pow.S: Likewise.
60095 * sysdeps/i386/fpu/e_powf.S: Likewise.
60096 * sysdeps/i386/fpu/e_powl.S: Likewise.
60097 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60098 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60099 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60100 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60101 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60102 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60103 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60104 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60105 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60106 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60107 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60110 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60111 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60112 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60113 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60115 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60116 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60117 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60119 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60120 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60127 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60130 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60131 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60132 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60133 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60135 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60136 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60137 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60138 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60140 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60141 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60142 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60143 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60144 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60145 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60146 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60147 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60148 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60149 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60150 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60151 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60152 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60153 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60154 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60165 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60166 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60174 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60177 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60180 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60182 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60188 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60197 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60199 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60201 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60202 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60203 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60204 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60205 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60206 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60207 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60208 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60209 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60211 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60212 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60214 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60215 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60216 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60217 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60218 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60219 (__isnanf): Likewise.
60220 (__isinf_ns): Likewise.
60221 (__isinf_nsf): Likewise.
60222 (__finite): Likewise.
60223 (__finitef): Likewise.
60224 (__ieee754_sqrt): Define as macro.
60225 (__ieee754_sqrtf): Define as macro.
60226 (__ieee754_sqrtl): Define as macro.
60227 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60228 inlined copy.
60229 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60230 __FINITE_MATH_ONLY__ consistent.
60231 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60232
60233 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60234
60235 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60236 of rawmemchr.
60237
60238 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60239
60240 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60241
60242 * po/ja.po: Update from translation team.
60243
60244 2011-10-08 Roland McGrath <roland@hack.frob.com>
60245
60246 * locale/programs/locarchive.c (prepare_address_space): New function.
60247 (create_archive, enlarge_archive, open_archive): Use it.
60248
60249 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60250 inside [SHARED], where it is used.
60251
60252 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60253
60254 * nss/getent.c (netgroup_keys): Remove unused variable.
60255 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60256
60257 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60258
60259 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60262 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60264 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60265 * math/Makefile (libm-calls): Add s_isinf_ns.
60266 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60267 * math/multc3.c: Likewise.
60268 * math/s_casin.c: Likewise.
60269 * math/s_casinf.c: Likewise.
60270 * math/s_casinl.c: Likewise.
60271 * math/s_ccos.c: Likewise.
60272 * math/s_ccosf.c: Likewise.
60273 * math/s_ccosl.c: Likewise.
60274 * math/s_ctan.c: Likewise.
60275 * math/s_ctanf.c: Likewise.
60276 * math/s_ctanh.c: Likewise.
60277 * math/s_ctanhf.c: Likewise.
60278 * math/s_ctanhl.c: Likewise.
60279 * math/s_ctanl.c: Likewise.
60280 * math/w_fmod.c: Likewise.
60281 * math/w_fmodf.c: Likewise.
60282 * math/w_fmodl.c: Likewise.
60283 * math/w_remainder.c: Likewise.
60284 * math/w_remainderf.c: Likewise.
60285 * math/w_remainderl.c: Likewise.
60286 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60287 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60290 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60291 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60292 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60293 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60294
60295 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60296 of the number.
60297 * stdio-common/printf_fphex.c: Likewise.
60298 * stdio-common/printf_size.c: Likewise.
60299
60300 * math/e_exp10.c: Include math_private.h using <...> not "...".
60301 * math/e_exp10f.c: Likewise.
60302 * math/e_exp10l.c: Likewise.
60303 * math/e_exp2l.c: Likewise.
60304 * math/e_j0l.c: Likewise.
60305 * math/e_j1l.c: Likewise.
60306 * math/e_jnl.c: Likewise.
60307 * math/e_lgammal_r.c: Likewise.
60308 * math/e_rem_pio2l.c: Likewise.
60309 * math/e_scalb.c: Likewise.
60310 * math/e_scalbf.c: Likewise.
60311 * math/e_scalbl.c: Likewise.
60312 * math/k_cosl.c: Likewise.
60313 * math/k_sinl.c: Likewise.
60314 * math/k_tanl.c: Likewise.
60315 * math/s_cacoshf.c: Likewise.
60316 * math/s_catan.c: Likewise.
60317 * math/s_catanf.c: Likewise.
60318 * math/s_catanh.c: Likewise.
60319 * math/s_catanhf.c: Likewise.
60320 * math/s_catanhl.c: Likewise.
60321 * math/s_catanl.c: Likewise.
60322 * math/s_ccosh.c: Likewise.
60323 * math/s_ccoshf.c: Likewise.
60324 * math/s_ccoshl.c: Likewise.
60325 * math/s_cexp.c: Likewise.
60326 * math/s_cexpf.c: Likewise.
60327 * math/s_cexpl.c: Likewise.
60328 * math/s_clog.c: Likewise.
60329 * math/s_clog10.c: Likewise.
60330 * math/s_clog10f.c: Likewise.
60331 * math/s_clog10l.c: Likewise.
60332 * math/s_clogf.c: Likewise.
60333 * math/s_clogl.c: Likewise.
60334 * math/s_csin.c: Likewise.
60335 * math/s_csinf.c: Likewise.
60336 * math/s_csinh.c: Likewise.
60337 * math/s_csinhf.c: Likewise.
60338 * math/s_csinhl.c: Likewise.
60339 * math/s_csinl.c: Likewise.
60340 * math/s_csqrt.c: Likewise.
60341 * math/s_csqrtf.c: Likewise.
60342 * math/s_csqrtl.c: Likewise.
60343 * math/s_ctan.c: Likewise.
60344 * math/s_ctanf.c: Likewise.
60345 * math/s_ctanh.c: Likewise.
60346 * math/s_ctanhf.c: Likewise.
60347 * math/s_ctanhl.c: Likewise.
60348 * math/s_ctanl.c: Likewise.
60349 * math/s_ldexp.c: Likewise.
60350 * math/s_ldexpf.c: Likewise.
60351 * math/s_ldexpl.c: Likewise.
60352 * math/s_significand.c: Likewise.
60353 * math/s_significandf.c: Likewise.
60354 * math/s_significandl.c: Likewise.
60355 * math/w_acos.c: Likewise.
60356 * math/w_acosf.c: Likewise.
60357 * math/w_acosh.c: Likewise.
60358 * math/w_acoshf.c: Likewise.
60359 * math/w_acoshl.c: Likewise.
60360 * math/w_acosl.c: Likewise.
60361 * math/w_asin.c: Likewise.
60362 * math/w_asinf.c: Likewise.
60363 * math/w_asinl.c: Likewise.
60364 * math/w_atan2.c: Likewise.
60365 * math/w_atan2f.c: Likewise.
60366 * math/w_atan2l.c: Likewise.
60367 * math/w_atanh.c: Likewise.
60368 * math/w_atanhf.c: Likewise.
60369 * math/w_atanhl.c: Likewise.
60370 * math/w_cosh.c: Likewise.
60371 * math/w_coshf.c: Likewise.
60372 * math/w_coshl.c: Likewise.
60373 * math/w_dremf.c: Likewise.
60374 * math/w_exp10.c: Likewise.
60375 * math/w_exp10f.c: Likewise.
60376 * math/w_exp10l.c: Likewise.
60377 * math/w_exp2.c: Likewise.
60378 * math/w_exp2f.c: Likewise.
60379 * math/w_fmod.c: Likewise.
60380 * math/w_fmodf.c: Likewise.
60381 * math/w_fmodl.c: Likewise.
60382 * math/w_hypot.c: Likewise.
60383 * math/w_hypotf.c: Likewise.
60384 * math/w_hypotl.c: Likewise.
60385 * math/w_j0.c: Likewise.
60386 * math/w_j0f.c: Likewise.
60387 * math/w_j0l.c: Likewise.
60388 * math/w_j1.c: Likewise.
60389 * math/w_j1f.c: Likewise.
60390 * math/w_j1l.c: Likewise.
60391 * math/w_jn.c: Likewise.
60392 * math/w_jnf.c: Likewise.
60393 * math/w_jnl.c: Likewise.
60394 * math/w_lgamma.c: Likewise.
60395 * math/w_lgamma_r.c: Likewise.
60396 * math/w_lgammaf.c: Likewise.
60397 * math/w_lgammaf_r.c: Likewise.
60398 * math/w_lgammal.c: Likewise.
60399 * math/w_lgammal_r.c: Likewise.
60400 * math/w_log.c: Likewise.
60401 * math/w_log10.c: Likewise.
60402 * math/w_log10f.c: Likewise.
60403 * math/w_log10l.c: Likewise.
60404 * math/w_log2.c: Likewise.
60405 * math/w_log2f.c: Likewise.
60406 * math/w_log2l.c: Likewise.
60407 * math/w_logf.c: Likewise.
60408 * math/w_logl.c: Likewise.
60409 * math/w_pow.c: Likewise.
60410 * math/w_powf.c: Likewise.
60411 * math/w_powl.c: Likewise.
60412 * math/w_remainder.c: Likewise.
60413 * math/w_remainderf.c: Likewise.
60414 * math/w_remainderl.c: Likewise.
60415 * math/w_scalb.c: Likewise.
60416 * math/w_scalbf.c: Likewise.
60417 * math/w_scalbl.c: Likewise.
60418 * math/w_sinh.c: Likewise.
60419 * math/w_sinhf.c: Likewise.
60420 * math/w_sinhl.c: Likewise.
60421 * math/w_sqrt.c: Likewise.
60422 * math/w_sqrtf.c: Likewise.
60423 * math/w_sqrtl.c: Likewise.
60424 * math/w_tgamma.c: Likewise.
60425 * math/w_tgammaf.c: Likewise.
60426 * math/w_tgammal.c: Likewise.
60427
60428 * po/ja.po: Update from translation team.
60429
60430 2011-09-29 Andreas Jaeger <aj@suse.de>
60431
60432 [BZ #13179]
60433 * sunrpc/netname.c (netname2host): Fix logic.
60434
60435 [BZ #6779]
60436 [BZ #6783]
60437 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60438 correctly.
60439 * math/w_remainder.c (__remainder): Likewise.
60440 * math/w_remainderf.c (__remainderf): Likewise.
60441 * math/libm-test.inc (remainder_test): Add test cases.
60442
60443 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60444
60445 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60446 sdiv_qrnnd.
60447
60448 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60449
60450 * string/test-memcmp.c: Avoid unncessary #defines.
60451 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60452
60453 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60454
60455 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60456 Use new sse2 version for core i3 - i7 as it's faster
60457 than sse42 version.
60458 (bit_Prefer_PMINUB_for_stringop): New.
60459 * sysdeps/x86_64/rawmemchr.S: Update.
60460 Replace with faster SSE2 version.
60461 * sysdeps/x86_64/memrchr.S: New file.
60462 * sysdeps/x86_64/memchr.S: Update.
60463 Replace with faster SSE2 version.
60464
60465 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60466
60467 * elf/dl-load.c (lose): Add cast to avoid warning.
60468
60469 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60470
60471 * po/ca.po: Update from translation team.
60472
60473 * inet/getnetgrent_r.c: Hook up nscd.
60474 * nscd/Makefile (routines): Add nscd_netgroup.
60475 (nscd-modules): Add netgroupcache.
60476 (CFLAGS-netgroupcache.c): Define.
60477 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60478 (cache_search): Add const to second parameter.
60479 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60480 INNETGR.
60481 (dbs): Add netgrdb entry.
60482 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60483 (verify_persistent_db): Handle netgrdb.
60484 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60485 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60486 GETFDNETGR.
60487 (netgroup_response_header): Define.
60488 (innetgroup_response_header): Define.
60489 (datahead): Add netgroup_response_header and innetgroup_response_header
60490 elements.
60491 * nscd/nscd.conf: Add entries for netgroup cache.
60492 * nscd/nscd.h (dbtype): Add netgrdb.
60493 (_PATH_NSCD_NETGROUP_DB): Define.
60494 (netgroup_iov_disabled): Declare.
60495 (xmalloc, xcalloc, xrealloc): Move declarations here.
60496 (cache_search): Adjust prototype.
60497 Add netgroup-related prototypes.
60498 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60499 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60500 (__nscd_innetgr): Declare.
60501 * nscd/selinux.c (perms): Use access_vector_t as element type and
60502 add netgroup-related initializers.
60503 * nscd/netgroupcache.c: New file.
60504 * nscd/nscd_netgroup.c: New file.
60505 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60506 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60507 For four parameters use innetgr.
60508 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60509 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60510 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60511 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60512
60513 * nscd/connections.c (register_traced_file): Don't register file
60514 for disabled databases.
60515
60516 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60517
60518 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60519
60520 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60521 from tree and freeing node.
60522
60523 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60524
60525 * nss/nsswitch.c (__nss_database_lookup): Handle
60526 nss_parse_service_list out of memory case.
60527
60528 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60529
60530 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60531 out of memory case.
60532
60533 2011-10-04 Andreas Schwab <schwab@redhat.com>
60534
60535 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60536 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60537 pass it down.
60538 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60539 elf_machine_rela, elf_machine_lazy_rel.
60540 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60541 (ELF_DYNAMIC_DO_REL): Likewise.
60542 (ELF_DYNAMIC_DO_RELA): Likewise.
60543 (ELF_DYNAMIC_RELOCATE): Likewise.
60544 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60545 to ELF_DYNAMIC_DO_REL.
60546 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60547 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60548 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60549 elf_machine_rela.
60550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60551 skip_ifunc, don't call ifunc function if non-zero.
60552 (elf_machine_rela): Likewise.
60553 (elf_machine_lazy_rel): Likewise.
60554 (elf_machine_lazy_rela): Likewise.
60555 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60556 (elf_machine_lazy_rel): Likewise.
60557 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60558 Likewise.
60559 (elf_machine_lazy_rel): Likewise.
60560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60561 Likewise.
60562 (elf_machine_lazy_rel): Likewise.
60563 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60564 (elf_machine_lazy_rel): Likewise.
60565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60566 (elf_machine_lazy_rel): Likewise.
60567 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60568 (elf_machine_lazy_rel): Likewise.
60569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60570 (elf_machine_lazy_rel): Likewise.
60571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60572 (elf_machine_lazy_rel): Likewise.
60573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60574 (elf_machine_lazy_rel): Likewise.
60575
60576 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60577
60578 * nss/nss_files/files-init.c (_nss_files_init): Use static
60579 initialization for all the *_traced_file variables.
60580
60581 2011-09-28 Andreas Schwab <schwab@redhat.com>
60582
60583 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60584
60585 2011-09-27 Roland McGrath <roland@hack.frob.com>
60586
60587 [BZ #13226]
60588 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60589
60590 2011-09-27 Andreas Schwab <schwab@redhat.com>
60591
60592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60593 Reread the line before reparsing it.
60594
60595 2011-09-26 Andreas Schwab <schwab@redhat.com>
60596
60597 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60598
60599 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60600 Maxim Kuvyrkov <maxim@codesourcery.com>
60601 Joseph Myers <joseph@codesourcery.com>
60602
60603 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60604 if needed for __stack_chk_guard.
60605
60606 2011-09-19 Roland McGrath <roland@hack.frob.com>
60607
60608 * sysdeps/posix/spawni.c (script_execute): Always define it.
60609 It will be optimized away if unused.
60610 (maybe_script_execute): New function.
60611 (__spawni): Call it.
60612
60613 * Makerules: Don't include tls.make.
60614 (config-tls): Always set to thread.
60615 * tls.make.c: File removed.
60616
60617 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60618
60619 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60620 * config.make.in (CPPFLAGS-config): New substituted variable.
60621
60622 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60623
60624 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60625
60626 [BZ #13192]
60627 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60628 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60629
60630 2011-09-15 Roland McGrath <roland@hack.frob.com>
60631
60632 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60633 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60635 (CALL_FAIL): Likewise.
60636 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60637 (CALL_FAIL): Macro removed.
60638 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60639
60640 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60641
60642 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60643 for __FINITE_MATH_ONLY__ == 1.
60644
60645 2011-09-15 Andreas Schwab <schwab@redhat.com>
60646
60647 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60648 __ieee754_sqrt instead of sqrt.
60649 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60650 __ieee754_sqrtf instead of sqrtf.
60651 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60652 __floorf instead of floorf.
60653 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60654 __floorf, __truncf instead of floorf, truncf.
60655
60656 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60657
60658 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60659
60660 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60661 __extern_always_inline.
60662 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60663 32-bit.
60664
60665 2011-09-14 Andreas Schwab <schwab@redhat.com>
60666
60667 * elf/rtld.c (dl_main): Also relocate in dependency order when
60668 doing symbol dependency testing.
60669
60670 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60671
60672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60673 Always define `refsym'.
60674
60675 2011-09-13 Andreas Schwab <schwab@redhat.com>
60676
60677 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60678 (__FD_ELT): Renamed from __FDELT.
60679 * misc/bits/select2.h (__FD_ELT): Likewise.
60680 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60681 __FD_MASK instead of __FDELT, __FDMASK.
60682 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60683 Likewise.
60684 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60685 Likewise.
60686
60687 * elf/Makefile (gen-ldd): Fix pattern.
60688
60689 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60690 (init_tls): Likewise.
60691
60692 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60693
60694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60695
60696 2011-09-12 Andreas Schwab <schwab@redhat.com>
60697
60698 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60699 `struct cmsghdr *' instead of `void *'.
60700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60701 Likewise.
60702
60703 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60704
60705 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60706 if non-absolute.
60707 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60708 ldd_rewrite_script.
60709
60710 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60711
60712 * configure.in: Remove --with-tls option.
60713 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60714 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60715 out in case it is missing.
60716 * sysdeps/ia64/elf/configure.in: Likewise.
60717 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60718 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60719 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60720 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60721 * sysdeps/sh/elf/configure.in: Likewise.
60722 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60723 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60724 * sysdeps/x86_64/elf/configure.in: Likewise.
60725 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60726 * sysdeps/mach/hurd/tls.h: Likewise.
60727
60728 [BZ #13067]
60729 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60730
60731 [BZ #13090]
60732 * configure.in: Fix use of AC_INIT.
60733
60734 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60735
60736 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60737
60738 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60739 __set_errno.
60740 * malloc/hooks.c: Likewise.
60741
60742 [BZ #11929]
60743 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60744 variables statically.
60745 (narenas): Initialize.
60746 (list_lock): Initialize.
60747 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60748 initializtion of main_arena and list_lock. Small cleanups.
60749 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60750 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60751 Add initializers to main_arena and mp_.
60752 (malloc_state): Remove pagesize member. Change all users to use
60753 GLRO(dl_pagesize).
60754
60755 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60756 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60757 is always initialized.
60758
60759 * malloc/malloc.c: Removed unused configurations and dead code.
60760 * malloc/arena.c: Likewise.
60761 * malloc/hooks.c: Likewise.
60762 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60763
60764 * include/tls.h: Removed. USE___THREAD must always be defined.
60765 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60766 * elf/dl-libc.c: Likewise.
60767 * elf/dl-tsd.c: Likewise.
60768 * include/errno.h: Likewise.
60769 * include/netdb.h: Likewise.
60770 * include/resolv.h: Likewise.
60771 * inet/herrno-loc.c: Likewise.
60772 * inet/herrno.c: Likewise.
60773 * malloc/arena.c: Likewise.
60774 * malloc/hooks.c: Likewise.
60775 * malloc/malloc.c: Likewise.
60776 * resolv/res-state.c: Likewise.
60777 * resolv/res_libc.c: Likewise.
60778 * sysdeps/i386/dl-machine.h: Likewise.
60779 * sysdeps/ia64/dl-machine.h: Likewise.
60780 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60781 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60782 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60783 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60784 * sysdeps/sh/dl-machine.h: Likewise.
60785 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60786 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60787 * sysdeps/unix/i386/sysdep.S: Likewise.
60788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60789 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60794 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60798 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60799 * sysdeps/x86_64/dl-machine.h: Likewise.
60800 * tls.make.c: Likewise.
60801
60802 * configure.in: Remove --with-__thread option. Make tests for
60803 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60804 tls_model attribute fail if no support is available. Remove
60805 USE_IN_LIBIO.
60806 * Makeconfig: Adjust for dropped configure option. All features are
60807 now mandatory.
60808 * Makerules: Likewise.
60809 * Versions.def: Likewise.
60810 * argp/argp-fmtstream.c: Likewise.
60811 * argp/argp-fmtstream.h: Likewise.
60812 * argp/argp-help.c: Likewise.
60813 * assert/assert.c: Likewise.
60814 * config.h.in: Likewise.
60815 * config.make.in: Likewise.
60816 * configure: Likewise.
60817 * configure.in: Likewise.
60818 * csu/Versions: Likewise.
60819 * csu/init.c: Likewise.
60820 * elf/tst-audit2.c: Likewise.
60821 * elf/tst-tls10.c: Likewise.
60822 * elf/tst-tls10.h: Likewise.
60823 * elf/tst-tls11.c: Likewise.
60824 * elf/tst-tls12.c: Likewise.
60825 * elf/tst-tls14.c: Likewise.
60826 * elf/tst-tlsmod11.c: Likewise.
60827 * elf/tst-tlsmod12.c: Likewise.
60828 * elf/tst-tlsmod13.c: Likewise.
60829 * elf/tst-tlsmod13a.c: Likewise.
60830 * elf/tst-tlsmod14a.c: Likewise.
60831 * elf/tst-tlsmod15b.c: Likewise.
60832 * elf/tst-tlsmod16a.c: Likewise.
60833 * elf/tst-tlsmod16b.c: Likewise.
60834 * elf/tst-tlsmod7.c: Likewise.
60835 * elf/tst-tlsmod8.c: Likewise.
60836 * elf/tst-tlsmod9.c: Likewise.
60837 * gmon/gmon.c: Likewise.
60838 * grp/fgetgrent_r.c: Likewise.
60839 * grp/putgrent.c: Likewise.
60840 * hurd/fopenport.c: Likewise.
60841 * include/libc-symbols.h: Likewise.
60842 * include/tls.h: Likewise.
60843 * intl/gettextP.h: Likewise.
60844 * intl/loadinfo.h: Likewise.
60845 * locale/global-locale.c: Likewise.
60846 * locale/localeinfo.h: Likewise.
60847 * mach/devstream.c: Likewise.
60848 * malloc/arena.c: Likewise.
60849 * malloc/set-freeres.c: Likewise.
60850 * misc/err.c: Likewise.
60851 * misc/getttyent.c: Likewise.
60852 * misc/mntent_r.c: Likewise.
60853 * posix/getopt.c: Likewise.
60854 * posix/wordexp.c: Likewise.
60855 * pwd/fgetpwent_r.c: Likewise.
60856 * resolv/Versions: Likewise.
60857 * resolv/res_hconf.c: Likewise.
60858 * shadow/fgetspent_r.c: Likewise.
60859 * shadow/putspent.c: Likewise.
60860 * stdio-common/printf_fphex.c: Likewise.
60861 * stdio-common/tmpfile.c: Likewise.
60862 * stdlib/abort.c: Likewise.
60863 * stdlib/fmtmsg.c: Likewise.
60864 * sunrpc/auth_unix.c: Likewise.
60865 * sunrpc/clnt_perr.c: Likewise.
60866 * sunrpc/clnt_tcp.c: Likewise.
60867 * sunrpc/clnt_udp.c: Likewise.
60868 * sunrpc/clnt_unix.c: Likewise.
60869 * sunrpc/openchild.c: Likewise.
60870 * sunrpc/svc_simple.c: Likewise.
60871 * sunrpc/svc_tcp.c: Likewise.
60872 * sunrpc/svc_udp.c: Likewise.
60873 * sunrpc/svc_unix.c: Likewise.
60874 * sunrpc/xdr.c: Likewise.
60875 * sunrpc/xdr_array.c: Likewise.
60876 * sunrpc/xdr_rec.c: Likewise.
60877 * sunrpc/xdr_ref.c: Likewise.
60878 * sunrpc/xdr_stdio.c: Likewise.
60879
60880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60881
60882 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60883
60884 2011-07-03 Andreas Jaeger <aj@suse.de>
60885
60886 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60887 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60888 regenerate with gen-libm-tests.pl.
60889
60890 2010-05-12 Petr Baudis <pasky@suse.cz>
60891
60892 [BZ #11589]
60893 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60894 around j0() zero points by switching to j1().
60895 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60896 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60899
60900 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60901
60902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60903 instead of 0.
60904 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60905 instead of 0.
60906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60907 Patch in part by Pavel Roskin <proski@gnu.org>.
60908
60909 [BZ #13138]
60910 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60911 realloc.
60912 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60913 Free memory block if necessary.
60914
60915 [BZ #12847]
60916 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60917 be NULL. Don't lock in this case.
60918
60919 2011-09-09 Roland McGrath <roland@hack.frob.com>
60920
60921 * elf/elf.h (ELFOSABI_GNU): New macro.
60922 (ELFOSABI_LINUX): Define to that.
60923
60924 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60925
60926 * string/strncat.c (strncat): Undef the symbol in case it has been
60927 defined in bits/string.h.
60928
60929 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60930
60931 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60932
60933 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60934 link map.
60935
60936 2011-08-17 Andreas Jaeger <aj@suse.de>
60937
60938 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60939
60940 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60941 Ian Lance Taylor <iant@google.com>
60942
60943 * math/libm-test.inc (lround_test): New testcase.
60944 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60945
60946 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60947
60948 * Makefile: Remove support for automatic cvs check-ins.
60949 * Makerules: Likewise.
60950 * config.make.in: Likewise.
60951 * configure.in: Likewise.
60952 * intl/Makefile: Likewise.
60953 * locale/Makefile: Likewise.
60954 * po/Makefile: Likewise.
60955 * posix/Makefile: Likewise.
60956 * sysdeps/gnu/Makefile: Likewise.
60957 * sysdeps/mach/hurd/Makefile: Likewise.
60958 * sysdeps/sparc/sparc32/Makefile: Likewise.
60959
60960 [BZ #13118]
60961 * posix/Makefile (bug-regex32-ENV): Define.
60962 Patch by John Stanley <jpsinthemix@verizon.net>.
60963
60964 * misc/Makefile (headers): Add bits/select2.h.
60965 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60966 * misc/bits/select2.h: New file.
60967 * include/bits/select2.h: New file.
60968 * debug/Makefile (routines): Add fdelt_chk.
60969 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60970 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60971 FD_ISSET.
60972 * debug/fdelt_chk.c: New file.
60973
60974 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60975 * wcsmbs/test-wmemcmp.c: Likewise.
60976 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60977 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60978
60979 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60980
60981 * string/Makefile (strop-tests): Add memcmp.
60982 * string/test-wmemcmp.c: New file.
60983 * string/test-memcmp.c: Add wmemcmp support.
60984
60985 2011-09-08 Roland McGrath <roland@hack.frob.com>
60986
60987 [BZ #13153]
60988 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60989 2011-07-19 change.
60990
60991 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60992 garbage value in a __mach_port_mod_refs call in the cases of the
60993 task-self and thread-self ports.
60994
60995 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60996
60997 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60998
60999 2011-09-08 Andreas Schwab <schwab@redhat.com>
61000
61001 * elf/dl-load.c (lose): Check for non-null L.
61002
61003 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61004
61005 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61006
61007 * elf/dl-libc.c (dlerror_run): Pass back error code from
61008 dl_catch_error.
61009
61010 [BZ #13123]
61011 * elf/dl-load.c (lose): Free l_origin if it is valid.
61012
61013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61014 names.
61015 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61017 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61019 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61020 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61021
61022 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61023
61024 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61025 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61026 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61028 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61029 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61030 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61031 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61032 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61033 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61034
61035 2011-08-15 Alan Modra <amodra@gmail.com>
61036
61037 [BZ #13092]
61038 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61039 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61040 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61041 ppc_mcount to static-only-routines.
61042 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61043 __mcount_internal.
61044 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61045 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61046
61047 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61048
61049 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61050 for finite and infinity parameters.
61051
61052 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61053
61054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61055 and add nop instructions for throughput optimization.
61056 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61057
61058 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61059
61060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61061 aligned copy for power7 with vector-scalar instructions.
61062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61063
61064 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61065
61066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61067 AVX check.
61068
61069 2011-09-07 Andreas Schwab <schwab@redhat.com>
61070
61071 [BZ #13144]
61072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61073 last change.
61074
61075 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61076
61077 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61078 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61079 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61080 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61081 clock_gettime.
61082
61083 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61084
61085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61086 Forgot to demangle the pointer.
61087
61088 * sysdeps/i386/sysdep.h: Define atom_text_section.
61089 * sysdeps/x86_64/sysdep.h: Likewise.
61090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61091 section with atom_text_section.
61092 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61094 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61096 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61097
61098 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61099 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61100 already be defined. Change to take two parameters and don't assign
61101 result to variable. Adjust all users.
61102 Define INTERNAL_GETTIME if not already defined.
61103 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61104 call.
61105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61106 HAVE_CLOCK_GETTIME_VSYSCALL.
61107 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61108
61109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61110 gettimeofday vsyscall, just use time.
61111
61112 2011-09-06 Andreas Schwab <schwab@redhat.com>
61113
61114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61115 <errno.h>.
61116
61117 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61118
61119 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61120 syscall on x86-64.
61121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61122 syscall.
61123 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61125 syscall if possible.
61126
61127 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61128
61129 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61130 e_ident. Don't pass to find_mapsXX.
61131 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61132
61133 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61134
61135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61136 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61137 * sysdeps/x86_64/multiarch/strchr.S: Update.
61138 Check bit_slow_BSF bit.
61139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61140 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61141 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61142
61143 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61144
61145 [BZ #13134]
61146 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61147 before glibc 2.15.
61148 (tryshell): Define.
61149 (__spawni): Change last parameter to be flag. Test
61150 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61151 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61152 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61153 * posix/spawni.c: Likewise.
61154 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61155 * posix/spawnp.c: Likewise. Change normal version to use
61156 SPAWN_XFLAGS_USE_PATH.
61157 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61158 SPAWN_XFLAGS_TRY_SHELL.
61159
61160 [BZ #13150]
61161 * posix/glob.h: Remove gcc 1.x support.
61162
61163 [BZ #13068]
61164 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61165
61166 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61167
61168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61169 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61170 strrchr-sse2-bsf
61171 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61172 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61173 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61174 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61175 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61176 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61177
61178 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61179
61180 * sysdeps/x86_64/wcscmp.S: New file.
61181
61182 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61183 wcscmp-c wcscmp-sse2
61184 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61185 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61187 * wcsmbs/wcscmp.c: Allow renaming.
61188
61189 2011-09-05 David S. Miller <davem@davemloft.net>
61190
61191 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61192 stack slot, rather than the struct return pointer slot.
61193 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61194 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61196 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61197
61198 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61199
61200 * po/ja.po: Update from translation team.
61201
61202 [BZ #13144]
61203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61204 kernel in 64-bit binaries.
61205
61206 2011-09-01 David S. Miller <davem@davemloft.net>
61207
61208 * elf/elf.h (HWCAP_SPARC_*): Move to..
61209 * sysdeps/sparc/sysdep.h: this new file and add new values.
61210 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61211 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61212 _DL_HWCAP_COUNT to 24.
61213 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61214 entries.
61215 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61216 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61217 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61219 instead of magic constants.
61220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61221
61222 2011-08-31 David S. Miller <davem@davemloft.net>
61223
61224 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61226 Reimplement to do errno handling inline.
61227 (SYSCALL_ERROR_HANDLER): New macro.
61228 (__SYSCALL_STRING): Do not do errno handling in asm.
61229 (__CLONE_SYSCALL_STRING): Delete.
61230 (__INTERNAL_SYSCALL_STRING): Delete.
61231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61232 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61233 (PSEUDO): Reimplement to do errno handling inline.
61234 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61235 (SYSCALL_ERROR_HANDLER): New macro.
61236 (__SYSCALL_STRING): Do not do errno handling in asm.
61237 (__CLONE_SYSCALL_STRING): Delete.
61238 (__INTERNAL_SYSCALL_STRING): Delete.
61239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61240 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61241 i386.
61242 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61243 (inline_syscall*): Add 'err' argument.
61244 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61245 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61246 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61247 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61248
61249 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61250 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61251
61252 2011-08-30 Andreas Schwab <schwab@redhat.com>
61253
61254 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61255
61256 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61257
61258 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61259 directive.
61260
61261 2011-08-24 David S. Miller <davem@davemloft.net>
61262
61263 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61264
61265 2011-08-24 Andreas Schwab <schwab@redhat.com>
61266
61267 * elf/Makefile: Add rules to build and run unload8 test.
61268 * elf/unload8.c: New file.
61269 * elf/unload8mod1.c: New file.
61270 * elf/unload8mod1x.c: New file.
61271 * elf/unload8mod2.c: New file.
61272 * elf/unload8mod3.c: New file.
61273
61274 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61275 it wasn't used.
61276
61277 2011-08-23 David S. Miller <davem@davemloft.net>
61278
61279 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61280 subtract stack bias.
61281 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61282 %sp not %fp in calculations.
61283 (_JMPBUF_UNWINDS_ADJ): Likewise.
61284
61285 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61286 (aio_suspend): Call it to force an exception region around the
61287 AIO_MISC_WAIT() invocation.
61288
61289 2011-08-23 Andreas Schwab <schwab@redhat.com>
61290
61291 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61292 backslash.
61293
61294 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61295
61296 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61297 protection macro.
61298 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61299 and <dl-machine.h>.
61300 (Elf64_FuncDesc): Remove.
61301
61302 2011-08-22 David S. Miller <davem@davemloft.net>
61303
61304 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61305 sigaltstack check, add missing cfi directives.
61306 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61307 missing cfi directives, and sigaltstack handling.
61308
61309 2011-08-16 Andreas Schwab <schwab@redhat.com>
61310
61311 [BZ #11724]
61312 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61313 object is seen twice.
61314 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61315
61316 * elf/Makefile (distribute): Add tst-initorder2.c.
61317 (tests): Add tst-initorder2.
61318 (modules-names): Add tst-initorder2a tst-initorder2b
61319 tst-initorder2c tst-initorder2d. Add rules to build them.
61320 ($(objpfx)tst-initorder2.out): New rule.
61321 * elf/tst-initorder2.c: New file.
61322 * elf/tst-initorder2.exp: New file.
61323
61324 2011-08-22 Andreas Schwab <schwab@redhat.com>
61325
61326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61327
61328 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61329 dependencies back to end of function.
61330
61331 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61332 $(elfobjdir)/ld.so.
61333
61334 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61335
61336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61337 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61339 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61340 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61341 of __vdso_gettimeofday.
61342 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61343 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61344 attribute_hidden.
61345 (_libc_vdso_platform_setup): Remove initialization of
61346 __vdso_gettimeofday and __vdso_time.
61347
61348 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61349
61350 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61351 and fgetc_unlocked.
61352 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61353 getc_unlocked.
61354
61355 * elf/dl-open.c (add_to_global): Report additions to the global scope
61356 for LD_DEBUG=scopes.
61357 (dl_open_worker): Also print scope of newly loaded dependencies.
61358 (_dl_show_scope): Indicate if there is no scope.
61359
61360 [BZ #13114]
61361 * stdio-common/Makefile (tests): Add bug24.
61362 * stdio-common/bug24.c: New file.
61363
61364 2011-08-19 Andreas Jaeger <aj@suse.de>
61365
61366 [BZ #13114]
61367 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61368 non-existant file when using close-on-exec mode.
61369
61370 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61371
61372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61373 the very first instruction.
61374
61375 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61376 the CFI state in the end.
61377 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61378 inclusion of dl-trampoline.h.
61379 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61380
61381 2011-08-19 Andreas Schwab <schwab@redhat.com>
61382
61383 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61384 expectations for long double.
61385
61386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61387 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61388
61389 2011-08-14 David S. Miller <davem@davemloft.net>
61390
61391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61392 artificual limit depends upon the system page size.
61393
61394 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61395
61396 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61397 * resolv/Makefile: Define CFLAGS-libresolv.
61398
61399 2011-08-17 Andreas Schwab <schwab@redhat.com>
61400
61401 * nss/makedb.c (compute_tables): Make variables used in nested
61402 function static.
61403
61404 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61405
61406 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61407 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61408 if buffer was too small.
61409
61410 * elf/pldd.c (main): Attach to all threads in the process.
61411 Rewrite /proc handling to use *at functions.
61412
61413 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61414
61415 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61416 specifies first scope to show.
61417 (dl_open_worker): Update callers. Move printing scope of new
61418 object to before the relocation.
61419 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61420 * sysdeps/generic/ldsodefs.h: Update declaration.
61421
61422 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61423 string for the scope number.
61424
61425 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61426
61427 * nscd/servicescache.c (cache_addserv): Make sure written is always
61428 initialized.
61429
61430 2011-08-14 Roland McGrath <roland@hack.frob.com>
61431
61432 * sysdeps/i386/i486/bits/atomic.h
61433 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61434 statement expression, so as to suppress "set but not used" warning.
61435 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61436
61437 * string/strncat.c (STRNCAT): Use prototype definition.
61438
61439 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61440 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61441 -Iprograms here.
61442 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61443 (localedef-modules): Add localedef.
61444 (locale-modules): Add locale.
61445
61446 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61447 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61448 to avoid a warning.
61449
61450 2011-08-14 David S. Miller <davem@davemloft.net>
61451
61452 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61453 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61454
61455 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61456
61457 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61458 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61459 * elf/rtld.c (dl_main): Set l_name of vDSO.
61460 Call _dl_show_scope when DL_DEBUG_SCOPES.
61461 (process_dl_debug): Recognize scopes flag and also set it for all.
61462 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61463 Declare _dl_show_scope.
61464
61465 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61466 (do_dlopen): Pass caller_dlopen to dl_open.
61467 (__libc_dlopen_mode): Initialize caller_dlopen.
61468
61469 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61470 of libc. Make tolower call locale-independent. Optimize a bit by
61471 using isdigit instead of isalnum.
61472 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61473
61474 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61475
61476 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61477 was a dependency or dynamically loaded.
61478
61479 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61480
61481 * intl/l10nflist.c: Allow architecture-specific pop function.
61482 * sysdeps/x86_64/l10nflist.c: New file.
61483
61484 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61485 classification.
61486
61487 2011-08-10 Andreas Schwab <schwab@redhat.com>
61488
61489 * include/dirent.h: Add libc_hidden_proto for scandirat and
61490 scandirat64. Don't declare __scandirat64.
61491 * dirent/scandirat.c: Add libc_hidden_def.
61492 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61493 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61494
61495 2011-08-10 David S. Miller <davem@davemloft.net>
61496
61497 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61498 enum.
61499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61502
61503 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61504
61505 * Versions.def [libc]: Add GLIBC_2.15.
61506 * dirent/Makefile (routines): Add scandirat and scandirat64.
61507 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61508 GLIBC_2.15.
61509 * dirent/dirent.h: Declare scandirat and scandirat64.
61510 * dirent/scandirat.c: New file.
61511 * dirent/scandirat64.c: New file.
61512 * sysdeps/wordsize-64/scandirat.c: New file.
61513 * sysdeps/wordsize-64/scandirat64.c: New file.
61514 * dirent/opendir.c: Define opendirat.
61515 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61516 using scandirat.
61517 * dirent/scandir64.c: Adjust for scandir.c change.
61518 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61519 __scandirat64, and __scandir_cancel_handler.
61520 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61521 additional parameter and use openat instead of open (outside of ld.so).
61522 Add new __opendir as wrapper around __opendirat.
61523 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61524 here without requiring old scandirat implementation.
61525
61526 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61527
61528 * dirent/scandir.c (cancel_handler): Renamed to
61529 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61530 defined. Adjust users.
61531 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61532 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61533
61534 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61535
61536 * string/test-string.h (IMPL): Use __STRING to expand name and then
61537 stringify it.
61538
61539 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61540 of cleanups.
61541
61542 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61543
61544 * string/Makefile: Update.
61545 (strop-tests): Append strncat.
61546 * string/test-wcscmp.c: New file.
61547 New comprehensive test for wcscmp.
61548 * string/test-strcmp.c: Update.
61549 (WIDE): New define.
61550
61551 2011-07-22 Andreas Schwab <schwab@redhat.com>
61552
61553 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61554 line.
61555
61556 2011-07-26 Andreas Schwab <schwab@redhat.com>
61557
61558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61559 encoding to ACE if AI_IDN.
61560
61561 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61562
61563 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61564 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61565
61566 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61567
61568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61569 Fix overflow bug in strncat.
61570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61571
61572 * string/test-strncat.c: Update.
61573 Add new tests for checking overflow bugs.
61574
61575 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61576
61577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61578 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61579 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61580 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61582 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61583 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61584 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61585 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61586
61587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61588 (USE_AS_STRCAT): Define.
61589 Add strcat and strncat support.
61590 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61591
61592 2011-07-25 Andreas Schwab <schwab@redhat.com>
61593
61594 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61595 __n bigger than INT_MAX+1.
61596 (__strncmp_g): Likewise.
61597
61598 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61599
61600 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61601 * libio/stido.h: Likewise.
61602
61603 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61604 (AF_NFC): Define.
61605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61606 (AF_NFC): Define.
61607
61608 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61611 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61612 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61613
61614 [BZ #13021]
61615 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61616 installed.
61617
61618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61619 typo.
61620 (_dl_x86_64_save_sse): Likewise.
61621
61622 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61623
61624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61625 OSXSAVE.
61626 (_dl_x86_64_save_sse): Likewise.
61627
61628 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61629
61630 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61631
61632 2011-07-21 Andreas Schwab <schwab@redhat.com>
61633
61634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61635 change.
61636 (_dl_x86_64_save_sse): Use correct AVX check.
61637
61638 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61639
61640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61641 bug in strncpy/strncat.
61642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61643
61644 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61645
61646 * string/tester.c (test_strcat): Add tests for different alignments
61647 of source and destination.
61648 (test_strncat): Likewise.
61649
61650 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61651
61652 [BZ #12852]
61653 * posix/glob.c (glob): Check passed in values before using them in
61654 expressions to avoid some overflows.
61655 (glob_in_dir): Likewise.
61656
61657 [BZ #13007]
61658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61659 check for AVX enablement so that we don't crash with old kernels and
61660 new hardware.
61661 * elf/tst-audit4.c: Add same checks here.
61662 * elf/tst-audit6.c: Likewise.
61663
61664 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61665
61666 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61667
61668 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61669
61670 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61671
61672 * po/cs.po: Update from translation team.
61673 * po/bg.po: Likewise.
61674
61675 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61676
61677 * misc/sys/cdefs.h: Add support for const attribute.
61678 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61679 to gnu_dev_{major,minor,makedev} functions.
61680
61681 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61682
61683 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61684
61685 2011-07-20 Andreas Schwab <schwab@redhat.com>
61686
61687 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61688 strlen results.
61689
61690 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61691
61692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61693 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61694 register in order to avoid conflicts with the soft frame pointer
61695 being held in r11 when necessary.
61696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61697 (INTERNAL_VSYSCALL_NCS): Likewise.
61698
61699 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61700
61701 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61702 * elf/dl-fini.c (_dl_fini): Adjust caller.
61703 * elf/dl-close.c (_dl_close_worker): Likewise.
61704 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61705
61706 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61707
61708 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61709 "aux_cache->nlibs < 0".
61710
61711 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61712 in the reload-count case.
61713
61714 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61715
61716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61717 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61718 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61719 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61720 * sysdeps/x86_64/multiarch/strcat.S: New file.
61721 * sysdeps/x86_64/multiarch/strncat.S: New file.
61722 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61724 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61725 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61726 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61727 (USE_AS_STRCAT): Define.
61728 Add strcat and strncat support.
61729 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61731 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61732 * string/strncat.c: Update.
61733 (USE_AS_STRNCAT): Define.
61734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61735 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61736 and i7.
61737 * sysdeps/x86_64/multiarch/init-arch.h
61738 (bit_Prefer_PMINUB_for_stringop): New.
61739 (index_Prefer_PMINUB_for_stringop): Likewise.
61740 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61741 bit_Prefer_PMINUB_for_stringop.
61742
61743 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61744
61745 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61746 buffer64.
61747 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61748 of casting of buffer.
61749 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61750 buffer32 and buffer64.
61751 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61752 writes instead of casting of buffer.
61753 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61754 buffer32.
61755 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61756 casting of buffer.
61757
61758 2011-07-19 Andreas Schwab <schwab@redhat.com>
61759
61760 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61761
61762 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61763
61764 * nscd/nscd.c (termination_handler): Don't do anything for a database
61765 if it has not yet been initialized.
61766
61767 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61768
61769 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61770
61771 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61772
61773 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61774
61775 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61776
61777 * po/nl.po: Update from translation team.
61778 * po/sv.po: Likewise.
61779
61780 2011-07-16 Roland McGrath <roland@hack.frob.com>
61781
61782 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61783 now disallowed by GCC.
61784
61785 * configure.in (use-default-link): Default to yes if a test -shared
61786 link meets our qualifications.
61787 * configure: Regenerated.
61788
61789 * config.make.in (output-format): New variable.
61790 * configure.in: Check for ld --print-output-format support.
61791 * configure: Regenerated.
61792 * Makerules ($(common-objpfx)format.lds)
61793 [$(output-format) != unknown]: Just use $(output-format),
61794 instead of the linker-script munging.
61795
61796 2011-07-14 Roland McGrath <roland@hack.frob.com>
61797
61798 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61799 of $(common-objpfx)shlib.lds.
61800 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61801
61802 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61803 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61804
61805 * configure.in (-z relro check): Adjust test code to add a large
61806 writable data section after it.
61807 * configure: Regenerated.
61808
61809 2011-07-11 Roland McGrath <roland@hack.frob.com>
61810
61811 * configure.in (-z relro check): Fix test code to make the variable
61812 truly const.
61813 * configure: Regenerated.
61814
61815 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61816
61817 * nscd/nscd.h (struct traced_file): Define.
61818 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61819 elements. Add traced_files.
61820 (inotify_fd): Declare.
61821 (register_traced_file): Declare.
61822 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61823 (inotify_fd): Export.
61824 (resolv_conf_descr): Remove.
61825 (nscd_init): Move inotify descriptor creation to main.
61826 Don't register files for notification here.
61827 (register_traced_file): New function.
61828 (invalidate_cache): Don't use reset_res to determine whether to call
61829 res_init, go through the list of registered files.
61830 (main_loop_poll): The inotify descriptors are now stored in the
61831 structures for the traced files.
61832 (main_loop_epoll): Likewise
61833 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61834 to __nss_disable_nscd.
61835 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61836 for a database anymore. Check the records for all the registered
61837 files instead.
61838 * nss/Makefile (libnss_files-routines): Add files-init.
61839 (libnss_db-routines): Add db-init.
61840 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61841 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61842 * nss/nss_db/db-init.c: New file.
61843 * nss/nss_files/files-init.c: New file.
61844 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61845 __nss_lookup_function.
61846 (__nss_lookup_function): Call nss_load_library.
61847 (nss_load_all_libraries): New function.
61848 (__nss_disable_nscd): Take parameter with callback function for files
61849 to register. Set is_nscd. Load all the DSOs for the NSS modules
61850 used for the cached services.
61851 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61853 options for features to all the files in nscd.
61854
61855 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61856
61857 2011-07-10 Roland McGrath <roland@hack.frob.com>
61858
61859 * csu/elf-init.c (__libc_csu_init): Comment typo.
61860
61861 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61862
61863 * po/pl.po: Update from translation team.
61864 * po/ja.po: Likewise.
61865 * po/ru.po: Likewise.
61866 * po/ko.po: Likewise.
61867 * po/fr.po: Likewise.
61868
61869 2011-07-09 Roland McGrath <roland@hack.frob.com>
61870
61871 * configure.in (.ctors/.dtors header and trailer check):
61872 Use an empirical test on a built program.
61873 * configure: Regenerated.
61874
61875 * configure.in (-z relro check): Use an empirical test on a built DSO.
61876 Detect, but do not require, on ia64.
61877 * configure: Regenerated.
61878
61879 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61880 Update tests that use readelf to use $READELF instead.
61881 * configure: Regenerated.
61882
61883 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61884
61885 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61886 if the result is not used.
61887
61888 2011-07-05 Andreas Jaeger <aj@suse.de>
61889
61890 [BZ#9696]
61891 * stdlib/tst-strtod.c: Add testcase.
61892
61893 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61894
61895 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61896 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61897 The latter has a higher limit. Take additional parameter to pass to
61898 the new function.
61899 (__pathconf): Pass file to __statfs_link_max.
61900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61901 __statfs_link_max.
61902 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61903 __statfs_link_max.
61904
61905 [BZ #12868]
61906 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61907 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61908 Handle Lustre.
61909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61910 (__statfs_filesize_max): Likewise.
61911 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61912
61913 2011-07-05 Andreas Jaeger <aj@suse.de>
61914
61915 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61916
61917 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61918
61919 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61920 `status' variable.
61921 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61922 Likewise.
61923
61924 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61925
61926 * Makefile (strop-tests): Add strncat.
61927 * string/test-strncat.c: New file.
61928
61929 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61930
61931 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61932
61933 2011-06-21 Andreas Jaeger <aj@suse.de>
61934
61935 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61936 Copy rule from iconvdata/Makefile.
61937
61938 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61939
61940 [BZ #12922]
61941 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61942 but no long options are defined, just return 'W'.
61943
61944 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61945
61946 [BZ #9696]
61947 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61948
61949 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61950
61951 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61952 netgroups to read.
61953 (innetgr): Likewise.
61954
61955 2011-07-05 Roland McGrath <roland@hack.frob.com>
61956
61957 * config.make.in (install_root): Default to $(DESTDIR).
61958
61959 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61960
61961 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61962
61963 2011-07-02 Roland McGrath <roland@hack.frob.com>
61964
61965 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61966
61967 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61968 containing directory rather than embedding absolute directory names.
61969
61970 * scripts/check-local-headers.sh: Rewritten using awk.
61971 Match by word, not by line. Print error messages for matches.
61972 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61973
61974 * Makerules [shlib-lds-flags empty]:
61975 ($(common-objpfx)libc_pic.opts): New target.
61976 ($(common-objpfx)libc_pic.os.clean): New target.
61977 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61978
61979 * config.make.in (OBJCOPY): New variable.
61980 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61981 * configure: Regenerated.
61982
61983 * config.make.in (use-default-link): New variable.
61984 * configure.in (use_default_link): Grok --with-default-link to set it.
61985 * configure: Regenerated.
61986 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61987 (shlib-lds, shlib-lds-flags): Define to empty.
61988
61989 * Makerules (shlib-lds): New variable.
61990 (shlib-lds-flags): New variable.
61991 (build-shlib, build-moduile, build-module-asneeded): Use it.
61992 ($(common-objpfx)libc.so): Use $(shlib-lds).
61993 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61994 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61995
61996 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61997 DT_FLAGS/DT_FLAGS_1 with zero flags.
61998
61999 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62000 linker script munging.
62001
62002 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62003
62004 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62005 as 128-bit value.
62006 * crypt/sha512.c (sha512_process_block): Perform total addition using
62007 128-bit if possible.
62008 (__sha512_finish_ctx): Likewise.
62009 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62010 as 64-bit value.
62011 * crypt/sha256.c (SWAP64): Define.
62012 (sha256_process_block): Perform total addition using 64-bit if
62013 possible.
62014 (__sha256_finish_ctx): Likewise.
62015
62016 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62017
62018 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62020 * nscd/hstcache.c (cache_addhst): Likewise.
62021 * nscd/grpcache.c (cache_addgr): Likewise.
62022 * nscd/aicache.c (addhstaiX): Likewise
62023 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62024
62025 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62026
62027 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62029 * nscd/hstcache.c (cache_addhst): Likewise.
62030 * nscd/grpcache.c (cache_addgr): Likewise.
62031 * nscd/aicache.c (addhstaiX): Likewise
62032
62033 2011-07-01 Andreas Schwab <schwab@redhat.com>
62034
62035 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62036 domain only when needed.
62037
62038 2011-06-30 Andreas Schwab <schwab@redhat.com>
62039
62040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62041 is always restored.
62042
62043 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62044
62045 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62046 are re-adding the entry.
62047 * nscd/servicescache.c (cache_addserv): Likewise.
62048
62049 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62050
62051 * sysdeps/generic/dl-irel.h: fix protection against multiple
62052 inclusions.
62053 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62054
62055 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62056
62057 [BZ #12935]
62058 * malloc/memusage.sh: Fix quoting in message.
62059 * debug/xtrace.sh: Likewise.
62060
62061 * configure.in: Remove support for --experimental-malloc option, make
62062 it the default.
62063 * config.make.in: Likewise.
62064 * malloc/Makefile: Likewise.
62065
62066 2011-06-27 Andreas Schwab <schwab@redhat.com>
62067
62068 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62069 two-byte characters.
62070
62071 2011-06-27 Roland McGrath <roland@hack.frob.com>
62072
62073 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62074 AC_CACHE_CHECK invocation.
62075 * configure: Regenerated.
62076
62077 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62078
62079 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62080
62081 [BZ #12350]
62082 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62083 bit from old_res_options.
62084
62085 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62086
62087 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62088 value type for setfct.
62089
62090 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62091
62092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62093 __gettimeofday instead of gettimeofday.
62094
62095 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62096
62097 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62098
62099 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62100
62101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62102
62103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62104 info.
62105
62106 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62107
62108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62109 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62110 strcpy-sse2-unaligned strncpy-sse2-unaligned
62111 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62112 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62113 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62114 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62115 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62118 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62119 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62120 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62121 (STRCPY): Support SSE2 and SSSE3 versions.
62122
62123 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62124
62125 [BZ #12874]
62126 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62127 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62128 kernels which artificially limit size of requests.
62129
62130 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62131
62132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62133 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62134 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62135 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62136 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62137 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62138 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62139 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62142 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62143 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62144 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62145 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62146 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62148 Enable unaligned load optimization for Intel Core i3, i5 and i7
62149 processors.
62150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62151 Define.
62152 (index_Fast_Unaligned_Load): Define.
62153 (HAS_FAST_UNALIGNED_LOAD): Define.
62154
62155 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62156
62157 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62158
62159 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62160
62161 [BZ #12907]
62162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62163 until it is clear that the information is realy needed.
62164 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62165
62166 2011-06-22 Andreas Schwab <schwab@redhat.com>
62167
62168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62169
62170 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62171
62172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62173 /sys/devices/system/cpu/online if it is usable.
62174
62175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62176 reading the information from the /proc filesystem to once a second.
62177
62178 2011-06-21 Andreas Jaeger <aj@suse.de>
62179
62180 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62181 NULL after inclusion of kernel headers.
62182
62183 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62184
62185 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62186 calls to internal_setent.
62187
62188 [BZ #12885]
62189 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62190 addresses using gethostbyname4_r ignore IPv4 addresses.
62191
62192 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62193 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62194
62195 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62196
62197 2011-06-20 David S. Miller <davem@davemloft.net>
62198
62199 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62200 inclusions.
62201 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62202
62203 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62204 (elf_irel): Use it.
62205 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62206 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62207 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62208 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62209 * sysdeps/x86_64/dl-irel.h: Likewise.
62210
62211 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62212 * elf/dl-sym.c: Likewise.
62213
62214 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62215
62216 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62217 need to dereference resplen2.
62218
62219 2011-06-14 Andreas Schwab <schwab@redhat.com>
62220
62221 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62222
62223 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62224
62225 * Makeconfig: Define vardbdir and inst_vardbdir.
62226 * nss/Makefile: Add rules to install db-Makefile.
62227
62228 * nss/nss_db/db-XXX.c: Cleanup.
62229
62230 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62231 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62232 GLIBC_PRIVATE.
62233 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62234 * nss/makedb.c: Implement -g option to specify that value strings
62235 are generated and should not be added to table iterated over for
62236 get*ent calls.
62237 * nss/nss_db/db-initgroups.c: New file.
62238
62239 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62240 interface.
62241
62242 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62243 (internal_getgrouplist): Adjust to name change.
62244 Update use_initgroups_entry if this is not the first call.
62245 * nss/databases.def: Add initgroups entry.
62246
62247 * nss/makedb.c (compute_tables): Check result of multiple hash table
62248 sizes to minimize maximum chain length.
62249
62250 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62251
62252 * Versions.def: Add entry for libnss_db.
62253 * shlib-versions: Likewise.
62254 * nss/Makefile: Add rules to build libnss_db.
62255 * nss/Versions: Add libnss_db information. Organize libnss_files
62256 entries better.
62257 * nss/db-Makefile: Add gshadow support. Change rules for the new
62258 makedb progra. Some minor improvements to generate smaller files.
62259 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62260 here from...
62261 * nss/makedb.c: ...here.
62262 Improve database format to be smaller and require less memory at
62263 runtime.
62264 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62265 db anymore.
62266 * nss/nss_db/db-netgrp.c: Likewise.
62267 * nss/nss_db/db-open.c: Likewise.
62268 * nss/nss_files/flies-XXX.x: Adjust comments.
62269 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62270 * nss/nss_files/files-grp.c: Likewise.
62271 * nss/nss_files/files-hosts.c: Likewise.
62272 * nss/nss_files/files-network.c: Likewise.
62273 * nss/nss_files/files-proto.c: Likewise.
62274 * nss/nss_files/files-pwd.c: Likewise.
62275 * nss/nss_files/files-rpc.c: Likewise.
62276 * nss/nss_files/files-service.c: Likewise.
62277 * nss/nss_files/files-sgrp.c: Likewise.
62278 * nss/nss_files/files-spwd.c: Likewise.
62279 * nss/nss_db/db-alias.c: Removed.
62280 * nss/nss_db/dummy-db.h: Removed.
62281
62282 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62283
62284 * nss/makedb.c: Rewritten to not use database library.
62285 * nss/Makefile: Update to build new makedb program.
62286
62287 2011-06-14 Andreas Jaeger <aj@suse.de>
62288
62289 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62290 memset declaration.
62291
62292 2011-06-10 Andreas Schwab <schwab@redhat.com>
62293
62294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62295 tmpbuf.
62296
62297 2011-06-10 Roland McGrath <roland@hack.frob.com>
62298
62299 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62300 * elf/Makefile ($(objpfx)ld.so): Likewise.
62301
62302 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62303 Don't list ld.so twice in dependencies.
62304
62305 * posix/bug-regex31.c: Include <stdlib.h>.
62306
62307 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62308
62309 * nis/nss_compat/compat-spwd.c
62310 (getspent_next_nss_netgr): Remove unused variable.
62311 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62312
62313 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62314 nonmembers" output to use the right array.
62315
62316 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62317
62318 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62319
62320 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62321 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62322 * catgets/gencat.c (read_input_file): Likewise.
62323 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62324
62325 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62326 variable definition inside #if's controlling its use.
62327
62328 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62329
62330 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62331
62332 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62333
62334 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62335 unreachable code.
62336
62337 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62338
62339 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62340 * configure: Regenerated.
62341
62342 * Makerules: Revert last change.
62343 * elf/Makefile: Likewise.
62344
62345 2011-06-09 Roland McGrath <roland@hack.frob.com>
62346
62347 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62348 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62349 (reloc-link): Likewise.
62350
62351 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62352
62353 * elf/Makefile: Add rules to build pldd.
62354 * elf/pldd.c: New file.
62355 * elf/pldd-xx.c: New file.
62356
62357 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62358
62359 * version.h: Update for 2.15 development version.
62360
62361 2011-06-07 David S. Miller <davem@davemloft.net>
62362
62363 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62364 ifuncs.
62365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62366 elf_machine_lazy_rel): Likewise.
62367 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62369 elf_machine_lazy_rel): Likewise.
62370 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62371 dl_hwcap via passed in argument.
62372 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62373 Likewise.
62374
62375 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62376
62377 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62378
62379 2011-06-06 Roland McGrath <roland@hack.frob.com>
62380
62381 [BZ #12849]
62382 * manual/fdl-1.1.texi: New file, verbatim from:
62383 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62384 * manual/lgpl-2.1.texi: New file, verbatim from:
62385 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62386 * manual/Makefile (licenses): New variable, list those new file names.
62387 (texis): Use it.
62388 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62389
62390 * manual/fdl.texi: File removed.
62391 * manual/lesser.texi: File removed.
62392 * manual/libc.texinfo (Copying, Documentation License):
62393 Use new @include file names, put @appendix directive before @include.
62394
62395 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62396
62397 [BZ #12841]
62398 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62399 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62400 (mq_open): Add __NTH.
62401
62402 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62403
62404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62405 Assume Intel Core i3/i5/i7 processor if AVX is available.
62406
62407 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62408
62409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62410 typo.
62411
62412 2011-05-31 Andreas Schwab <schwab@redhat.com>
62413
62414 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62415 memory. Use alloca_account. Fix memory leak when retrying.
62416
62417 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62418
62419 * version.h (RELEASE): Bump for 2.14 release.
62420 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62421
62422 * config.make.in (RANLIB): Remove entry.
62423
62424 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62425
62426 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62427 (libc.pot): Work around missing support for .ksh extension in xgettext.
62428
62429 [BZ #12684]
62430 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62431 if both request failed.
62432 (send_dg): In case of server errors clear resplen or *resplen2.
62433
62434 [BZ #12454]
62435 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62436 when there are multiple maps.
62437 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62438 (_dl_fini): Remove test here.
62439
62440 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62441
62442 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62443
62444 [BZ #12350]
62445 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62446 bit from old_res_options.
62447 (gaih_inet): Likewise.
62448
62449 [BZ #11099]
62450 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62451 as signed.
62452
62453 * resolv/res_init.c (res_setoptions): Make the code more compact.
62454
62455 [BZ #11558]
62456 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62457 set RES_USEVC.
62458
62459 [BZ #11634]
62460 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62461
62462 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62463
62464 [BZ #11781]
62465 * malloc/malloc.h: Declare malloc hook variables as volatile.
62466
62467 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62468 in last patch.
62469
62470 [BZ #11799]
62471 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62472 raise in the comment.
62473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62475 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62476
62477 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62478
62479 [BZ #12811]
62480 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62481 grow the buffers more if it already has to be sufficient.
62482 (build_wcs_upper_buffer): Likewise.
62483 * posix/regexec.c (check_matching): Likewise.
62484 (clean_state_log_if_needed): Likewise.
62485 (extend_buffers): Don't enlarge buffers beyond size of the input
62486 buffer.
62487 Patches mostly by Emil Wojak <emil@wojak.eu>.
62488 * posix/bug-regex32.c: New file.
62489 * posix/Makefile (tests): Add bug-regex32.
62490
62491 * locale/findlocale.c (_nl_find_locale): Return right away if
62492 _nl_explode_name failed.
62493 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62494
62495 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62496
62497 * debug/xtrace.sh: Unify messages.
62498 * malloc/memusage.sh: Likewise.
62499
62500 [BZ #12813]
62501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62502 time symbol from vDSO. Substitute with vsyscall if not available.
62503 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62504 __vdso_time.
62505
62506 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62507 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62508 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62509 Add sendmmsg and internal_sendmmsg.
62510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62511 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62513
62514 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62515 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62517
62518 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62519
62520 [BZ #12813]
62521 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62522 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62523 available.
62524 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62525 __vdso_getcpu.
62526
62527 [BZ #12814]
62528 * iconvdata/Makefile (tests): Add bug-iconv9.
62529 * iconvdata/bug-iconv9.c: New file.
62530
62531 2011-05-27 Andreas Schwab <schwab@redhat.com>
62532
62533 [BZ #12814]
62534 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62535
62536 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62537
62538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62539 (struct user_regs_struct): Change intcs field back to cs.
62540
62541 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62542
62543 * po/ja.po: Update from translation team.
62544
62545 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62546
62547 [BZ #12795]
62548 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62549 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62550
62551 2011-05-20 Andreas Schwab <schwab@redhat.com>
62552
62553 * stdlib/longlong.h: Update from GCC.
62554
62555 2011-05-23 Andreas Schwab <schwab@redhat.com>
62556
62557 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62558 parameter name.
62559 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62560 Add parameter name.
62561 (__sysconf): Pass it down.
62562
62563 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62564
62565 [BZ #12671]
62566 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62567 some situations.
62568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62569 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62570 add in in __libc_use_alloca calls. Adjust callers.
62571 (glob): Use malloc in some situations.
62572
62573 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62574 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62575 pltexit.
62576
62577 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62578
62579 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62580 and CLOCK_BOOTTIME_ALARM.
62581
62582 [BZ #12782]
62583 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62584 is returned.
62585
62586 * string/_strerror.c (__strerror_r): Print negative errors as signed
62587 numbers.
62588
62589 [BZ #12777]
62590 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62591 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62592 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62593
62594 * configure.in: Fix typo in redirection and correct removal of test
62595 files in two cases.
62596
62597 [BZ #12788]
62598 * locale/setlocale.c (new_composite_name): Fix test to check for
62599 identical name of all categories.
62600
62601 [BZ #12792]
62602 * libio/filedoalloc.c (local_isatty): New function.
62603 (_IO_file_doallocate): Use local_isatty.
62604 * stdio-common/perror.c (perror): In case a new stream is used
62605 forward the stream error.
62606 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62607 error flag.
62608
62609 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62610
62611 [BZ #11869]
62612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62613 alloca.
62614 * include/alloca.h (extend_alloca_account): Define.
62615
62616 [BZ #11857]
62617 * posix/regex.h: Fix comments with documentation of user-accessible
62618 fields after compilation and describe correct free'ing of pattern
62619 after re_compile_pattern.
62620 Patch by Reuben Thomas <rrt@sc3d.org>.
62621
62622 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62623
62624 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62625 and -mno-altivec to prevent the compiler from using Altivec and/or
62626 VSX instructions when the corresponding registers are not available.
62627
62628 2011-05-19 Andreas Schwab <schwab@redhat.com>
62629
62630 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62631
62632 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62633
62634 * libio/freopen.c (freopen): Use __dup2, not dup2.
62635 * libio/freopen64.c (freopen64): Likewise.
62636
62637 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62638
62639 [BZ #12775]
62640 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62641 * math/Makefile (tests): Add test-powl.
62642 (CFLAGS-test-powl.c): Define.
62643 * math/test-powl.c: New file.
62644
62645 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62646
62647 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62648
62649 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62650
62651 [BZ #11837]
62652 * iconvdata/gb18030.c: Update to GB18020-2005.
62653
62654 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62655
62656 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62657 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62658 Patch by Aharon Robbins <arnold@skeeve.com>.
62659
62660 [BZ #11892]
62661 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62662 on the stack.
62663
62664 [BZ #11895]
62665 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62666 through underflows.
62667
62668 [BZ #12766]
62669 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62670 point to strings before performing equality test for error_one_per_line
62671 mode.
62672
62673 [BZ #11697]
62674 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62675
62676 [BZ #11820]
62677 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62678 (struct user_fpregs_struct): Avoid __uint*_t types.
62679
62680 [BZ #6420]
62681 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62682 symbol info. Use it instead of calling _dl_addr locally.
62683 (lock_and_info): New function.
62684 (tr_freehook): Call lock_and_info and pass symbol info as additional
62685 parameter to tr_where.
62686 (tr_mallochook): Likewise.
62687 (tr_reallochook): Likewise.
62688 (tr_memalignhook): Likewise.
62689
62690 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62691 used and couldn't be at all thread-safe.
62692
62693 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62694
62695 * libio/freopen.c (freopen): Don't close old file descriptor
62696 before the new one is opened. Instead dup the new file descriptor
62697 to the old one after the new stream is created.
62698 * libio/freopen64.c (freopen64): Likewise.
62699 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62700 * libio/fileops.c (_IO_new_file_close_it): Handle new
62701 _IO_FLAGS2_NOCLOSE flag.
62702 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62703 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62704 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62705 _IO_FLAGS2_NOCLOSE flag.
62706 * include/unistd.h: Add hidden_proto for dup3.
62707 Define __have_dup3.
62708 * io/dup3.c: Define hidden symbol.
62709 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62710
62711 [BZ #7101]
62712 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62713 when an incomplete long option is used.
62714 * posix/tst-getopt_long1.c: New file.
62715 * posix/Makefile (tests): Add tst-getopt_long1.
62716
62717 [BZ #10138]
62718 * scripts/config.guess: Update from autoconf-2.68.
62719 * scripts/config.sub: Likewise.
62720
62721 [BZ #10157]
62722 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62723 tests into ...
62724 (has_cpuclock): ...this. New function.
62725 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62726 macro here based on has_cpuclock code.
62727
62728 [BZ #10149]
62729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62730 First byte (not low byte) is now always NUL.
62731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62732
62733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62734 Use non-cancelable interfaces.
62735
62736 [BZ #9809]
62737 * locale/iso-639.def: Add entry for Sorani.
62738
62739 [BZ #11901]
62740 * include/stdlib.h: Move include protection to the right place.
62741 Define abort_msg_s. Declare __abort_msg with it.
62742 * stdlib/abort.c (__abort_msg): Adjust type.
62743 * assert/assert.c (__assert_fail_base): New function. Majority
62744 of code from __assert_fail. Allocate memory for __abort_msg with
62745 mmap.
62746 (__assert_fail): Now call __assert_fail_base.
62747 * assert/assert-perr.c: Remove bulk of implementation. Use
62748 __assert_fail_base.
62749 * include/assert.hL Declare __assert_fail_base.
62750 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62751 mmap.
62752 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62753
62754 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62755
62756 [BZ #11952]
62757 [BZ #12453]
62758 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62759 until all modules are registered in the DTV.
62760 * elf/Makefile: Add rules to build and run tst-tls19.
62761 * elf/tst-tls19.c: New file.
62762 * elf/tst-tls19mod1.c: New file.
62763 * elf/tst-tls19mod2.c: New file.
62764 * elf/tst-tls19mod3.c: New file.
62765 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62766
62767 [BZ #12083]
62768 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62769 correctly.
62770
62771 [BZ #12601]
62772 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62773 two-byte sequence errors.
62774 * iconvdata/Makefile (tests): Add bug-iconv8.
62775 * iconvdata/bug-iconv8.c: New file.
62776
62777 [BZ #12626]
62778 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62779 buf2 definition.
62780
62781 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62782
62783 [BZ #12432]
62784 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62785 (dummy_getcfa): New function.
62786 (init): Get _Unwind_GetCFA address, use dummy if not found.
62787 (backtrace_helper): In recursion check, also check whether CFA changes.
62788 (__backtrace): Completely initialize arg.
62789
62790 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62791 storing incomplete byte sequence in state object. Avoid testing for
62792 guaranteed too small input if we know there is enough data available.
62793
62794 2011-05-11 Andreas Schwab <schwab@redhat.com>
62795
62796 * Makeconfig (+link-pie): Indent.
62797 * Rules (binaries-pie): Define if $(have-fpie) and
62798 $(build-shared).
62799 (binaries-shared): Also filter out $(binaries-pie).
62800 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62801 * nscd/Makefile (others-pie): Add nscd.
62802 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62803 ($(objpfx)nscd): Remove command override.
62804 * login/Makefile (others-pie): Add pt_chown.
62805 ($(objpfx)pt_chown): Remove command override.
62806 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62807 remove command overrides.
62808
62809 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62810
62811 * libio/tst_putwc.c: Fix error messages.
62812
62813 [BZ #12724]
62814 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62815 currently writing and seek to current position when not.
62816 * libio/Makefile (tests): Add bug-fclose1.
62817 * libio/bug-fclose1.c: New file.
62818
62819 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62820
62821 [BZ #12511]
62822 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62823 don't set DF_1_NODELETE here.
62824 (do_lookup_x): When entering new entry test for copy relocation
62825 and if necessary set DF_1_NODELETE flag.
62826 * elf/tst-unique4.cc: New file.
62827 * elf/tst-unique4.h: New file.
62828 * elf/tst-unique4lib.cc: New file.
62829 * elf/Makefile: Add rules to build and run tst-unique4.
62830 Patch by Piotr Bury <pbury@goahead.com>.
62831
62832 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62833
62834 [BZ #12052]
62835 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62836
62837 [BZ #12625]
62838 * misc/mntent_r.c (addmntent): Flush the stream after the output
62839
62840 [BZ #12393]
62841 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62842 (is_trusted_path_normalize): Skip initial colon. Append slash
62843 to empty buffer. Duplicate is_trusted_path code but allow
62844 constructed patch to be prefix.
62845 (is_dst): Allow $ORIGIN followed by /.
62846 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62847 Correct testing of result of is_trusted_path_normalize
62848 (decompose_rpath): Fix warning.
62849
62850 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62851
62852 [BZ #11257]
62853 * grp/initgroups.c (internal_getgrouplist): When we found the service
62854 list through the initgroups entry in nsswitch.conf do not always
62855 continue on a successful lookup. Don't always use the
62856 __nss_group_database value if it is set.
62857 * nss/nsswitch.conf (initgroups): Change action for successful db
62858 lookup to continue for compatibility.
62859
62860 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62861
62862 [BZ #11532]
62863 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62864 and CP774 modules.
62865 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62866 and CP774 modules.
62867 * iconvdata/tst-tables.sh: Likewise.
62868 * iconvdata/cp770.c: New file.
62869 * iconvdata/cp771.c: New file.
62870 * iconvdata/cp772.c: New file.
62871 * iconvdata/cp773.c: New file.
62872 * iconvdata/cp774.c: New file.
62873 * iconvdata/testdata/CP770: New file.
62874 * iconvdata/testdata/CP770..UTF8: New file.
62875 * iconvdata/testdata/CP771: New file.
62876 * iconvdata/testdata/CP771..UTF8: New file.
62877 * iconvdata/testdata/CP772: New file.
62878 * iconvdata/testdata/CP772..UTF8: New file.
62879 * iconvdata/testdata/CP773: New file.
62880 * iconvdata/testdata/CP773..UTF8: New file.
62881 * iconvdata/testdata/CP774: New file.
62882 * iconvdata/testdata/CP774..UTF8: New file.
62883
62884 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62885 END CHARMAP line.
62886 * iconvdata/gen-8bit-gap.sh: Likewise.
62887 * iconvdata/gen-8bit.sh: Likewise.
62888
62889 * locale/iso-639.def: Add ary entry.
62890
62891 [BZ #11258]
62892 * locale/C-translit.h.in: Add U20A1 transliteration.
62893
62894 [BZ #12178]
62895 * locale/iso-639.def: Add wae entry.
62896 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62897
62898 [BZ #12545]
62899 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62900 for n.
62901
62902 [BZ #12711]
62903 * locale/C-translit.h.in: Add entry for U20B9.
62904 Patch by pravin.d.s@gmail.com.
62905
62906 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62907
62908 [BZ #12713]
62909 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62910 ENAMETOOLONG use generic getcwd.
62911 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62912 in rtld. Use *stat64.
62913 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62914 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62915 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62916 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62917 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62918 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62919 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62920 __fstatat64 macros.
62921 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62922 * dirent/rewinddir.c: Add libc_hidden_def.
62923 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62924 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62925
62926 * include/dirent.h (__alloc_dir): Add flags parameter.
62927 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62928 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62929 __alloc_dir.
62930 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62931 from fdopendir if O_CLOEXEC is already set.
62932
62933 2011-03-15 Alan Modra <amodra@gmail.com>
62934
62935 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62936 l_tls_firstbyte_offset non-zero. Save padding offset in
62937 l_tls_firstbyte_offset for later use.
62938 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62939 freeing static tls block.
62940
62941 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62942
62943 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62944 where #ifdef was intended. The intent is to prevent ARG_MAX from
62945 being defined by the kernel headers.
62946
62947 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62948
62949 [BZ #12734]
62950 * resolv/resolv.h: Define RES_NOTLDQUERY.
62951 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62952 no-tld-query and set RES_NOTLDQUERY.
62953 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62954 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62955 modern BIND to search name as TLD unless forbidden.
62956
62957 2011-05-07 Petr Baudis <pasky@suse.cz>
62958 Ulrich Drepper <drepper@gmail.com>
62959
62960 [BZ #12393]
62961 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62962 (is_trusted_path): ...to here.
62963 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62964 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62965 using is_trusted_path_normalize() in setuid scripts.
62966
62967 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62968
62969 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62970 __BEGIN/__END_DECLS.
62971
62972 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62973
62974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62975 NSS_STATUS_NOTFOUND if no record was found.
62976
62977 2011-05-05 Andreas Schwab <schwab@redhat.com>
62978
62979 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62980 (headers-not-in-tirpc): Remove rpc/netdb.h
62981 * resolv/netdb.h: Revert last change.
62982
62983 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62984
62985 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62986 circular dependency between libgcc.a and libc.a.
62987
62988 2011-05-05 Andreas Schwab <schwab@redhat.com>
62989
62990 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62991 * nis/Makefile: Don't install rpcsvc/*.
62992 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62993 instead of <rpc/types.h>.
62994 (MAXHOSTNAMELEN): Define.
62995
62996 2011-05-03 Andreas Schwab <schwab@redhat.com>
62997
62998 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62999
63000 2011-04-28 Maciej Babinski <mbabinski@google.com>
63001
63002 [BZ #12714]
63003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63004 gethostbyname4_r when IPv6 results are possible.
63005
63006 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63007
63008 [BZ #12723]
63009 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63010 _PC_PIPE_BUF handling.
63011
63012 2011-04-30 Bruno Haible <bruno@clisp.org>
63013
63014 [BZ #12717]
63015 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63016 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63017 to 'int'.
63018 * inet/getnameinfo.c (getnameinfo): Likewise.
63019
63020 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63021
63022 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63023 to groups setting in database lookup.
63024 * nss/nsswitch.conf: Add initgroups entry.
63025
63026 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63027
63028 [BZ #12685]
63029 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63030 mode string.
63031 Patch by Eric Blake <eblake@redhat.com>.
63032
63033 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63034
63035 * sunrpc/Makefile (need-export-routines): Add svc_run.
63036 (routines): Remove svc_run.
63037 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63038 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63039 * sunrpc/svc_run.c (svc_run): Likewise.
63040 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63041
63042 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63043
63044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63045 problem in reallocation in last patch.
63046
63047 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63048
63049 * sunrpc/Makefile: Move inclusion of Rules.
63050
63051 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63052
63053 * nss/nss_files/files-initgroups.c: New file.
63054 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63055 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63056 _nss_files_initgroups_dyn.
63057
63058 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63059
63060 * elf/elf.h (R_ARM_IRELATIVE): Define.
63061
63062 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63063
63064 * po/ru.po: Update from translation team.
63065
63066 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63067
63068 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63069 dependencies.
63070
63071 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63072
63073 [BZ #12653]
63074 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63075 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63078 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63079
63080 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63081
63082 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63083 differing bytes.
63084 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63087
63088 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63089
63090 [BZ #12420]
63091 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63092 storing it.
63093 * stdlib/bug-getcontext.c: New file.
63094 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63095
63096 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63097
63098 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63099 instructions into .machine "z9-109".
63100 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63101 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63102
63103 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63104
63105 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63106 between environment variables and auxiliary vector.
63107
63108 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63109
63110 * Makefile: Add rules to build linkobj/libc.so.
63111 * include/libc-symbols.h: Define libc_hidden_nolink.
63112 * include/rpc/auth.h: Mark functions which are to be hidden.
63113 * include/rpc/auth_des.h: Likewise.
63114 * include/rpc/auth_unix.h: Likewise.
63115 * include/rpc/clnt.h: Likewise.
63116 * include/rpc/des_crypt.h: Likewise.
63117 * include/rpc/key_prot.h: Likewise.
63118 * include/rpc/pmap_clnt.h: Likewise.
63119 * include/rpc/pmap_prot.h: Likewise.
63120 * include/rpc/pmap_rmt.h: Likewise.
63121 * include/rpc/rpc_msg.h: Likewise.
63122 * include/rpc/svc.h: Likewise.
63123 * include/rpc/svc_auth.h: Likewise.
63124 * include/rpc/xdr.h: Likewise.
63125 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63126 * nss/Makefile: Likewise.
63127 * sunrpc/Makefile: Don't install headers. Build library with normal
63128 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63129 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63130 for the compat linking library. Remove use of INTDEF/INTUSE.
63131 * sunrpc/auth_none.c: Likewise.
63132 * sunrpc/auth_unix.c: Likewise.
63133 * sunrpc/authdes_prot.c: Likewise.
63134 * sunrpc/authuxprot.c: Likewise.
63135 * sunrpc/clnt_gen.c: Likewise.
63136 * sunrpc/clnt_perr.c: Likewise.
63137 * sunrpc/clnt_raw.c: Likewise.
63138 * sunrpc/clnt_simp.c: Likewise.
63139 * sunrpc/clnt_tcp.c: Likewise.
63140 * sunrpc/clnt_udp.c: Likewise.
63141 * sunrpc/clnt_unix.c: Likewise.
63142 * sunrpc/des_crypt.c: Likewise.
63143 * sunrpc/des_soft.c: Likewise.
63144 * sunrpc/get_myaddr.c: Likewise.
63145 * sunrpc/key_call.c: Likewise.
63146 * sunrpc/key_prot.c: Likewise.
63147 * sunrpc/netname.c: Likewise.
63148 * sunrpc/pm_getmaps.c: Likewise.
63149 * sunrpc/pm_getport.c: Likewise.
63150 * sunrpc/pmap_clnt.c: Likewise.
63151 * sunrpc/pmap_prot.c: Likewise.
63152 * sunrpc/pmap_prot2.c: Likewise.
63153 * sunrpc/pmap_rmt.c: Likewise.
63154 * sunrpc/publickey.c: Likewise.
63155 * sunrpc/rpc_cmsg.c: Likewise.
63156 * sunrpc/rpc_common.c: Likewise.
63157 * sunrpc/rpc_dtable.c: Likewise.
63158 * sunrpc/rpc_prot.c: Likewise.
63159 * sunrpc/rpc_thread.c: Likewise.
63160 * sunrpc/rtime.c: Likewise.
63161 * sunrpc/svc.c: Likewise.
63162 * sunrpc/svc_auth.c: Likewise.
63163 * sunrpc/svc_authux.c: Likewise.
63164 * sunrpc/svc_raw.c: Likewise.
63165 * sunrpc/svc_run.c: Likewise.
63166 * sunrpc/svc_simple.c: Likewise.
63167 * sunrpc/svc_tcp.c: Likewise.
63168 * sunrpc/svc_udp.c: Likewise.
63169 * sunrpc/svc_unix.c: Likewise.
63170 * sunrpc/svcauth_des.c: Likewise.
63171 * sunrpc/xcrypt.c: Likewise.
63172 * sunrpc/xdr.c: Likewise.
63173 * sunrpc/xdr_array.c: Likewise.
63174 * sunrpc/xdr_float.c: Likewise.
63175 * sunrpc/xdr_intXX_t.c: Likewise.
63176 * sunrpc/xdr_mem.c: Likewise.
63177 * sunrpc/xdr_rec.c: Likewise.
63178 * sunrpc/xdr_ref.c: Likewise.
63179 * sunrpc/xdr_sizeof.c: Likewise.
63180 * sunrpc/xdr_stdio.c: Likewise.
63181
63182 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63183
63184 [BZ #12650]
63185 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63186 * sysdeps/ia64/dl-tls.h: Likewise.
63187 * sysdeps/powerpc/dl-tls.h: Likewise.
63188 * sysdeps/s390/dl-tls.h: Likewise.
63189 * sysdeps/sh/dl-tls.h: Likewise.
63190 * sysdeps/sparc/dl-tls.h: Likewise.
63191 * sysdeps/x86_64/dl-tls.h: Likewise.
63192 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63193
63194 2011-03-14 Andreas Schwab <schwab@redhat.com>
63195
63196 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63197 rpath element also skip the following colon.
63198 (expand_dynamic_string_token): Add is_path parameter and pass
63199 down to DL_DST_REQUIRED and _dl_dst_substitute.
63200 (decompose_rpath): Call expand_dynamic_string_token with
63201 non-zero is_path. Ignore empty rpaths.
63202 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63203 with zero is_path.
63204
63205 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63206
63207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63208 Make cancelable.
63209
63210 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63211
63212 [BZ #12655]
63213 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63214 Patch by Filipe David Manana <fdmanana@apache.org>.
63215
63216 2011-04-07 Andreas Schwab <schwab@redhat.com>
63217
63218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63219 Maintain aligned stack.
63220 (CHECK_RSP): Remove unused macro.
63221
63222 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63223
63224 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63225 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63226
63227 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63228
63229 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63230
63231 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63232
63233 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63234
63235 [BZ #12518]
63236 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63237 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63238 * sysdeps/x86_64/memmove.c: New file.
63239 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63240 (memcpy): Renamed to ...
63241 (__new_memcpy): This.
63242 (memcpy): Provide GLIBC_2_14 memcpy.
63243 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63244 (memcpy): Provide GLIBC_2_2_5 memcpy.
63245
63246 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63247
63248 [BZ #12631]
63249 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63250
63251 2011-03-30 Andreas Schwab <schwab@redhat.com>
63252
63253 * misc/syncfs.c: New file.
63254 * misc/Makefile (routines): Add syncfs.
63255 * posix/unistd.h: Declare syncfs.
63256 * sysdeps/unix/syscalls.list: Add syncfs.
63257
63258 2011-04-01 Andreas Schwab <schwab@redhat.com>
63259
63260 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63261 open_by_handle_at.
63262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63267 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63269
63270 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63271
63272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63274 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63279
63280 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63281 sync_file_range.c with -fexceptions.
63282 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63283 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63284 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63285 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63286 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63287 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63289 sync_file_range as cancellation point
63290 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63291 now a wrapper around __call_sync_file_range with cancellation handling.
63292 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63293 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63294 function name to __call_sync_file_range.
63295 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63296 Add call_sync_file_range.
63297
63298 2011-04-01 Andreas Schwab <schwab@redhat.com>
63299
63300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63301 bits/timex.h.
63302
63303 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63304
63305 * iconv/iconv.h: Fix typo in comment.
63306 * io/fcntl.h: Likewise.
63307 * libio/stdio.h: Likewise.
63308 * posix/spawn.h: Likewise.
63309 * posix/unistd.h: Likewise.
63310 * stdlib/stdlib.h: Likewise.
63311 * time/time.h: Likewise.
63312 * wcsmbs/wchar.h: Likewise.
63313
63314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63315 open_by_handle): Add.
63316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63317 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63318 Augment a few comments.
63319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63324 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63325 open_by_handle.
63326
63327 * io/fcntl.h (AT_EMPTY_PATH): Define.
63328
63329 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63330
63331 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63332 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63333 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63334 to...
63335 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63336 * Versions.def: Add GLIBC_2.14.
63337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63338 Export.
63339
63340 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63341
63342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63343 round counter.
63344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63345
63346 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63347
63348 [BZ #12597]
63349 * string/test-strncmp.c (do_page_test): New function.
63350 (check2): Likewise.
63351 (test_main): Call check2.
63352 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63353
63354 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63355
63356 [BZ #12587]
63357 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63358 Handle cache information in CPU leaf 4.
63359 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63360
63361 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63362
63363 [BZ #12583]
63364 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63365 character representation.
63366 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63367
63368 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63369
63370 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63371 END(__isnan) to END(__isnanf) to match function entry point/label
63372 EALIGN(__isnanf,...).
63373
63374 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63375
63376 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63377
63378 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63379
63380 [BZ #12510]
63381 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63382 copy from the symbol referenced in the relocation to initialize the
63383 used variable.
63384 Patch by Piotr Bury <pbury@goahead.com>.
63385 * elf/Makefile: Add rules to build and tst-unique3.
63386 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63387 * elf/tst-unique3.cc: New file.
63388 * elf/tst-unique3.h: New file.
63389 * elf/tst-unique3lib.cc: New file.
63390 * elf/tst-unique3lib2.cc: New file.
63391
63392 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63393
63394 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63395
63396 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63397 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63398 to _start.
63399
63400 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63401
63402 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63403 to-be-loaded object along a path to loader is ld.so.
63404
63405 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63406 Ulrich Drepper <drepper@gmail.com>
63407
63408 * sysdeps/x86_64/memset.S: After aligning destination, code
63409 branches to different locations depending on the value of
63410 misalignment, when multiarch is enabled. Fix this.
63411
63412 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63413
63414 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63415 Set _x86_64_preferred_memory_instruction for AMD processsors.
63416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63417 Set bit_Prefer_SSE_for_memop for AMD processors.
63418
63419 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63420
63421 * libio/fmemopen.c (fmemopen): Optimize a bit.
63422
63423 2011-03-03 Andreas Schwab <schwab@redhat.com>
63424
63425 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63426
63427 2011-03-03 Roland McGrath <roland@redhat.com>
63428
63429 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63430
63431 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63432
63433 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63434 __bzero_ultra1 instead of __memset_ultra1.
63435
63436 2011-02-23 Andreas Schwab <schwab@redhat.com>
63437 Ulrich Drepper <drepper@gmail.com>
63438
63439 [BZ #12509]
63440 * include/link.h (struct link_map): Add l_orig_initfini.
63441 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63442 returning unsuccessfully.
63443 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63444 close of a file loaded at startup, restore the original l_initfini
63445 list.
63446 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63447 list, store the pointer.
63448 * elf/Makefile ($(objpfx)noload-mem): New rule.
63449 (noload-ENV): Define.
63450 (tests): Add $(objpfx)noload-mem.
63451 * elf/noload.c: Include <memcheck.h>.
63452 (main): Call mtrace. Close all opened handles.
63453
63454 2011-02-17 Andreas Schwab <schwab@redhat.com>
63455
63456 [BZ #12454]
63457 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63458 dependencies are missing.
63459
63460 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63461
63462 Fix __if_freereq crash: Unlike the generic version which uses free,
63463 Hurd needs munmap.
63464 * sysdeps/mach/hurd/ifreq.h: New file.
63465
63466 2011-01-27 Petr Baudis <pasky@suse.cz>
63467 Ulrich Drepper <drepper@gmail.com>
63468
63469 [BZ 12445]#
63470 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63471 to extend_alloca().
63472 * stdio-common/bug23.c: New file.
63473 * stdio-common/Makefile (tests): Add bug23.
63474
63475 2010-09-28 Andreas Schwab <schwab@redhat.com>
63476 Ulrich Drepper <drepper@gmail.com>
63477
63478 [BZ #12489]
63479 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63480 before performing relro protection. At old place add assertion
63481 to make sure nothing changed.
63482
63483 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63484 Glauber de Oliveira Costa <glommer@gmail.com>
63485
63486 * elf/elf.h: Add new ARM TLS relocs.
63487
63488 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63489
63490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63491 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63492 cast from r3.
63493 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63494 'tests' variable.
63495 * sysdeps/wordsize-64/tst-writev.c: New file.
63496
63497 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63498
63499 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63500 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63501 insns in _dl_start to prevent a TOC reference before relocs are
63502 resolved.
63503
63504 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63505
63506 [BZ #12469]
63507 * Makeconfig: Remove RANLIB definition.
63508 * Makerules: Don't use RANLIB.
63509 * aclocal.m4: Remove ranlib test.
63510 * configure.in: No need to check for ranlib.
63511 * elf/rtld-Rules: Don't use RANLIB.
63512
63513 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63514
63515 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63516 protection macro.
63517 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63518 inclusion protection macro.
63519
63520 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63521 SIGRTMIN and SIGRTMAX and print information in that case only when
63522 SIGRTMIN is defined.
63523
63524 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63525
63526 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63527 arginfo fn returning -1.
63528
63529 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63530 and thousands string is zero terminated.
63531
63532 2011-02-03 Andreas Schwab <schwab@redhat.com>
63533
63534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63535 sysdeps/unix/sysv/linux/bits/socket.h.
63536
63537 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63538
63539 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63540 (__CPU_COUNT): Remove old macros.
63541 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63542 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63543 (__CPU_ALLOC, __CPU_FREE): Add macros.
63544 (__sched_cpualloc, __sched_cpufree): Add declarations.
63545
63546 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63547
63548 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63549 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63550 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63551 (readdhstai): Return value of addhstaiX call.
63552 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63553 (addgrbyX): Return value returned by cache_addgr.
63554 (readdgrbyname): Return value returned by addgrbyX.
63555 (readdgrbygid): Likewise.
63556 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63557 (addpwbyX): Return value returned by cache_addpw.
63558 (readdpwbyname): Return value returned by addhstbyX.
63559 (readdpwbyuid): Likewise.
63560 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63561 (addservbyX): Return value returned by cache_addserv.
63562 (readdservbyname): Return value returned by addservbyX:
63563 (readdservbyport): Likewise.
63564 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63565 (addhstbyX): Return value returned by cache_addhst.
63566 (readdhstbyname): Return value returned by addhstbyX.
63567 (readdhstbyaddr): Likewise.
63568 (readdhstbynamev6): Likewise.
63569 (readdhstbyaddrv6): Likewise.
63570 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63571 (readdinitgroups): Return value returned by addinitgroupsX.
63572 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63573 (prune_cache): Keep track of timeout value of re-added entries.
63574 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63575 * nscd/nscd.h: Adjust prototypes of readd* functions.
63576
63577 2011-02-04 Roland McGrath <roland@redhat.com>
63578
63579 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63580 (nis_stats): Likewise.
63581 * nis/nis_modify.c (nis_modify): Likewise.
63582 * nis/nis_remove.c (nis_remove): Likewise.
63583 * nis/nis_add.c (nis_add): Likewise.
63584
63585 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63586
63587 * posix/fnmatch_loop.c: Add some consts.
63588
63589 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63590
63591 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63592
63593 [BZ #12460]
63594 * config.make.in (config-cflags-novzeroupper): Define.
63595 * configure.in: Substitute libc_cv_cc_novzeroupper.
63596 * elf/Makefile (AVX-CFLAGS): Define.
63597 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63598 (CFLAGS-tst-auditmod4a.c): Likewise.
63599 (CFLAGS-tst-auditmod4b.c): Likewise.
63600 (CFLAGS-tst-auditmod6b.c): Likewise.
63601 (CFLAGS-tst-auditmod6c.c): Likewise.
63602 (CFLAGS-tst-auditmod7b.c): Likewise.
63603 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63604
63605 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63606
63607 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63608 function to the callback.
63609 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63610
63611 2011-02-02 Andreas Schwab <schwab@redhat.com>
63612
63613 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63614 of errno.
63615
63616 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63617
63618 [BZ #11724]
63619 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63620 of constructors.
63621 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63622 of destructors.
63623 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63624
63625 [BZ #11724]
63626 * elf/Makefile: Add rules to build and run new test.
63627 * elf/tst-initorder.c: New file.
63628 * elf/tst-initorder.exp: New file.
63629 * elf/tst-initordera1.c: New file.
63630 * elf/tst-initordera2.c: New file.
63631 * elf/tst-initordera3.c: New file.
63632 * elf/tst-initordera4.c: New file.
63633 * elf/tst-initorderb1.c: New file.
63634 * elf/tst-initorderb2.c: New file.
63635 * elf/tst-order-a1.c: New file.
63636 * elf/tst-order-a2.c: New file.
63637 * elf/tst-order-a3.c: New file.
63638 * elf/tst-order-a4.c: New file.
63639 * elf/tst-order-b1.c: New file.
63640 * elf/tst-order-b2.c: New file.
63641 * elf/tst-order-main.c: New file.
63642 New test case by George Gensure <werkt0@gmail.com>.
63643
63644 2010-10-01 Andreas Schwab <schwab@redhat.com>
63645
63646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63647 decoding ACE if AI_CANONIDN.
63648
63649 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63650
63651 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63652
63653 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63654
63655 * version.h (RELEASE): Bump for 2.13 release.
63656 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63657
63658 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63659
63660 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63661 MADV_NOHUGEPAGE.
63662 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63665 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63668
63669 * posix/getconf.c: Update copyright year.
63670 * catgets/gencat.c: Likewise.
63671 * csu/version.c: Likewise.
63672 * debug/catchsegv.sh: Likewise.
63673 * debug/xtrace.sh: Likewise.
63674 * elf/ldconfig.c: Likewise.
63675 * elf/ldd.bash.in: Likewise.
63676 * elf/sprof.c (print_version): Likewise.
63677 * iconv/iconv_prog.c: Likewise.
63678 * iconv/iconvconfig.c: Likewise.
63679 * locale/programs/locale.c: Likewise.
63680 * locale/programs/localedef.c: Likewise.
63681 * malloc/memusage.sh: Likewise.
63682 * malloc/mtrace.pl: Likewise.
63683 * nscd/nscd.c (print_version): Likewise.
63684 * nss/getent.c: Likewise.
63685
63686 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63687 PF_CAIF, and PF_ALG.
63688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63689
63690 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63691
63692 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63693 (modules-names): Use them.
63694 (ifunc-test-modules, ifunc-pie-tests): Define.
63695 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63696 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63697 (test-extras): Likewise.
63698 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63699 $(compile-command.c).
63700 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63701 (all-built-dso): Define.
63702 (check-textrel.out, check-execstack.out): Depend on it.
63703
63704 * configure.in: Don't override --enable-multi-arch.
63705
63706 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63707
63708 [BZ #6812]
63709 * nscd/hstcache.c (tryagain): Define.
63710 (cache_addhst): Return tryagain not notfound for temporary errors.
63711 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63712 failed.
63713
63714 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63715
63716 [BZ #10563]
63717 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63718 to make the syscall.
63719 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63720
63721 [BZ #12378]
63722 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63723 and fall back to matching as normal character if the string ends before
63724 the matching ']' is found. This is what POSIX requires.
63725 * posix/testfnm.c: Adjust test result.
63726 * posix/globtest.sh: Adjust test result. Add new test.
63727 * posix/tst-fnmatch.input: Likewise.
63728 * posix/tst-fnmatch2.c: Add new test.
63729
63730 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63731
63732 * elf/Makefile (check-execstack): Revert last change. Depend on
63733 check-execstack.h.
63734 (check-execstack.h): New target.
63735 (generated): Add check-execstack.h.
63736 * elf/check-execstack.c: Include "check-execstack.h".
63737 (main): Revert last change.
63738 (handle_file): Return zero if GNU_STACK is absent and
63739 DEFAULT_STACK_PERMS doesn't include PF_X.
63740
63741 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63742
63743 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63744 in child fails because the descriptor is already closed.
63745 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63746 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63748
63749 [BZ #12397]
63750 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63751 syscall.
63752
63753 [BZ #10484]
63754 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63755 temporary buffer used to handle multi lookups locally.
63756 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63757
63758 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63759
63760 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63761 loader is ld.so.
63762
63763 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63764
63765 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63766 alignment for SSE2.
63767
63768 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63769
63770 [BZ #12394]
63771 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63772 characters. When rounding increased number of integer digits recompute
63773 number of groups.
63774 * stdio-common/tst-grouping.c: New file.
63775 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63776
63777 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63778
63779 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63780 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63781
63782 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63783 void.
63784 * bits/select.h: Likewise.
63785
63786 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63787
63788 * po/ja.po: Update from translation team.
63789
63790 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63791
63792 [BZ #11155]
63793 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63794 implementation just like for lxstat, fxstatat, et al.
63795
63796 2010-12-27 Jim Meyering <meyering@redhat.com>
63797
63798 [BZ #12348]
63799 * posix/regexec.c (build_trtable): Return failure indication upon
63800 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63801
63802 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63803
63804 [BZ #12201]
63805 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63806 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63807 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63809
63810 [BZ #12207]
63811 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63812
63813 [BZ #12204]
63814 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63815 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63816
63817 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63818
63819 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63820 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63821 script has SORT_BY_INIT_PRIORITY.
63822 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63823 NO_CTORS_DTORS_SECTIONS is defined.
63824 * elf/soinit.c: Likewise.
63825 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63826 NO_CTORS_DTORS_SECTIONS is defined.
63827 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63828 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63829 * sysdeps/sh/init-first.c: Likewise.
63830 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63831
63832 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63833
63834 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63835 always use the slow path.
63836
63837 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63838
63839 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63840 similar rule which adds the sysdep directories to the header search in
63841 order to pick up the correct platform stackinfo.h.
63842 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63843 perform test if it is, otherwise return successfully without testing.
63844 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63845 DEFAULT_STACK_PERMS define in stackinfo.h.
63846 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63847 defined in stackinfo.h.
63848 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63849 DEFAULT_STACK_PERMS defined in stackinfo.h.
63850 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63851 * sysdeps/ia64/stackinfo.h: Likewise.
63852 * sysdeps/s390/stackinfo.h: Likewise.
63853 * sysdeps/sh/stackinfo.h: Likewise.
63854 * sysdeps/sparc/stackinfo.h: Likewise.
63855 * sysdeps/x86_64/stackinfo.h: Likewise.
63856 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63857 PF_X for powerpc64. Retain PF_X for powerpc32.
63858
63859 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63860
63861 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63862 accurately.
63863 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63864 GETDENTS_64BIT_ALIGNED.
63865
63866 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63867
63868 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63869
63870 2010-12-10 Andreas Schwab <schwab@redhat.com>
63871
63872 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63873 _GNU_SOURCE.
63874
63875 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63876 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63877 Remove __restrict.
63878 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63879 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63880
63881 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63882
63883 [BZ #11655]
63884 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63885 are initialized.
63886
63887 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63888
63889 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63890
63891 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63892
63893 * po/it.po: Update from translation team.
63894
63895 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63896
63897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63898 unused codes.
63899
63900 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63901
63902 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63903
63904 2010-11-24 Andreas Schwab <schwab@redhat.com>
63905
63906 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63907 specially.
63908 (gaih_getanswer_slice): Likewise.
63909
63910 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63911
63912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63913
63914 2010-05-31 Petr Baudis <pasky@suse.cz>
63915
63916 [BZ #11149]
63917 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63918 silently even in the chroot mode.
63919
63920 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63921
63922 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63923 last patch a bit. Pretty printing
63924
63925 2010-05-31 Petr Baudis <pasky@suse.cz>
63926
63927 [BZ #10085]
63928 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63929 initialization of skip_initgroups_dyn.
63930
63931 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63932
63933 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63935
63936 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63937
63938 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63939
63940 2010-11-11 Andreas Schwab <schwab@redhat.com>
63941
63942 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63943 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63944 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63945 ($(objpfx)tst-fnmatch-mem): New rule.
63946 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63947 * posix/tst-fnmatch.c (main): Call mtrace.
63948
63949 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63950
63951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63952 Support Intel processor model 6 and model 0x2c.
63953
63954 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63955
63956 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63957 signed comparison.
63958
63959 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63960
63961 [BZ #12205]
63962 * string/test-strncasecmp.c (check_result): New function.
63963 (do_one_test): Use it.
63964 (check1): New function.
63965 (test_main): Use it.
63966 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63967 Support strcasecmp and strncasecmp.
63968
63969 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63970
63971 [BZ #12194]
63972 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63973 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63974
63975 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63976
63977 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63978 IFUNC support.
63979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63980 memset-x86-64.
63981 * sysdeps/x86_64/multiarch/bzero.S: New file.
63982 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63983 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63984 * sysdeps/x86_64/multiarch/memset.S: New file.
63985 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63987 Set bit_Prefer_SSE_for_memop for Intel processors.
63988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63989 Define.
63990 (index_Prefer_SSE_for_memop): Define.
63991 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63992
63993 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63994
63995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63996 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63997
63998 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63999
64000 [BZ #12191]
64001 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64002 (__x86_64_raw_data_cache_size_half): Likewise.
64003 (__x86_64_raw_shared_cache_size): Likewise.
64004 (__x86_64_raw_shared_cache_size_half): Likewise.
64005
64006 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64007 (__x86_64_raw_data_cache_size_half): Likewise.
64008 (__x86_64_raw_shared_cache_size): Likewise.
64009 (__x86_64_raw_shared_cache_size_half): Likewise.
64010 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64011 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64012 and __x86_64_raw_shared_cache_size_half. Round
64013 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64014 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64015 to multiple of 256 bytes.
64016
64017 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64018
64019 [BZ #12167]
64020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64021 of inacessible symlinks. Verify result of symlink before returning it.
64022 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64023 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64024
64025 2010-10-28 Erich Ritz <erichritz@gmail.com>
64026
64027 * math/math.h (isinf): Fix typo in comment.
64028
64029 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64030
64031 * po/da.po: Update from translation team.
64032
64033 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64034
64035 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64036 is added to the list.
64037
64038 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64039 Ulrich Drepper <drepper@gmail.com>
64040
64041 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64042 the global list here. Move code to...
64043 (_dl_add_to_namespace_list): ...here. New function.
64044 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64045 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64046 * elf/dl-load.c (lose): Don't remove the element from the list.
64047 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64048 (_dl_map_object): Likewise.
64049
64050 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64051
64052 [BZ #12159]
64053 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64054 into all bytes of SSE register.
64055 Patch by Richard Li <richardpku@gmail.com>.
64056
64057 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64058
64059 [BZ #12140]
64060 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64061 perturbing.
64062
64063 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64064
64065 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64066 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64067 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64068 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64070 submachine.
64071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64072
64073 2010-10-22 Andreas Schwab <schwab@redhat.com>
64074
64075 * include/dlfcn.h (__RTLD_SECURE): Define.
64076 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64077 mode & __RTLD_SECURE instead.
64078 (open_path): Rename preloaded parameter to secure.
64079 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64080 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64081 * elf/dl-deps.c (openaux): Likewise.
64082 * elf/rtld.c (struct map_args): Remove is_preloaded.
64083 (map_doit): Don't use it.
64084 (dl_main): Likewise.
64085 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64086 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64087
64088 2010-09-09 Andreas Schwab <schwab@redhat.com>
64089
64090 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64091 (sysd-rules-targets): Remove duplicates.
64092 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64093 rtld-%.$o dependency.
64094
64095 2010-10-18 Andreas Schwab <schwab@redhat.com>
64096
64097 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64098 _dl_map_object do it.
64099
64100 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64101
64102 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64103 fast fma builtins, define the macros in the C99 standard.
64104 (FP_FAST_FMAF): Likewise.
64105 (FP_FAST_FMAL): Likewise.
64106 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64107
64108 * bits/mathdef.h: Update copyright year.
64109 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64110
64111 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64112
64113 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64114 builtins, define the macros in the C99 standard.
64115 (FP_FAST_FMAF): Likewise.
64116 (FP_FAST_FMAL): Likewise.
64117 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64118 multiply/add.
64119 (FP_FAST_FMAF): Likewise.
64120
64121 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64122
64123 [BZ #3268]
64124 * math/libm-test.inc (fma_test): Some new testcases.
64125 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64127 y and infinite z. Do multiplication by C already in long double.
64128 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64130 y and infinite z. Do bitwise or of inexact bit into u.d.
64131 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64132 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64133 * sysdeps/i386/fpu/s_fma.S: Removed.
64134 * sysdeps/i386/fpu/s_fmal.S: Removed.
64135
64136 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64137
64138 [BZ #3268]
64139 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64141 computation is not scheduled after fetestexcept. Fix value
64142 of minimum denormal long double.
64143
64144 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64145
64146 [BZ #3268]
64147 * math/libm-test.inc (fma_test): Add some more tests.
64148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64149 correctly.
64150
64151 2010-10-15 Andreas Schwab <schwab@redhat.com>
64152
64153 * scripts/data/localplt-s390-linux-gnu.data: New file.
64154 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64155
64156 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64157
64158 [BZ #3268]
64159 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64160 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64161 instead of dbl-64.
64162 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64163 inlines.
64164 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64166 if one of x and y is very large and the other is subnormal.
64167 * sysdeps/s390/fpu/s_fmaf.c: New file.
64168 * sysdeps/s390/fpu/s_fma.c: New file.
64169 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64170 * sysdeps/powerpc/fpu/s_fma.S: New file.
64171 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64172 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64173 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64174
64175 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64176
64177 [BZ #3268]
64178 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64179 fma tests.
64180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64181 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64182 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64183 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64184 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64185 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64186 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64187
64188 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64189
64190 [BZ #12078]
64191 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64192 * posix/bug-regex31.input: Add test case.
64193
64194 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64195
64196 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64197 * posix/bug-regex31.input: New file.
64198
64199 [BZ #12078]
64200 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64201 (parse_sub_exp): Fix last change, use postorder.
64202
64203 * posix/bug-regex31.c: New file.
64204 * posix/Makefile: Add rules to build and run bug-regex31.
64205
64206 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64207
64208 [BZ #12078]
64209 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64210
64211 [BZ #12108]
64212 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64213 to have entries in sys_siglist.
64214
64215 [BZ #12093]
64216 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64217 be NULL.
64218
64219 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64220
64221 [BZ #3268]
64222 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64223 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64224 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64225 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64226 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64227 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64228 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64229 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64230 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64231 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64232 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64233 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64234 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64235 * math/ftestexcept.c (fetestexcept): Likewise.
64236 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64237 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64238 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64240 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64241 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64242 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64243
64244 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64245
64246 [BZ #12107]
64247 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64248 newline.
64249
64250 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64251
64252 * string/bug-strstr1.c: New file.
64253 * string/Makefile: Add rules to build and run bug-strstr1.
64254
64255 2010-10-05 Eric Blake <eblake@redhat.com>
64256
64257 [BZ #12092]
64258 * string/str-two-way.h (two_way_long_needle): Always clear memory
64259 when skipping input due to the shift table.
64260
64261 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64262
64263 [BZ #12005]
64264 * malloc/mcheck.c: Handle large requests.
64265
64266 [BZ #12077]
64267 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64268 for strncmp and strncasecmp.
64269 * string/stratcliff.c: Add tests for strcmp and strncmp.
64270 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64271
64272 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64273
64274 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64275 __set_fpscr.
64276
64277 2010-09-30 Andreas Jaeger <aj@suse.de>
64278
64279 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64280 (CGROUP_SUPER_MAGIC): Define.
64281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64282 Handle btrfs and cgroup file systems.
64283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64284 Likewise.
64285
64286 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64287
64288 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64289 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64290
64291 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64292
64293 [BZ #12067]
64294 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64295 trying to locate the ELF header.
64296
64297 2010-09-27 Andreas Schwab <schwab@redhat.com>
64298
64299 [BZ #11611]
64300 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64301 Mask out sign-bit copies when constructing f_fsid.
64302
64303 2010-09-24 Petr Baudis <pasky@suse.cz>
64304
64305 * debug/stack_chk_fail_local.c: Add missing licence exception.
64306 * debug/warning-nop.c: Likewise.
64307
64308 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64309
64310 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64311 implementing getdents64 using getdents syscall, set d_type if
64312 __ASSUME_GETDENTS32_D_TYPE.
64313
64314 2010-09-16 Andreas Schwab <schwab@redhat.com>
64315
64316 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64317 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64318
64319 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64320
64321 [BZ #12037]
64322 * posix/unistd.h: Undo change of feature selection for ftruncate from
64323 2010-01-11.
64324
64325 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64326
64327 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64328 detection.
64329
64330 2010-09-20 Andreas Schwab <schwab@redhat.com>
64331
64332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64333 fanotify_mark.
64334 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64335
64336 2010-09-14 Andreas Schwab <schwab@redhat.com>
64337
64338 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64339 variables after CHECK_SP call.
64340 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64341
64342 2010-09-13 Andreas Schwab <schwab@redhat.com>
64343 Ulrich Drepper <drepper@redhat.com>
64344
64345 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64346 re-relocationg ld.so.
64347 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64348 _dl_init_paths call.
64349 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64350 here anymore.
64351
64352 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64353
64354 * resolv/res_init.c (__res_vinit): Count the default server we added.
64355
64356 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64357 Ulrich Drepper <drepper@redhat.com>
64358
64359 [BZ #11968]
64360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64361 (____longjmp_chk): Use %ebx for saving value across system call.
64362 Add unwind info.
64363
64364 2010-09-06 Andreas Schwab <schwab@redhat.com>
64365
64366 * manual/Makefile: Don't mix pattern rules with normal rules.
64367
64368 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64369
64370 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64371 operation.
64372 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64373 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64374 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64375 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64377 Likewise.
64378
64379 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64380
64381 [BZ #11979]
64382 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64383 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64384
64385 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64386
64387 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64388 * sysdeps/x86_64/addmul_1.S: Likewise.
64389 * sysdeps/x86_64/lshift.S: Likewise.
64390 * sysdeps/x86_64/mul_1.S: Likewise.
64391 * sysdeps/x86_64/rshift.S: Likewise.
64392 * sysdeps/x86_64/sub_n.S: Likewise.
64393 * sysdeps/x86_64/submul_1.S: Likewise.
64394
64395 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64396
64397 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64398 Define __sched_param instead of SCHED_* and sched_param when
64399 <bits/sched.h> is included with __need_schedparam defined.
64400 * bits/sched.h [__need_schedparam]
64401 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64402 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64403 (__defined_schedparam): Define to 1.
64404 (__sched_param): New structure, identical to sched_param.
64405 (__need_schedparam): Undefine.
64406
64407 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64408
64409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64410 (epoll_create1): Declare.
64411
64412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64413
64414 2010-08-31 Andreas Schwab <schwab@redhat.com>
64415
64416 [BZ #7066]
64417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64418 shifting retval into place.
64419
64420 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64421
64422 * nis/rpcsvc/nis.h: Update copyright notice.
64423 * nis/rpcsvc/nis.x: Likewise.
64424 * nis/rpcsvc/nis_callback.h: Likewise.
64425 * nis/rpcsvc/nis_callback.x: Likewise.
64426 * nis/rpcsvc/nis_object.x: Likewise.
64427 * nis/rpcsvc/nis_tags.h: Likewise.
64428 * nis/rpcsvc/yp.h: Likewise.
64429 * nis/rpcsvc/yp.x: Likewise.
64430 * nis/rpcsvc/ypupd.h: Likewise.
64431 * nis/yp_xdr.c: Likewise.
64432 * nis/ypupdate_xdr.c: Likewise.
64433
64434 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64435 mainly the body of pmap_getport. Add parameters to specify timeouts.
64436 (pmap_getport): Use __libc_rpc_getport.
64437 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64438 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64439 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64440
64441 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64442
64443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64444 fanotify_mark.
64445
64446 2010-08-27 Roland McGrath <roland@redhat.com>
64447
64448 * sysdeps/i386/i686/multiarch/Makefile
64449 (CFLAGS-varshift.c): New variable.
64450
64451 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64452
64453 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64454 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64455
64456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64457
64458 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64459
64460 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64461
64462 * sysdeps/x86_64/strlen.S: Unroll the loop.
64463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64464 strlen-sse2 strlen-sse2-bsf.
64465 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64466 __strlen_no_bsf if bit_Slow_BSF is set.
64467 (__strlen_sse42): Removed.
64468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64469 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64470
64471 2010-08-25 Roland McGrath <roland@redhat.com>
64472
64473 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64474 * sysdeps/x86_64/multiarch/varshift.c: New file.
64475 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64476 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64477 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64478 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64479
64480 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64481
64482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64483 strlen-sse2 strlen-sse2-bsf.
64484 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64485 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64486 (__strlen_sse2): Removed.
64487 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64490 bit_Slow_BSF for Atom.
64491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64492 (index_Slow_BSF): Define.
64493 (HAS_SLOW_BSF): Define.
64494
64495 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64496
64497 [BZ #10851]
64498 * resolv/res_init.c (__res_vinit): When no server address at all
64499 is given default to loopback.
64500
64501 2010-08-24 Roland McGrath <roland@redhat.com>
64502
64503 * configure.in: Remove config-name.h generation.
64504 * configure: Regenerated.
64505 * config-name.in: File removed.
64506 * scripts/config-uname.sh: New file.
64507 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64508 ($(objdir)config-name.h): New target.
64509
64510 * sunrpc/rpc_parse.h: Avoid nested comment.
64511
64512 2010-08-24 Richard Henderson <rth@redhat.com>
64513 Ulrich Drepper <drepper@redhat.com>
64514 H.J. Lu <hongjiu.lu@intel.com>
64515
64516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64518 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64519 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64520 _mm_alignr_epi8 with _mm_loadu_si128.
64521 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64522 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64523 (__m128i_shift_right): Removed.
64524 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64525 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64526 * sysdeps/x86_64/multiarch/varshift.h: New file.
64527 * sysdeps/x86_64/multiarch/varshift.S: New file.
64528
64529 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64530
64531 * configure.in: Move assembler checks to before sysdep dir checking.
64532
64533 2010-08-20 Petr Baudis <pasky@suse.cz>
64534
64535 * LICENSES: Sync the sunrpc license.
64536
64537 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64538
64539 * sunrpc/auth_des.c: Update copyright notice once again.
64540 * sunrpc/auth_none.c: Likewise.
64541 * sunrpc/auth_unix.c: Likewise.
64542 * sunrpc/authdes_prot.c: Likewise.
64543 * sunrpc/authuxprot.c: Likewise.
64544 * sunrpc/bindrsvprt.c: Likewise.
64545 * sunrpc/clnt_gen.c: Likewise.
64546 * sunrpc/clnt_perr.c: Likewise.
64547 * sunrpc/clnt_raw.c: Likewise.
64548 * sunrpc/clnt_simp.c: Likewise.
64549 * sunrpc/clnt_tcp.c: Likewise.
64550 * sunrpc/clnt_udp.c: Likewise.
64551 * sunrpc/clnt_unix.c: Likewise.
64552 * sunrpc/des_crypt.c: Likewise.
64553 * sunrpc/des_soft.c: Likewise.
64554 * sunrpc/get_myaddr.c: Likewise.
64555 * sunrpc/getrpcport.c: Likewise.
64556 * sunrpc/key_call.c: Likewise.
64557 * sunrpc/key_prot.c: Likewise.
64558 * sunrpc/openchild.c: Likewise.
64559 * sunrpc/pm_getmaps.c: Likewise.
64560 * sunrpc/pm_getport.c: Likewise.
64561 * sunrpc/pmap_clnt.c: Likewise.
64562 * sunrpc/pmap_prot.c: Likewise.
64563 * sunrpc/pmap_prot2.c: Likewise.
64564 * sunrpc/pmap_rmt.c: Likewise.
64565 * sunrpc/rpc/auth.h: Likewise.
64566 * sunrpc/rpc/auth_unix.h: Likewise.
64567 * sunrpc/rpc/clnt.h: Likewise.
64568 * sunrpc/rpc/des_crypt.h: Likewise.
64569 * sunrpc/rpc/key_prot.h: Likewise.
64570 * sunrpc/rpc/netdb.h: Likewise.
64571 * sunrpc/rpc/pmap_clnt.h: Likewise.
64572 * sunrpc/rpc/pmap_prot.h: Likewise.
64573 * sunrpc/rpc/pmap_rmt.h: Likewise.
64574 * sunrpc/rpc/rpc.h: Likewise.
64575 * sunrpc/rpc/rpc_des.h: Likewise.
64576 * sunrpc/rpc/rpc_msg.h: Likewise.
64577 * sunrpc/rpc/svc.h: Likewise.
64578 * sunrpc/rpc/svc_auth.h: Likewise.
64579 * sunrpc/rpc/types.h: Likewise.
64580 * sunrpc/rpc/xdr.h: Likewise.
64581 * sunrpc/rpc_clntout.c: Likewise.
64582 * sunrpc/rpc_cmsg.c: Likewise.
64583 * sunrpc/rpc_common.c: Likewise.
64584 * sunrpc/rpc_cout.c: Likewise.
64585 * sunrpc/rpc_dtable.c: Likewise.
64586 * sunrpc/rpc_hout.c: Likewise.
64587 * sunrpc/rpc_main.c: Likewise.
64588 * sunrpc/rpc_parse.c: Likewise.
64589 * sunrpc/rpc_parse.h: Likewise.
64590 * sunrpc/rpc_prot.c: Likewise.
64591 * sunrpc/rpc_sample.c: Likewise.
64592 * sunrpc/rpc_scan.c: Likewise.
64593 * sunrpc/rpc_scan.h: Likewise.
64594 * sunrpc/rpc_svcout.c: Likewise.
64595 * sunrpc/rpc_tblout.c: Likewise.
64596 * sunrpc/rpc_util.c: Likewise.
64597 * sunrpc/rpc_util.h: Likewise.
64598 * sunrpc/rpcinfo.c: Likewise.
64599 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64600 * sunrpc/rpcsvc/key_prot.x: Likewise.
64601 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64602 * sunrpc/rpcsvc/mount.x: Likewise.
64603 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64604 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64605 * sunrpc/rpcsvc/rex.x: Likewise.
64606 * sunrpc/rpcsvc/rstat.x: Likewise.
64607 * sunrpc/rpcsvc/rusers.x: Likewise.
64608 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64609 * sunrpc/rpcsvc/spray.x: Likewise.
64610 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64611 * sunrpc/rtime.c: Likewise.
64612 * sunrpc/svc.c: Likewise.
64613 * sunrpc/svc_auth.c: Likewise.
64614 * sunrpc/svc_authux.c: Likewise.
64615 * sunrpc/svc_raw.c: Likewise.
64616 * sunrpc/svc_run.c: Likewise.
64617 * sunrpc/svc_simple.c: Likewise.
64618 * sunrpc/svc_tcp.c: Likewise.
64619 * sunrpc/svc_udp.c: Likewise.
64620 * sunrpc/svc_unix.c: Likewise.
64621 * sunrpc/svcauth_des.c: Likewise.
64622 * sunrpc/xcrypt.c: Likewise.
64623 * sunrpc/xdr.c: Likewise.
64624 * sunrpc/xdr_array.c: Likewise.
64625 * sunrpc/xdr_float.c: Likewise.
64626 * sunrpc/xdr_mem.c: Likewise.
64627 * sunrpc/xdr_rec.c: Likewise.
64628 * sunrpc/xdr_ref.c: Likewise.
64629 * sunrpc/xdr_sizeof.c: Likewise.
64630 * sunrpc/xdr_stdio.c: Likewise.
64631
64632 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64633 handling.
64634
64635 2010-08-19 Andreas Schwab <schwab@redhat.com>
64636
64637 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64638
64639 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64640
64641 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64642 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64643 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64644 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64646 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64647 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64648 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64650 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64651 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64652 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64653 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64654 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64655
64656 2010-07-26 Anton Blanchard <anton@samba.org>
64657
64658 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64659 * malloc/arena.c (heap_trim): Likewise.
64660
64661 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64662
64663 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64664 here. Not...
64665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64666 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64667
64668 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64669
64670 * sysdeps/i386/elf/Makefile: New file.
64671
64672 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64673
64674 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64675 from fanotify_init.
64676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64678
64679 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64680
64681 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64682 of strncasecmp_l.
64683 * sysdeps/multiarch/strcmp.S: Likewise.
64684
64685 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64686
64687 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64688 strncase_l-nonascii.
64689 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64690 Add strncase_l-ssse3.
64691 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64692 * sysdeps/x86_64/strcmp.S: Likewise.
64693 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64694 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64695 * sysdeps/x86_64/strncase.S: New file.
64696 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64697 * sysdeps/x86_64/strncase_l.S: New file.
64698 * string/Makefile (strop-tests): Add strncasecmp.
64699 * string/test-strncasecmp.c: New file.
64700
64701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64702 warning.
64703
64704 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64705 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64706
64707 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64708
64709 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64710
64711 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64712
64713 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64716
64717 2010-05-01 Alan Modra <amodra@gmail.com>
64718
64719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64720 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64721 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64722 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64723 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64724 tidying. Don't tail-call __sigjmp_save for static lib.
64725 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64726 save location.
64727 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64728 (CALL_MCOUNT): Add eh info, and nop after bl.
64729 (TAIL_CALL_SYSCALL_ERROR): New macro.
64730 (PSEUDO_RET): Use it.
64731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64732 Correct save location of integer regs and cr.
64733 (_dl_profile_resolve): Correct cr save location. Delete nops
64734 after bl when SHARED. Reduce cfi size a little by better
64735 placement of cfi directives.
64736 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64737 make a stack frame. Instead use parm save area as a temp.
64738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64739 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64741 Don't make a stack frame for parent, use parm save area.
64742 Increase child stack frame to 112 bytes. Don't save unused reg,
64743 and adjust reg usage. Set up cfi on error recovery and
64744 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64746 (__makecontext): Add dummy nop after jump to exit.
64747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64748 Use correct parm save area and cr save, reduce stack frame.
64749 Correct cfi for possible PSEUDO_RET frame setup.
64750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64751 Branch to local label emitted by PSEUDO_RET rather than
64752 __syscall_error.
64753
64754 2010-08-12 Andreas Schwab <schwab@redhat.com>
64755
64756 [BZ #11904]
64757 * locale/programs/locale.c (print_assignment): New function.
64758 (show_locale_vars): Use it.
64759
64760 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64761
64762 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64763 field.
64764 (struct statfs64): Likewise.
64765 (_STATFS_F_FLAGS): Define.
64766 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64768 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64769 (ST_VALID): Define locally.
64770 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64771 __statvfs_getflags, use the provided value.
64772 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64773 __ASSUME_STATFS_F_FLAGS.
64774
64775 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64776
64777 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64778 Add sys/fanotify.h.
64779 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64780 fanotify_mask for GLIBC_2.13.
64781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64782 fanotify_init and fanotify_mark.
64783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64784 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64785
64786 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64787 Add prlimit.
64788 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64789 prlimit64 for GLIBC_2.13.
64790 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64791 prlimit64.
64792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64793 syscall.
64794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64796 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64797 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64799 add prlimit alias.
64800 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64801
64802 [BZ #11903]
64803 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64804 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64805
64806 * nss/Makefile: Add rules to build and run tst-nss-test1.
64807 * shlib-versions: Add entry for libnss_test1.
64808 * nss/nss_test1.c: New file.
64809 * nss/tst-nss-test1.c: New file.
64810
64811 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64812 (__nss_configure_lookup): Set appropriate entry in
64813 __nss_configure_lookup to true.
64814 * nss/nsswitch.h: Define enum with indeces of databases in
64815 databases and __nss_database_custom arrays. Declare
64816 __nss_database_custom.
64817 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64818 to avoid using nscd when custom rules are installed.
64819 * nss/getXXbyYY_r.c: Likewise.
64820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64821
64822 * nss/nss_files/files-parse.c: Whitespace fixes.
64823
64824 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64825
64826 [BZ #11883]
64827 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64828 * posix/fnmatch_loop.c: Likewise.
64829
64830 2010-07-17 Andi Kleen <ak@linux.intel.com>
64831
64832 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64833 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64834 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64835 * Versions.def [GLIBC_2.13]: Add.
64836
64837 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64838
64839 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64840 Also fail if tpwd after pwuid call is NULL.
64841
64842 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64843
64844 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64845 when converting to ms.
64846
64847 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64848
64849 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64850 EOPNOTSUPP errors with ENOTTY.
64851 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64852 EOPNOTSUPP errors with ENOTTY.
64853
64854 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64855
64856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64857 Add strcasecmp_l-ssse3.
64858 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64859 strcasecmp.
64860 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64861 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64862 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64863
64864 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64865
64866 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64867
64868 * string/Makefile (strop-tests): Add strcasecmp.
64869 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64870 strcasecmp_l-nonascii.
64871 (gen-as-const-headers): Add locale-defines.sym.
64872 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64873 * sysdeps/x86_64/strcasecmp.S: New file.
64874 * sysdeps/x86_64/strcasecmp_l.S: New file.
64875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64876 * sysdeps/x86_64/locale-defines.sym: New file.
64877 * string/test-strcasecmp.c: New file.
64878
64879 * string/test-strcasestr.c: Test both ends of the range of characters.
64880 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64881
64882 2010-07-29 Roland McGrath <roland@redhat.com>
64883
64884 [BZ #11856]
64885 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64886
64887 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64888
64889 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64890 for ld.so.
64891
64892 2010-07-27 Andreas Schwab <schwab@redhat.com>
64893
64894 * manual/memory.texi (Malloc Tunable Parameters): Document
64895 M_PERTURB.
64896
64897 2010-07-26 Roland McGrath <roland@redhat.com>
64898
64899 [BZ #11840]
64900 * configure.in (-fgnu89-inline check): Set and substitute
64901 gnu89_inline, not libc_cv_gnu89_inline.
64902 * configure: Regenerated.
64903 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64904
64905 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64906
64907 * string/test-strnlen.c: New file.
64908 * string/Makefile (strop-tests): Add strnlen.
64909 * string/tester.c (test_strnlen): Add a few more test cases.
64910 * string/tst-strlen.c: Better error reporting.
64911
64912 * sysdeps/x86_64/strnlen.S: New file.
64913
64914 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64915
64916 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64917 lower-latency instructions.
64918
64919 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64920
64921 * string/test-strcasestr.c: New file.
64922 * string/test-strstr.c: New file.
64923 * string/Makefile (strop-tests): Add strstr and strcasestr.
64924 * string/str-two-way.h: Don't undefine MAX.
64925 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64926
64927 2010-07-21 Andreas Schwab <schwab@redhat.com>
64928
64929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64930 strcasestr-nonascii.
64931 (CFLAGS-strcasestr-nonascii.c): Define.
64932 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64934 Remove unused attribute.
64935
64936 2010-07-20 Roland McGrath <roland@redhat.com>
64937
64938 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64939 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64940 ld.so.cache was broken. With it, there is no way to disable dsocaps
64941 like LD_HWCAP_MASK can disable hwcaps.
64942
64943 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64944
64945 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64946
64947 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64948
64949 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64950 call in strcasestr.
64951 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64952 __strcasestr_sse42_nonascii.
64953 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64954 strcasestr-nonascii.c.
64955 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64956
64957 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64958
64959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64960 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64962 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64963
64964 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64965
64966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64967 fcntl.
64968
64969 2010-07-06 Andreas Schwab <schwab@redhat.com>
64970
64971 [BZ #11577]
64972 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64973 dl_signal_cerror.
64974
64975 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64976
64977 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64978 _PC_PIPE_BUF using F_GETPIPE_SZ.
64979
64980 2010-07-05 Roland McGrath <roland@redhat.com>
64981
64982 * manual/arith.texi (Rounding Functions): Fix rint description
64983 implicit in round description.
64984
64985 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64986
64987 * elf/Makefile: Fix linking for a few tests to make recent linker
64988 happy.
64989
64990 2010-06-30 Andreas Schwab <schwab@redhat.com>
64991
64992 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64993 $(common-objpfx)libc_nonshared.a.
64994
64995 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64996
64997 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64998 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64999 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65000 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65001 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65002 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65003 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65004 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65019 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65020 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65021 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65022 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65023 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65024 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65025 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65026 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65027 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65028 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65029 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65030 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65045
65046 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65047
65048 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65049 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65050 * string/memmove.c (memmove): Renamed to ...
65051 (MEMMOVE): ...this. Default to memmove.
65052 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65053 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65054 (END_CHK): Define.
65055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65056 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65057 mempcpy-ssse3-back memmove-ssse3-back.
65058 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65061 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65062 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65063 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65064 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65065 * sysdeps/x86_64/multiarch/memmove.c: New file.
65066 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65067 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65068 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65069 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65070 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65072 Define.
65073 (index_Fast_Copy_Backward): Define.
65074 (HAS_ARCH_FEATURE): Define.
65075 (HAS_FAST_REP_STRING): Define.
65076 (HAS_FAST_COPY_BACKWARD): Define.
65077
65078 2010-06-21 Andreas Schwab <schwab@redhat.com>
65079
65080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65081 Restore proper fallback handling.
65082
65083 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65084
65085 [BZ #11701]
65086 * posix/group_member.c (__group_member): Correct checking loop.
65087
65088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65089 OOM in getpwuid_r correctly. Return error number when the caller
65090 should return, otherwise -1.
65091 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65092 call returning > 0 value.
65093 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65094
65095 2010-06-07 Andreas Schwab <schwab@redhat.com>
65096
65097 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65098 libc_nonshared.a from targets in modules-names.
65099
65100 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65101
65102 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65103 requires it.
65104
65105 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65106
65107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65111
65112 2010-06-02 Andreas Schwab <schwab@redhat.com>
65113
65114 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65115
65116 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65117
65118 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65119 and F_GETPIPE_SZ.
65120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65126
65127 2010-06-14 Roland McGrath <roland@redhat.com>
65128
65129 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65130
65131 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65132
65133 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65134 __REDIRECT followed by __THROW.
65135 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65136 * posix/getopt.h (getopt): Likewise.
65137
65138 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65139
65140 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65141 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65142 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65143 in AT_FLAGS.
65144 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65145 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65146
65147 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65148
65149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65150
65151 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65152
65153 [BZ #11640]
65154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65155 Properly check family and model.
65156
65157 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65158
65159 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65160
65161 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65162
65163 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65164
65165 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65166
65167 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65168 symbol reference.
65169
65170 2010-05-19 Andreas Schwab <schwab@redhat.com>
65171
65172 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65173 symbol reference.
65174
65175 2010-05-21 Andreas Schwab <schwab@redhat.com>
65176
65177 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65178 and internal_recvmmsg.
65179 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65180 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65181 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65182 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65183
65184 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65185 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65186 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65187
65188 2010-05-20 Andreas Schwab <schwab@redhat.com>
65189
65190 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65191
65192 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65193
65194 POWER7 optimizations.
65195 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65196 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65197
65198 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65199
65200 * version.h: Update for 2.13 development version.
65201
65202 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65203
65204 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65205 exceptions. Return 0.
65206
65207 2010-05-07 Roland McGrath <roland@redhat.com>
65208
65209 * elf/ldconfig.c (main): Add a const.
65210
65211 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65212
65213 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65214 (args_options): Add no-idn option.
65215 (ahosts_keys_int): Add idn_flags to ai_flags.
65216 (parse_option): Handle 'i' option to clear idn_flags.
65217
65218 * malloc/malloc.c (_int_free): Possible race in the most recently
65219 added check. Only act on the data if no current modification
65220 happened.
65221
65222 See ChangeLog.17 for earlier changes.